__gp_aocsseg(regclass)
This function returns metadata information contained in a column-oriented append-optimized table's on-disk segment file, excluding non-visible rows. Each row describes a segment for a column in the table.
The input argument is the name or the OID of a column-oriented append-optimized table.
| Column | Description |
|---|---|
gp_tid |
The ID of the tuple |
segno |
The segment number |
column_num |
The column number |
physical_segno |
The number of the segment in the segment file |
tupcount |
The number of rows in the segment, excluding hidden tuples |
eof |
The effective end of file for the segment |
eof_uncompressed |
The end of file for the segment if the data were uncompressed |
modcount |
A count of data modification operations for the segment |
formatversion |
The storage format version of the append-only segment file |
state |
The status of the segment |