当前位置:网站首页>金仓数据库 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的属性和值。 |
边栏推荐
- Your driver settings have been set to force 4x antialiasing in OpenGL applications
- keep-alive
- [image fusion] image fusion based on morphological analysis and sparse representation with matlab code
- Google Earth engine (GEE) - evaluate enables one click batch download of all single images in the research area (some areas in Shanghai)
- Multiple environment variables
- [today in history] June 24: Netease was established; The first consumer electronics exhibition was held; The first webcast in the world
- Daily 3 questions (3) - check whether integers and their multiples exist
- How to install SSL certificates in Microsoft Exchange 2010
- 一文了解Prometheus
- Performance memory
猜你喜欢
Software testing to avoid being dismissed during the probation period
報名開啟|飛槳黑客馬拉松第三期如約而至,久等啦
OpenCV学习(一)---环境搭建
zabbix分布式系统监控
1-7snapshots and clones in VMWare
看完这篇 教你玩转渗透测试靶机Vulnhub——DriftingBlues-7
[RPC] i/o model - Rector mode of bio, NiO, AIO and NiO
Previous string inversion topic
【文件包含漏洞-04】经典面试题:已知某网站仅存在本地文件包含漏洞时,如何GetShell?
Use of Siemens plcs7-200 (I) -- Introduction to development environment and configuration software
随机推荐
开源社邀请您参加OpenSSF开源安全线上研讨会
报名开启|飞桨黑客马拉松第三期如约而至,久等啦
SystemVerilog(十三)-枚举数据类型
Use of three-level linkage plug-ins selected by provinces and cities
CSRF攻击
Google Earth Engine(GEE)——evaluate實現一鍵批量下載研究區內的所有單張影像(上海市部分區域)
Advanced single chip microcomputer -- development of PCB (2)
16 enterprise architecture strategies
Network protocol learning -- lldp protocol learning
Oracle query comes with JDK version
无心剑中译伊玛·拉扎罗斯《新巨人·自由女神》
New school: no fraud Economics
XSS attack
Houdini graphic notes: could not create OpenCL device of type (houdini_ocl_devicetype) problem solving
Simple use of SVN
Network remote access using raspberry pie
報名開啟|飛槳黑客馬拉松第三期如約而至,久等啦
NETCORE performance troubleshooting
Flask blog practice - realize the latest articles and search in the sidebar
每日3題(3)-檢查整數及其兩倍數是否存在