pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Francesco Dalla Ca' <f.dallaca@cineca.it>
To: pgsql-admin@postgresql.org
Subject: postgres teoretical and (best-)pratical size limits
Date: Thu, 30 Jun 2005 12:03:47 +0200 (MEST)
Message-ID: <42C3C382.5020108@cineca.it> (raw)

I have some questions about the subject.

in the postgresql F.A.Q.:
http://www.postgresql.org/docs/faqs.FAQ.html#4.4

"...
4.4) What is the maximum size for a row, a table, and a database?

These are the limits:

    Maximum size for a database?    unlimited (32 TB databases exist)
    Maximum size for a table?    32 TB
    Maximum size for a row?    1.6TB
    Maximum size for a field?    1 GB
    Maximum number of rows in a table?    unlimited
    Maximum number of columns in a table?    250-1600 depending on 
column types
    Maximum number of indexes on a table?    unlimited
..."

1) How are computed the maximum size of a table?

On the manual:
http://www.postgresql.org/docs/8.0/interactive/sql-createtable.html

"...
A table cannot have more than 1600 columns. (In practice, the effective 
limit is lower because of tuple-length constraints.)
..."

2) What's the tuple-length constraint? (and what's the max tuple-length?)

3) These are teoretical limits, but exists some licterature (articles, 
examples, case-studies) what addresses on pratical performance 
degradation derived from use of large tables with large amount of data? 
(eg.: max tables size suggested, max rows, max tuple size...)


Thanks for the answers and best regards.



Message-ID: <42C3C382.5020108@cineca.it>
Permalink:  ../42C3C382.5020108@cineca.it/
Also on:    postgresql.org/message-id/42C3C382.5020108@cineca.it

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-admin@postgresql.org
  Cc: f.dallaca@cineca.it
  Subject: Re: postgres teoretical and (best-)pratical size limits
  In-Reply-To: <42C3C382.5020108@cineca.it>
  References: <42C3C382.5020108@cineca.it>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox