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
How to Use the Psychology of a Market Cycle to Your Benefit
Performance Assessment: A Deep Dive into Definition, Benefits, and Best Practices
MyChart - Baptist Health
Provodac: Unveiling the advanced-technology - Business Caution
Whispering Oaks In Battle Creek Michigan
Whiskeytown Camera
„10 Jahre 9 Plätze – 9 Schätze“: Die Finalisten 2023 stehen fest - der.ORF.at
Adan4Adam Com
Retroarch Bios Pack Steam Deck
M Life Insider
Margaret Whitton Feet
0 Belflower Road, Unit 2, Tifton, GA 31794 | Compass
Georgina Rodriguez Opium
Milesplit Com Colorado
Shaken or Stirred? How to Mix Any co*cktail the Right Way
Best Restaurants Ventnor
Tulsa police probe Craigslist posting bragging of "first kill"
Howmet Upoint Login
Keeper of the Lost Cities Bücher in der richtigen Reihenfolge
Lamoille County Court Schedule
90 Days From February 28
Home Depot Shopping On Line
Fefe Leak
Sandals Travel Agent Login
Summit University Ceu 360
Cregslistlist
Un mal comienzo - Meghan Quinn
Www Craigslist Com Kansas Wichita
Android için OGWhatsApp Apk v19.41.1'i İndirin (En Son)
Wicked Local Plymouth Police Log 2022
Steelweb Usw
Pcc Skilled Nursing Login
UTVs (Side by Sides) for Sale on NLC | NL Classifieds
Ascension St John Tulsa Patient Portal
South Coast Plaza: A Can’t Miss California Shopping Destination
Signet Jewelers Readies For Rebound In Bridal Business With New Customer Engagement Strategies
Traktorenlexikon: Fendt Favorit 600 LS – Wikibooks, Sammlung freier Lehr-, Sach- und Fachbücher
Raneka and Asonta: Are the Love After Lockup Stars Still Romantically Involved?
Liberty Taxi Plainfield Nj
Craigslist In Killeen Tx
Dead Space Remake: How to Unlock Every Suit
Gtl Visit Me Alameda
Places 1 Hour Away From Me
Evansville Craigslist Com
Johnny's Bar & Grill Wesley Menu
Ucsd Sfs
Rubios Listens Com
Just Busted Memphis Tn 2023
Vidant My Chart Login
Gigamonster Outage
Order Online (NOVI ONLY) | OSushi Restaurant
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.