From: Tom Lane <tgl@sss.pgh.pa.us>
To: Brubaker, Shane <Shane_Brubaker@affymetrix.com>
Cc: pgsql-admin@postgresql.org, "Cawley, Simon" <Simon_Cawley@affymetrix.com>
Subject: Re: Maximum Number of Tables in a database
Date: Thu, 25 Jul 2002 11:31:53 -0400
Message-ID: <18728.1027611113@sss.pgh.pa.us> (raw)
In-Reply-To: <53386E0C47E7D41194BB0002B325C997747F2B@NTEX60>
References: <53386E0C47E7D41194BB0002B325C997747F2B@NTEX60>
"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
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: tgl@sss.pgh.pa.us, Shane_Brubaker@affymetrix.com, Simon_Cawley@affymetrix.com
Subject: Re: Maximum Number of Tables in a database
In-Reply-To: <18728.1027611113@sss.pgh.pa.us>
References: <53386E0C47E7D41194BB0002B325C997747F2B@NTEX60> <18728.1027611113@sss.pgh.pa.us>
* 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