Appendix K. PostgreSQL Limits (2024)

AppendixK.PostgreSQL Limits
Prev Up PartVIII.Appendixes Home Next

TableK.1 describes various hard limits of PostgreSQL. However, practical limits, such as performance limitations or available disk space may apply before absolute hard limits are reached.

TableK.1.PostgreSQL Limitations

Item Upper Limit Comment
database size unlimited
number of databases 4,294,950,911
relations per database 1,431,650,303
relation size 32 TB with the default BLCKSZ of 8192 bytes
rows per table limited by the number of tuples that can fit onto 4,294,967,295 pages
columns per table 1,600 further limited by tuple size fitting on a single page; see note below
columns in a result set 1,664
field size 1 GB
indexes per table unlimited constrained by maximum relations per database
columns per index 32 can be increased by recompiling PostgreSQL
partition keys 32 can be increased by recompiling PostgreSQL
identifier length 63 bytes can be increased by recompiling PostgreSQL
function arguments 100 can be increased by recompiling PostgreSQL
query parameters 65,535

The maximum number of columns for a table is further reduced as the tuple being stored must fit in a single 8192-byte heap page. For example, excluding the tuple header, a tuple made up of 1,600 int columns would consume 6400 bytes and could be stored in a heap page, but a tuple of 1,600 bigint columns would consume 12800 bytes and would therefore not fit inside a heap page. Variable-length fields of types such as text, varchar, and char can have their values stored out of line in the table's TOAST table when the values are large enough to require it. Only an 18-byte pointer must remain inside the tuple in the table's heap. For shorter length variable-length fields, either a 4-byte or 1-byte field header is used and the value is stored inside the heap tuple.

Columns that have been dropped from the table also contribute to the maximum column limit. Moreover, although the dropped column values for newly created tuples are internally marked as null in the tuple's null bitmap, the null bitmap also occupies space.

Prev Up Next
J.6.Style Guide Home AppendixL.Acronyms
Appendix K. PostgreSQL Limits (2024)
Top Articles
Should You Help Your Parents With Money Matters? - Due
The Cause of the Great Depression: The Decision to Resume the Gold Standard on Prewar Terms | Sandeep Mazumder, John H. Wood
Skycurve Replacement Mat
Euro (EUR), aktuální kurzy měn
Ds Cuts Saugus
Nc Maxpreps
Tiger Island Hunting Club
World Cup Soccer Wiki
Midlife Crisis F95Zone
Gdp E124
E22 Ultipro Desktop Version
Craigslist Portland Oregon Motorcycles
Booknet.com Contract Marriage 2
Water Trends Inferno Pool Cleaner
Indiana Wesleyan Transcripts
MLB power rankings: Red-hot Chicago Cubs power into September, NL wild-card race
The Ultimate Guide to Extras Casting: Everything You Need to Know - MyCastingFile
Riherds Ky Scoreboard
Watch Your Lie in April English Sub/Dub online Free on HiAnime.to
Bellin Patient Portal
Chicago Based Pizza Chain Familiarly
Xxn Abbreviation List 2017 Pdf
WRMJ.COM
Gillette Craigslist
The Collective - Upscale Downtown Milwaukee Hair Salon
Jailfunds Send Message
Lcsc Skyward
Rs3 Bring Leela To The Tomb
Korg Forums :: View topic
Free Tiktok Likes Compara Smm
Sinai Sdn 2023
Uky Linkblue Login
Greater Orangeburg
Cheap Motorcycles Craigslist
The Pretty Kitty Tanglewood
Bimar Produkte Test & Vergleich 09/2024 » GUT bis SEHR GUT
Domina Scarlett Ct
Oxford Alabama Craigslist
Stafford Rotoworld
Publictributes
Henry Ford’s Greatest Achievements and Inventions - World History Edu
Newsweek Wordle
US-amerikanisches Fernsehen 2023 in Deutschland schauen
Natasha Tosini Bikini
Bonecrusher Upgrade Rs3
10 Bedroom Airbnb Kissimmee Fl
Tamilblasters.wu
Tweedehands camper te koop - camper occasion kopen
San Pedro Sula To Miami Google Flights
Heisenberg Breaking Bad Wiki
Latest Posts
Article information

Author: Annamae Dooley

Last Updated:

Views: 6103

Rating: 4.4 / 5 (65 voted)

Reviews: 88% of readers found this page helpful

Author information

Name: Annamae Dooley

Birthday: 2001-07-26

Address: 9687 Tambra Meadow, Bradleyhaven, TN 53219

Phone: +9316045904039

Job: Future Coordinator

Hobby: Archery, Couponing, Poi, Kite flying, Knitting, Rappelling, Baseball

Introduction: My name is Annamae Dooley, I am a witty, quaint, lovely, clever, rich, sparkling, powerful person who loves writing and wants to share my knowledge and understanding with you.