当前位置:网站首页>金仓数据库 KingbaseES 插件dbms_session
金仓数据库 KingbaseES 插件dbms_session
2022-06-25 10:45:00 【沉舟侧畔千帆过_】
1. dbms_session介绍
dbms_session系统包可以用来访问或者设置会话信息。定义了对于session的一套操作。
使用前需创建扩展dbms_session。
2. 使用
在使用 dbms_session 之前,需要将他添加到 kingbase.conf 文件的 shared_preload_libraries 中,并重启 KingbaseES 数据库。
shared_preload_libraries = 'dbms_session'
使用时需要create extension dbms_session。
不需要使用时drop extension dbms_session即可。
3. DBMS_SESSION系统包子程序
DBMS_SESSION系统包包含的子程序及简介如下表所示:
表 1 DBMS_SESSION 包子程序[td]
| 子程序 | 简介 |
CLEAR_ALL_CONTEXT 过程 | 清理当前会话的指定namespace的所有上下文。 |
CLEAR_CONTEXT 过程 | 清除namespace中的attribute值。 |
LIST_CONTEXT 过程 | 返回当前会话所有上下文属性和值。 |
SET_CONTEXT 过程 | 设置上下文 namespace的属性和值。 |
边栏推荐
- Shardingsphere proxy 5.0 sub database and sub table (I)
- 【系统分析师之路】第六章 复盘需求工程(综合知识概念)
- Application of global route guard
- Ouverture de l'inscription | le troisième marathon des hackers de pagaie est arrivé comme prévu.
- 我的作文题目是——《我的区长父亲》
- Software testing to avoid being dismissed during the probation period
- Advanced single chip microcomputer -- development of PCB (2)
- CDN+COS搭建图床超详细步骤
- Opencv learning (I) -- environment building
- Is it safe for Guosen Securities to open a securities account
猜你喜欢

戴尔科技演绎“快”字诀,玩转CI/CD
![[image fusion] image fusion based on morphological analysis and sparse representation with matlab code](/img/ae/027fc1a3ce40b35090531370022c92.png)
[image fusion] image fusion based on morphological analysis and sparse representation with matlab code

单片机开发---基于ESP32-CAM的人脸识别应用

How to install SSL certificates in Microsoft Exchange 2010
![[200 opencv routines] 210 Are there so many holes in drawing a straight line?](/img/1e/5b8245eb1c391649c7b2783c62c2b0.png)
[200 opencv routines] 210 Are there so many holes in drawing a straight line?

垃圾回收机制

Your driver settings have been set to force 4x antialiasing in OpenGL applications

zabbix分布式系统监控

中国信通院沈滢:字体开源协议——OFL V1.1介绍及合规要点分析

SystemVerilog(十三)-枚举数据类型
随机推荐
Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software
Get to know Prometheus
单片机开发---基于ESP32-CAM的人脸识别应用
XSS attack
Yolov5 changing the upper sampling mode
On binary tree
视频会议一体机的技术实践和发展趋势
CSRF attack
垃圾回收机制
Cdn+cos ultra detailed steps for drawing bed construction
Task03 probability theory
[paper reading | deep reading] line: large scale information network embedding
Is it safe to open a securities account in changtou school by mobile phone?
有关计网的五种类型题
Your driver settings have been set to force 4x antialiasing in OpenGL applications
Floating window --- create a system floating window (can be dragged)
网络协议学习---LLDP协议学习
ZABBIX distributed system monitoring
TASK03|概率论
SystemVerilog(十三)-枚举数据类型