Thread: Question about maximum sizes

Question about maximum sizes

From
"Lai, Eric"
Date:
I was wondering if you know where I could find specifications on the
PostGresSQL 7.4.3 (the one build one used).  I have information such as:

Maximum size for a database?             unlimited (60GB databases
exist)
 Maximum size for a table?                16 TB
 Maximum size for a row?                  unlimited in 7.1 and later
 Maximum size for a field?                1GB in 7.1 and later
 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

But I need additional information such as what the maximum size of an
actual index name is and stuff like that.  Do you know where they might
have a more comprehensive guide or documentation that might have this
information?

__________________________
Eric Lai
Software Engineer
FCS - SOSCOE Data Modeling
Huntington Beach, CA
Cell:    213-453-6878
Desk: 714-896-5687



Re: Question about maximum sizes

From
Bruce Momjian
Date:
Lai, Eric wrote:
>
> I was wondering if you know where I could find specifications on the
> PostGresSQL 7.4.3 (the one build one used).  I have information such as:
>
> Maximum size for a database?             unlimited (60GB databases
> exist)
>  Maximum size for a table?                16 TB
>  Maximum size for a row?                  unlimited in 7.1 and later
>  Maximum size for a field?                1GB in 7.1 and later
>  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
>
> But I need additional information such as what the maximum size of an
> actual index name is and stuff like that.  Do you know where they might
> have a more comprehensive guide or documentation that might have this
> information?

Yes, run pg_controldata:

    Maximum length of identifiers:        64

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 359-1001
  +  If your life is a hard drive,     |  13 Roberts Road
  +  Christ can be your backup.        |  Newtown Square, Pennsylvania 19073