pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marek Florianczyk <franki@tpi.pl>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: 05 Nov 2003 19:30:55 +0100
Message-ID: <1068057055.28827.180.camel@franki-laptop.tpi.pl> (raw)
In-Reply-To: <3767.1068057262@sss.pgh.pa.us>
References: <1067594647.22286.57.camel@franki-laptop.tpi.pl>
	<9643.1067610219@sss.pgh.pa.us>
	<1068039213.28814.116.camel@franki-laptop.tpi.pl>
	<3453.1068055189@sss.pgh.pa.us>
	<1068056378.28827.172.camel@franki-laptop.tpi.pl>
	<3767.1068057262@sss.pgh.pa.us>

W liście z śro, 05-11-2003, godz. 19:34, Tom Lane pisze: 
> Marek Florianczyk <franki@tpi.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.

Maybe reconnect is to often, but how to explain that reular queries like
select * from table1 ale much faster than \d's ? ( my post to Jeff )

Marek




view thread (50+ messages)  latest in thread

Message-ID: <1068057055.28827.180.camel@franki-laptop.tpi.pl>
Permalink:  ../1068057055.28827.180.camel@franki-laptop.tpi.pl/
Also on:    postgresql.org/message-id/1068057055.28827.180.camel@franki-laptop.tpi.pl

 · 

reply

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: franki@tpi.pl, tgl@sss.pgh.pa.us
  Subject: Re: performance problem - 10.000 databases
  In-Reply-To: <1068057055.28827.180.camel@franki-laptop.tpi.pl>
  References: <1067594647.22286.57.camel@franki-laptop.tpi.pl> <9643.1067610219@sss.pgh.pa.us> <1068039213.28814.116.camel@franki-laptop.tpi.pl> <3453.1068055189@sss.pgh.pa.us> <1068056378.28827.172.camel@franki-laptop.tpi.pl> <3767.1068057262@sss.pgh.pa.us> <1068057055.28827.180.camel@franki-laptop.tpi.pl>

* 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