Re: performance problem - 10.000 databases

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Marek Florianczyk <franki(at)tpi(dot)pl>
Cc: pgsql-admin(at)postgresql(dot)org
Subject: Re: performance problem - 10.000 databases
Date: 2003-11-05 18:34:22
Message-ID: 3767.1068057262@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Marek Florianczyk <franki(at)tpi(dot)pl> writes:
> But did you do that under some database load ? eg. 100 clients
> connected, like in my example ? When I do these queries "\d" without any
> clients connected and after ANALYZE it's fast, but only 100 clients is
> enough to lengthen query time to 30 sec. :(

Then it's not \d's fault --- you simply don't have enough horsepower to
support 100 concurrent clients, regardless of what specific query you're
testing.

You might find that not reconnecting so often would improve matters;
I'm sure that a lot of your cycles are being taken by backend startup.

regards, tom lane

In response to

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Tom Lane 2003-11-05 18:52:14 Re: performance problem - 10.000 databases
Previous Message Marek Florianczyk 2003-11-05 18:30:55 Re: performance problem - 10.000 databases