↑↓ select↵ open⌫ change scopeOpen full search

PG.CENTER connects PostgreSQL documentation, reference, and ecosystem knowledge. Maintained by Pigsty.

Wiki / Configuration Parameters

huge_page_size

Controls the size of huge pages, when they are enabled with huge_pages. The default is zero (0). When set to 0, the default huge page size on the system will be used. This parameter can only be set at server start. Some commonly available page sizes on modern 64 bit server architectures include: 2MB and 1GB (Intel and AMD), 16MB and 16GB (IBM POWER), and 64kB, 2MB, 32MB and 1GB (ARM). For more information about usage and support, see Section 18.4.5. Non-default settings are currently supported only on Linux.

English manual coverage begins with PostgreSQL 7.4. Source history and runtime observations have their own recorded version boundaries.

Reading PG 18·Select a recorded version

boot val
0
category
Resource Usage / Memory
context
postmaster
documented
true
enumvals
Unknown
extra desc
0 means use the system default.
lang
en
max val
2147483647
metadata version
18
min val
0
name
huge_page_size
short desc
The size of huge page that should be requested.
source
pg-settings-source-snapshot
unit
kB
vartype
integer

Definition PG 18

Controls the size of huge pages, when they are enabled with huge_pages. The default is zero (0). When set to 0, the default huge page size on the system will be used. This parameter can only be set at server start. Some commonly available page sizes on modern 64 bit server architectures include: 2MB and 1GB (Intel and AMD), 16MB and 16GB (IBM POWER), and 64kB, 2MB, 32MB and 1GB (ARM). For more information about usage and support, see Section 18.4.5. Non-default settings are currently supported only on Linux.

Compare versions

Source references

Full definition and evidence JSON

Definition sources

center · PostgreSQL 18 · wiki-repair-20261023:e20c742ca02956a468c85c438d11af19c214c73a9be56e96aa6eb70c9b14a611

Text language: en · wiki-repair-20261023:e20c742ca02956a468c85c438d11af19c214c73a9be56e96aa6eb70c9b14a611