您好,我是小DAI,专注于数据库管理员相关的技术问答,请问有什么可以帮您?

sysstatistics

说明

用户表上的每个索引列和每个分区在 sysstatistics 中都有相应的一行或多行。 未索引的列在其中也可能有相应的行。

名称 数据类型 说明
statid smallint 保留
id int 表的对象 ID
sequence int 序列号(如果这组统计信息需要多行)
moddate datetime 上次修改该行的日期
formatid tinyint 该行代表的统计信息类型
usedcount tinyint 在该行中使用的字段 c0 到 c79 的个数
colidarray varbinary(100) 列 ID 的有序列表
c0...c79 varbinary(255) 统计数据
indid smallint 分区的索引 ID
ststatus smallint 此统计信息行的状态位;根据行的类型的不同,可能的值会有所不同。
partitionid int 分区 ID (Partition ID)
spare2 smallint 留作将来使用
spare3 int 留作将来使用

索引

  • id、indid、partitionid、statid、colidarray、formatid、 sequence 上的唯一聚簇索引