syschunks
The syschunks table contains a description of each of the chunks that the database server manages.
In the flags and mflags columns, each bit
position represents a separate flag. Thus, it might be easier to read
values in the flags and mflags columns if the values
are returned by the HEX function.
| Column | Type | Description |
|---|---|---|
| chknum | smallint | Chunk number |
| dbsnum | smallint | Dbspace number |
| nxchknum | smallint | Number of the next chunk in this dbspace |
| chksize | integer | Number of pages in this chunk (in units of system default page size) |
| offset | integer | Page offset of the chunk in its device or path |
| pagesize | integer | Page size (in bytes) |
| nfree | integer | Number
of free pages in the chunk The amount of free space depends on the type of space:
|
| is_offline | integer | 1 = chunk is offline 0 = chunk is online |
| is_recovering | integer | 1 = the chunk is being recovered 0 = the chunk is not being recovered |
| is_blobchunk | integer | 1 = the chunk is in a blobspace 0 = the chunk is not in a blobspace |
| is_sbchunk | integer | 1 = the chunk is an sbspace 0 = the chunk is not in an sbspace |
| is_inconsistent | integer | 1 = the chunk is undergoing logical restore 0 = the chunk is not being restored |
| is_extendable | integer | 1
= the chunk is extendable 0 = the chunk is not extendable |
| flags | smallint | The flags have the following numeric and hexadecimal
values and meanings:
|
| fname | char(256) | Path name for the file or device of this chunk |
| mdsize | integer | Size in pages of the metadata area of a chunk
that belongs to an sbspace. -1 = the chunk does not belong to an sbspace. |
| mfname | char(256) | Path name for the file or device of the mirrored chunk, if any |
| moffset | integer | Page offset of the mirrored chunk |
| mis_offline | integer | 1 = mirror is offline 0 = mirror is online |
| mis_recovering | integer | 1 = mirror is being recovered 0 = mirror is not being recovered |
| mflags | smallint | Mirrored chunk flags; values and meanings are the same as the flags column. |
| udfree | integer | Free space in pages within the user data area
of a chunk that belongs to an sbspace. -1 = the chunk does not belong to an sbspace. |
| udsize | integer | Size in pages of the user data area of a chunk
that belongs to an sbspace. -1 = the chunk does not belong to an sbspace. |