Re: Maximum number of tables per database and slowness - Mailing list pgsql-general

From Tom Lane
Subject Re: Maximum number of tables per database and slowness
Date
Msg-id 10435.1134283060@sss.pgh.pa.us
Whole thread Raw
In response to Re: Maximum number of tables per database and slowness  (William Yu <wyu@talisys.com>)
List pgsql-general
William Yu <wyu@talisys.com> writes:
> Benjamin Arai wrote:
>> What is the current maximum number of tables per database?  Also, does
>> having more tables slow down performance in any way?

> For most cases, the answer is no. However, once you get near 6 figure
> table counts, pg_catalog ends up being pretty massive.

You also have to think about the performance implications of having tens
of thousands of files in your database directory.  While some newer
filesystems aren't fazed by that particularly, a lot of 'em bog down on
lookups when there are more than a few thousand entries in a directory.

            regards, tom lane

pgsql-general by date:

Previous
From: Michael Fuhr
Date:
Subject: Re: Looking for information on PostgreSQL Stored Procedures
Next
From: Hannes Dorbath
Date:
Subject: TSearch2: Auto identify document language?