Re: Limitations : Number of ... - Mailing list pgsql-general

From Tom Lane
Subject Re: Limitations : Number of ...
Date
Msg-id 26179.1140731007@sss.pgh.pa.us
Whole thread Raw
In response to Re: Limitations : Number of ...  (Martijn van Oosterhout <kleptog@svana.org>)
List pgsql-general
Martijn van Oosterhout <kleptog@svana.org> writes:
> Logically, unlimited. Practically, because tables are stored as files,
> at some point you might run out of inodes on your disk. You're more
> likely to run out of disk-space first though, unless your tables are
> small.

Another constraint is that many filesystems don't behave real well with
lots and lots of files in a single filesystem directory (where "lots and
lots" usually translates to trouble in the 10K-100K range).  You could
work around this to some extent by splitting the database into multiple
tablespaces, but most people are going to tell you that a schema with
that many tables needs reconsideration anyway.

            regards, tom lane

pgsql-general by date:

Previous
From: Scott Marlowe
Date:
Subject: Re: SQL TYPE MAP such as SQL_CHAR, SQL_NUMERIC , etc
Next
From: Bernhard Weisshuhn
Date:
Subject: Re: Temporal Databases