惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

V
V2EX
P
Proofpoint News Feed
D
DataBreaches.Net
C
Check Point Blog
L
LangChain Blog
量子位
美团技术团队
Vercel News
Vercel News
人人都是产品经理
人人都是产品经理
N
Netflix TechBlog - Medium
V
Visual Studio Blog
Microsoft Security Blog
Microsoft Security Blog
博客园 - 【当耐特】
MongoDB | Blog
MongoDB | Blog
Cyber Security Advisories - MS-ISAC
Cyber Security Advisories - MS-ISAC
freeCodeCamp Programming Tutorials: Python, JavaScript, Git & More
Last Week in AI
Last Week in AI
The GitHub Blog
The GitHub Blog
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
U
Unit 42
腾讯CDC
M
MIT News - Artificial intelligence
Microsoft Azure Blog
Microsoft Azure Blog
Blog — PlanetScale
Blog — PlanetScale

博客园 - 我爱写sql

不经保存,直接读取上传文件的内容 - 我爱写sql - 博客园 server2005系统表知多少 之sysusers server2005系统表知多少 之systypes server2005系统表知多少 之syspermissions server2005系统表知多少 之sysobjects server2005系统表知多少 之sysmembers server2005系统表知多少 之sysfiles server2005系统表知多少 之sysforeignkeys server2005系统表知多少 之sysfilegroups server2005系统表知多少 之sysconstraints server2005系统表知多少 之syscolumns server2005系统表知多少 之sysprocesses server2005系统表知多少 之sysremotelogins server2005系统表知多少 之sysoledbusers server2005系统表知多少 之syslogins server2005系统表知多少 之syslanguages server2005系统表知多少 之sysdatabases server2005系统表知多少 之sysconfigures server2005系统表知多少 之syscharsets
server2005系统表知多少 之sysindexes
我爱写sql · 2007-11-26 · via 博客园 - 我爱写sql

数据库中的每个索引和表在表中各占一行。该表存储在每个数据库中。

列名 数据类型 描述
id  int  表 ID(如果 indid = 0 或 255)。否则为索引所属表的 ID。
status  int  内部系统状态信息。
first  binary(6)  指向第一页或根页的指针。
indid  smallint  索引 ID:
1 = 聚集索引
>1 = 非聚集
255 = 具有 text 或 image 数据的表条目
 
root  binary(6)  如果 indid >= 1 和 < 255, root 是指向根页的指针。如果 indid = 0 或 indid = 255, root 是指向最后一页的指针。 
minlen  smallint  最小行大小。
keycnt  smallint  键的数目。
groupid  smallint  在其上创建对象的文件组 ID。
dpages  int  如果 indid = 0 或 indid = 1, dpages 是已用数据页的计数。如果 indid = 255,其设置为 0。否则是已用索引页的计数。
reserved  int  如果 indid = 0 或 indid = 1, reserved 是分配给所有索引和表数据的页计数。如果 indid = 255, reserved 是分配给 text 或 image 数据的页计数。否则是分配给索引的页计数。

used  int  如果 indid = 0 或 indid = 1, used 是用于所有索引和表数据的总页数。如果 indid = 255, used 是用于 text 或 image 数据的页计数。否则是用于索引的页计数。
rowcnt  bigint  基于 indid = 0 和 indid = 1 的数据级行计数。如果 indid = 255, rowcnt 设置为 0。
rowmodctr  int  对自上次更新表的统计后插入、删除或更新行的总数进行计数。
xmaxlen  smallint  最大行大小。
maxirow  smallint  最大非叶索引行大小。
OrigFillFactor  tinyint  创建索引时使用的起始填充因子值。不保留该值;然而,如果需要重新创建索引但记不住当初使用的填充因子,则该值可能很有帮助。
reserved1  tinyint  保留。
reserved2  int  保留。
FirstIAM  binary(6)  保留。
impid  smallint  保留。索引实现标志。
lockflags  smallint  用于约束经过考虑的索引锁粒度。例如,对于本质上是只读的查找表,可以将其设置为仅进行表级锁定以使锁定成本减到最小。
pgmodctr  int  保留。
keys  varbinary(816)  组成索引键的列 ID 列表。
name  sysname  表名(如果 indid = 0 或 255)。否则为索引的名称。
statblob  image  统计 BLOB。
maxlen  int  保留。
rows  int  基于 indid = 0 和 indid = 1的数据级行数,该值对于 indid >1 重复。如果 indid = 255, rows 设置为 0。提供该列是为了向后兼容。