All databases
sysindexes contains one row for each clustered index, one row for each nonclustered index, one row for each table that has no clustered index, and one row for each table that contains text or image columns.This table also contains one row for each function-based index or index created on a computed column.
The columns for sysindexes are:
Name |
Datatype |
Description |
---|---|---|
name |
varchar(255) null |
Index or table name. |
id |
int |
ID of an index, or ID of table to which index belongs. |
indid |
smallint |
|
doampg |
int |
Obsolete |
ioampg |
int |
Obsolete |
oampgtrips |
int |
Number of times OAM pages cycle in the cache without being reused, before being flushed |
status3 |
smallint |
Internal system status information. |
status2 |
smallint |
Internal system status information (see Table 1-12) |
ipgtrips |
int |
Number of times index pages cycle in the cache, without being reused, before being flushed |
first |
int |
Obsolete |
root |
int |
Obsolete |
distribution |
int |
Unused. Formerly used to store the page number of the distribution page for an index. |
usagecnt |
smallint |
Reserved |
segment |
smallint |
Number of segment in which object resides |
status |
smallint |
Internal system status information (see Table 1-12) |
maxrowsperpage |
smallint |
Maximum number of rows per page |
minlen |
smallint |
Minimum size of a row |
maxlen |
smallint |
Maximum size of a row |
maxirow |
smallint |
Maximum size of a non-leaf index row |
keycnt |
smallint |
Number of keys for a clustered index on an allpages-locked table; number of keys, plus 1 for all other indexes |
keys1 |
varbinary(255) null |
Description of key columns if entry is an index |
keys2 |
varbinary(255) null |
Description of key columns if entry is an index |
soid |
tinyint |
Sort order ID with which the index was created; 0 if there is no character data in the keys |
csid |
tinyint |
Character set ID with which the index was created; 0 if there is no character data in the keys |
base_partition |
int null |
Obsolete |
fill_factor |
smallint null |
Value for the fillfactor of a table set with sp_chgattribute |
res_page_gap |
smallint null |
Value for the reservepagegap on a table |
exp_rowsize |
smallint null |
Expected size of data rows |
keys3 |
varbinary(255) null |
Description of key columns if entry is an index |
identitygap |
int null |
Identity gap for a table |
crdate |
datetime null |
Creation date |
partitiontype |
smallint null |
|
conditionid |
int null |
ID of the partition condition. Null if partitiontype is round-robin or hash |
Table 1-11 lists the bit representations for the status column.
Table 1-12 lists the bit representations for the status2 column.
Unique clustered index on id, indid
Copyright © 2005. Sybase Inc. All rights reserved. |