use_large_pages
Whether the SGA uses Linux HugePages.
- 기본값
TRUE- Range
- TRUE, FALSE, ONLY, AUTO, AUTO_ONLY
- Restart needed
- 예
- Default checked on
- Oracle AI Database 26ai / 23ai
기능
TRUE uses huge pages when available and falls back otherwise; ONLY refuses to start without enough of them; AUTO and AUTO_ONLY let Oracle configure them through the OS.
기본값
TRUE. TRUE (Oracle 23ai/26ai). Linux only.
Check the current value
SHOW PARAMETER use_large_pages SELECT name, value, isdefault, issys_modifiable, isses_modifiable, ispdb_modifiable FROM v$parameter WHERE name = 'use_large_pages';
Change it
ALTER SYSTEM SET use_large_pages = ONLY SCOPE=SPFILE; -- then SHUTDOWN IMMEDIATE and STARTUP
Restart required: the parameter is static (ISSYS_MODIFIABLE = FALSE), so only SCOPE=SPFILE is accepted and the value applies at the next startup. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.
When to change it
Set ONLY on production Linux once vm.nr_hugepages covers the SGA, so a misconfiguration stops startup instead of silently using 4KB pages.
What can go wrong
ONLY fails startup if HugePages are short. AMM (memory_target) cannot use huge pages at all.
Questions about use_large_pages
What is the default value of use_large_pages in Oracle?
TRUE. TRUE (Oracle 23ai/26ai). Linux only.
Does changing use_large_pages require a restart?
Yes. Restart required: the parameter is static (ISSYS_MODIFIABLE = FALSE), so only SCOPE=SPFILE is accepted and the value applies at the next startup. It is instance-wide: set it from CDB$ROOT, because a PDB gets ORA-65040.
When should I change use_large_pages?
Set ONLY on production Linux once vm.nr_hugepages covers the SGA, so a misconfiguration stops startup instead of silently using 4KB pages.
Back to all Oracle settings, or check the Oracle manual for every option.
Check use_large_pages on your own server
SQLly runs the query above against Oracle and the other engines in this reference, from one desktop app on macOS, Windows and Linux.