Sign Up

Sign Up to our social questions and Answers Engine to ask questions, answer people’s questions, and connect with other people.

Have an account? Sign In

Have an account? Sign In Now

Sign In

Login to our social questions & Answers Engine to ask questions answer people’s questions & connect with other people.

Sign Up Here

Forgot Password?

Don't have account, Sign Up Here

Forgot Password

Lost your password? Please enter your email address. You will receive a link and will create a new password via email.

Have an account? Sign In Now

You must login to ask a question.

Forgot Password?

Need An Account, Sign Up Here

Please briefly explain why you feel this question should be reported.

Please briefly explain why you feel this answer should be reported.

Please briefly explain why you feel this user should be reported.

Sign InSign Up

The Archive Base

The Archive Base Logo The Archive Base Logo

The Archive Base Navigation

  • SEARCH
  • Home
  • About Us
  • Blog
  • Contact Us
Search
Ask A Question

Mobile menu

Close
Ask a Question
  • Home
  • Add group
  • Groups page
  • Feed
  • User Profile
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Buy Points
  • Users
  • Help
  • Buy Theme
  • SEARCH
Home/ Questions/Q 8933883
In Process

The Archive Base Latest Questions

Editorial Team
  • 0
Editorial Team
Asked: June 15, 20262026-06-15T09:39:04+00:00 2026-06-15T09:39:04+00:00

Possible Duplicate: What is the maximum number of columns in a PostgreSQL select query

  • 0

Possible Duplicate:
What is the maximum number of columns in a PostgreSQL select query

I am going to start a new project which requires a large number of tables and columns , using postgres I just want to ask that is number of columns in creating postgres tables are limited , If yes then what would be the MAX value for number of columns in CREATE and SELECT statements?

  • 1 1 Answer
  • 0 Views
  • 0 Followers
  • 0
Share
  • Facebook
  • Report

Leave an answer
Cancel reply

You must login to add an answer.

Forgot Password?

Need An Account, Sign Up Here

1 Answer

  • Voted
  • Oldest
  • Recent
  • Random
  1. Editorial Team
    Editorial Team
    2026-06-15T09:39:05+00:00Added an answer on June 15, 2026 at 9:39 am

    Since Postgres 12, the official list of limitations can be found in the manual:

    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       1600                    further limited by tuple size fitting on a single page; see note below
    field size              1 GB     
    identifier length       63 bytes                can be increased by recompiling PostgreSQL
    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

    Before that, there was an official list on the PostgresL “About” page. Quote for Postgres 9.5:

    Limit                       Value
    Maximum Database Size       Unlimited
    Maximum Table Size          32 TB
    Maximum Row Size            1.6 TB
    Maximum Field Size          1 GB
    Maximum Rows per Table      Unlimited
    Maximum Columns per Table   250 - 1600 depending on column types
    Maximum Indexes per Table   Unlimited
    

    If you get anywhere close to those limits, chances are you are doing something wrong.

    • 0
    • Reply
    • Share
      Share
      • Share on Facebook
      • Share on Twitter
      • Share on LinkedIn
      • Share on WhatsApp
      • Report

Sidebar

Related Questions

Possible Duplicate: Maximum Number of Tables in MySQL Is there a recommended number of
Possible Duplicate: How do you select only the maximum version of a list of
Possible Duplicate: Maximum number of threads in a .NET app? Is there a limit
Possible Duplicate: maximum memory which malloc can allocate! How can I know the maximum
Possible Duplicate: Maximum number of threads per process in Linux? just with some curiosity
Possible Duplicate: Maximum size for a SQL Server Query? IN clause? Is there a
Possible Duplicate: Maximum length of the textual representation of an IPv6 address? What would
Possible Duplicate: Python : how to append new elements in a list of list?
Possible Duplicate: A comprehensive regex for phone number validation How to validate a phone
Possible Duplicate: Maximum Request Length Exceeded Not Redirect on Error Page I try to

Explore

  • Home
  • Add group
  • Groups page
  • Communities
  • Questions
    • New Questions
    • Trending Questions
    • Must read Questions
    • Hot Questions
  • Polls
  • Tags
  • Badges
  • Users
  • Help
  • SEARCH

Footer

© 2021 The Archive Base. All Rights Reserved
With Love by The Archive Base

Insert/edit link

Enter the destination URL

Or link to existing content

    No search term specified. Showing recent items. Search or use up and down arrow keys to select an item.