segment_size

A preset configuration parameter reporting the number of blocks that can be stored in a file segment

segment_size is a preset configuration parameter reporting the number of blocks (pages) that can be stored within a file segment.

segment_size was added in PostgreSQL 8.4.

Default value

The default value for segment_size is: 1GB.

A different value may have been set with the --with-segsize option at at compile time.

segment_size cannot be modified.

Change history

Categories

GUC configuration item, Preset configuration item, Storage

See also

block_size, wal_segment_size, wal_block_size