返回首页

gbase数据、南大通用产品文档:GBase8a| 1721688314 |

更新日期:2024年09月11日

---------------------------------------------
| primary
|
1
|
2
|
| segments |
|
|
---------------------------------------------
|duplicate |
2
|
1
|
|segments 1|
|
|

GBase 8a MPP Cluster 产品手册
4 管理员指南
文档版本953(2022-09-15)
南大通用数据技术股份有限公司
347
=============================================
Distribution ID: 3 | State: old | Total segment num: 2
====================================================
|
nodes
|


GBase 8s 管理员参考
南大通用数据技术股份有限公司 - 718 -

跟踪访问时间的 sbspace(SQL 管理 API)
随同 admin() 或 task() 函数,使用 create sbspace with accesstime 参数来创建
sbspace,对存储在该 sbspace 中的所有智能大对象跟踪访问的时间。
语法

元素
描述
关键考虑
initial_chunk_size
新 sbspace 的初始 chunk 的大小,以
KB 为单位。
请参阅 admin() 和
task() 参数大小规范。
offset
磁盘分区内或设备内达到新 sbspace 的
初始 chunk 的偏移量,以 KB 为单位。

path_name
该 sbspace 的初始 chunk 的磁盘分区
或无缓冲的设备。

sbspace
要创建的 sbspace 名。


用法
使用 create with_check sbspace 参数来检查指定的路径名,如果路径不存在,则返回错
误。
这个函数等同于 onspaces -c -S 命令创建 sbspace,且随同 admin() 或 task() 函数,
使用 set sbspace accesstime 参数来启动对存储在该 sbspace 中的所有智能大对象跟踪
访问的时间。
示例
下列示例创建跟踪访问时间的新 sbspace。这个 sbspace 的大小为 20 MB,偏移量为 0:

EXECUTE FUNCTION task ("create sbspace with accesstime","sbspace4",
"$GBS_DATA/WORK/sbspace4","20 M","0");

klist 为GBase 8c 认证服务Kerberos 提供列出凭证缓存中的用户和票据能力。