On Thu, 2006-07-06 at 01:40, Eugeny N Dzhurinsky wrote:
> Hello!
>
> I have a postgresql server serving thousands of tables. Sometime there are
> queries which involves several tables.
Do you add / remove tables a lot? Could be you've got system catalog
bloat.
do you have autovacuum running?
What version of pgsql are you running?
What OS?
What file system?
What kind of machine are you using?
How much memory does it have?
How many disk drives?
Are you using RAID? hardware / software? battery backed cache or no?
Do you have one or two, or thousands of connections at a time?
Do you use connection pooling if you have lots of connections to handle?
There's a lot of info needed to make a decision on how to performance
tune a system.