syscompdicts_full

syscompdicts_full 表和 syscompdicts 视图提供了所有压缩字典的信息。该表和视图的唯一区别是,出于安全性的目的,视图不包含 dict_dictionary 列。

只有用户 gbasedbt 可以检索 syscompdicts_full 表的信息。syscompdicts 视图没有限制用户 gbasedbt

下表显示了 syscompdicts_full 表和 syscompdicts 视图为每个压缩字典提供的信息。

表 1. 压缩字典信息
类型 描述
dict_partnum integer 压缩字典所适用的分区号
dict_code_version integer 创建压缩字典代码的版本

1 是一个版本

dict_dbsnum integer 字典中驻留的 dbspace 的数目
dict_create_timestamp integer 时间戳显示字典被创建的时间
dict_create_loguniqid integer 字典被创建时已激活的逻辑日志的唯一 ID
dict_create_logpos integer 字典被创建时在逻辑日志中的位置
dict_drop_timestamp integer 时间戳显示字典被删除的时间
dict_drop_loguniqid integer 字典被删除时已激活的逻辑日志的唯一 ID
dict_drop_logpos integer 字典被删除时在逻辑日志中的位置
dict_dictionary byte 压缩字典的二进制对象

syscompdicts 视图中没有该列

syscompdicts 信息样本

syscompdicts 视图的一列包含的信息如下所示:

dict_partnum        1048939
dict_code_version   1
dict_dbsnum         1
dict_create_times+  1231357656
dict_create_logun+  11
dict_create_logpos  1695768
dict_drop_timesta+  0
dict_drop_loguniq+  0
dict_drop_logpos    0
使用 UNLOAD 语句可将该压缩字典导出到一个压缩字典文件中,该语句示例如下:
UNLOAD TO 'compression_dictionary_file'
        SELECT * FROM sysmaster:syscompdicts_full;