pg.ddx.io  pgsql-admin@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Marek Florianczyk <franki@tpi.pl>
To: Bruno Wolff III <bruno@wolff.to>
Cc: Jeff <threshar@torgo.978.org>
Cc: pgsql-admin@postgresql.org
Subject: Re: performance problem - 10.000 databases
Date: 05 Nov 2003 19:01:38 +0100
Message-ID: <1068055298.28821.155.camel@franki-laptop.tpi.pl> (raw)
In-Reply-To: <20031105161827.GA5557@wolff.to>
References: <1067594647.22286.57.camel@franki-laptop.tpi.pl>
	<9643.1067610219@sss.pgh.pa.us>
	<1068039213.28814.116.camel@franki-laptop.tpi.pl>
	<20031105084852.04d6cfb9.threshar@torgo.978.org>
	<1068045299.28825.132.camel@franki-laptop.tpi.pl>
	<20031105161827.GA5557@wolff.to>

W liście z śro, 05-11-2003, godz. 17:18, Bruno Wolff III pisze: 
> On Wed, Nov 05, 2003 at 16:14:59 +0100,
>   Marek Florianczyk <franki@tpi.pl> wrote:
> > One database with 3.000 schemas works better than 3.000 databases, but
> > there is REAL, BIG problem, and I won't be able to use this solution:
> > Every query, like "\d table" "\di" takes veeeeeeery long time.
> > Users have to have phpPgAdmin wich I modified to suit our needs, but now
> > it doesn't work, not even log-in. If I rewrite phpPgAdmin to log users
> > without checking all schemas, and tables within schemas, none of users
> > will be able to examine structure of table. Query like "\d table" from
> > psql monitor takes about 2-5 MINUTES :(
> 
> Analyzing the system tables will likely make these queries go faster.

I've made:
VACUUM FULL;
ANALYZE;

and it works better, but no revelation, when I do "\d schemaname.table"
it's better. I've to still wait about 10-30 sec. and now it's only 100
clients connected. :(


Marek




view thread (50+ messages)  latest in thread

Message-ID: <1068055298.28821.155.camel@franki-laptop.tpi.pl>
Permalink:  ../1068055298.28821.155.camel@franki-laptop.tpi.pl/
Also on:    postgresql.org/message-id/1068055298.28821.155.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, bruno@wolff.to, threshar@torgo.978.org
  Subject: Re: performance problem - 10.000 databases
  In-Reply-To: <1068055298.28821.155.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> <20031105084852.04d6cfb9.threshar@torgo.978.org> <1068045299.28825.132.camel@franki-laptop.tpi.pl> <20031105161827.GA5557@wolff.to> <1068055298.28821.155.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