当前位置:网站首页>金仓数据库 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的属性和值。 |
边栏推荐
- Shen Ying, China Academy of communications and communications: font open source protocol -- Introduction to ofl v1.1 and analysis of key points of compliance
- 国信证券证券账户开户安全吗
- Simple use of SVN
- 手机办理广州证券开户靠谱安全吗?
- 【文件包含漏洞-03】文件包含漏洞的六种利用方式
- FPGA基于VGA显示字符及图片
- 一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
- This is enough for request & response
- 性能之网络篇
- A five-year technical Er, based on the real experience of these years, gives some suggestions to the fresh students
猜你喜欢

Android之Kotlin语法详解与使用

看完这篇 教你玩转渗透测试靶机Vulnhub——DriftingBlues-7

XSS attack

ZABBIX distributed system monitoring

Chinese translation of IMA Lazarus' the new giant, the goddess of Liberty

Shen Ying, China Academy of communications and communications: font open source protocol -- Introduction to ofl v1.1 and analysis of key points of compliance

CSRF attack

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

OpenCV学习(一)---环境搭建

今天16:00 | 中科院计算所研究员孙晓明老师带大家走进量子的世界
随机推荐
性能之文件系统篇
16 种企业架构策略
Daily 3 questions (3) - check whether integers and their multiples exist
一个五年北漂的技术er,根据这些年的真实经历,给应届生的一些建议
FPGA基于VGA显示字符及图片
新学派:不诈骗经济学
网络协议学习---LLDP协议学习
XSS攻击
服务端渲染
Handling of NPM I installation problems
Kotlin implements a simple login page
数组结构整理
16 enterprise architecture strategies
Dell technology performs the "fast" formula and plays ci/cd
性能之网络篇
手机办理广州证券开户靠谱安全吗?
CSRF攻击
Get to know Prometheus
炒股票开户的话,手机开户安全吗?有谁知道啊?
【文件包含漏洞-04】经典面试题:已知某网站仅存在本地文件包含漏洞时,如何GetShell?