当前位置:网站首页>金仓数据库 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的属性和值。 |
边栏推荐
- Use of three-level linkage plug-ins selected by provinces and cities
- 今天16:00 | 中科院计算所研究员孙晓明老师带大家走进量子的世界
- ZABBIX distributed system monitoring
- Flask blog practice - archiving and labeling of sidebar articles
- 一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
- OODA working method
- 性能之内存篇
- Server rendering
- Google Earth Engine(GEE)——evaluate實現一鍵批量下載研究區內的所有單張影像(上海市部分區域)
- Application of global route guard
猜你喜欢

戴尔科技演绎“快”字诀,玩转CI/CD

Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software

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

On binary tree

Technical practice and development trend of video conference all in one machine

【文件包含漏洞-04】经典面试题:已知某网站仅存在本地文件包含漏洞时,如何GetShell?
![[paper reading | deep reading] line: large scale information network embedding](/img/83/a67e490603c81c1d8ad9302c922769.png)
[paper reading | deep reading] line: large scale information network embedding

FPGA displays characters and pictures based on VGA
![[file containing vulnerability-03] six ways to exploit file containing vulnerabilities](/img/4f/495c852eb0e634c58e576d911a2c14.png)
[file containing vulnerability-03] six ways to exploit file containing vulnerabilities

开源社邀请您参加OpenSSF开源安全线上研讨会
随机推荐
This is enough for request & response
性能之网络篇
数组结构整理
Android之Kotlin语法详解与使用
性能之文件系统篇
NuxtJS实战案例
开源社邀请您参加OpenSSF开源安全线上研讨会
Opencv learning (I) -- environment building
VW VH adaptation of mobile terminal
Application of global route guard
ZABBIX distributed system monitoring
OODA working method
Continuous delivery jenkinsfile syntax
Google Earth Engine(GEE)——evaluate实现一键批量下载研究区内的所有单张影像(上海市部分区域)
COSCon'22 讲师征集令
指南针在上面开股票账户安全吗?
Use of three-level linkage plug-ins selected by provinces and cities
The real difference between i++ and ++i
Kotlin implements a simple login page
[image fusion] image fusion based on morphological analysis and sparse representation with matlab code