GS_SEG_DATAFILES
GS_SEG_DATAFILES displays information about data files in all tablespaces. Only an administrator can query the information.
Name |
Type |
Description |
---|---|---|
node_name |
text |
Node name. |
file_name |
text |
Data file name, for example, base/17467/2_fsm. |
file_id |
integer |
Data file ID. Value range: an int4 value in the range [1,5]. |
bucketnode |
integer |
|
forknum |
integer |
Fork type of a segment object. Value range:
|
tablespace_name |
name |
Name of the tablespace to which a data file belongs. |
contents |
text |
Storage content of a data file. Value range:
|
extent_size |
integer |
Extent size of a data file. |
meta_blocks |
bigint |
Number of allocated metadata pages of a data file. |
data_blocks |
bigint |
Number of allocated data pages of a data file. |
total_blocks |
bigint |
Total number of physical pages in a data file. |
high_water_mark |
bigint |
High watermark of the number of pages used by a data file. |
utilization |
real |
Percentage of used blocks to the total number of blocks, that is, (data_blocks + meta_blocks)/total_blocks. |
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.