Re: Maximum Number of Tables in a database - Mailing list pgsql-admin

From Tom Lane
Subject Re: Maximum Number of Tables in a database
Date
Msg-id 18728.1027611113@sss.pgh.pa.us
Whole thread Raw
In response to Maximum Number of Tables in a database  ("Brubaker, Shane" <Shane_Brubaker@affymetrix.com>)
Responses PL/pgSQL  (Heni Lolov <hal_bg@yahoo.com>)
List pgsql-admin
"Brubaker, Shane" <Shane_Brubaker@affymetrix.com> writes:
> So I'm assuming there is no practical limit on the number of tables in a
> given database.

The practical limit depends on how well your kernel copes with
directories containing large numbers of files (since PG stores each
table as a file within the directory for the database).  Many Unixen
start to get pretty slow with more than a few thousand files in a
directory, because they do directory lookups by linear search.

            regards, tom lane

pgsql-admin by date:

Previous
From: "Christian Lübeck"
Date:
Subject: Backup of Transaction Logs?
Next
From: Chris Ruprecht
Date:
Subject: OS File Size > 1GB