pg.ddx.io  pgsql-performance@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Sylvain CAILLET <scaillet@alaloop.com>
To: pgsql-performance@postgresql.org
Subject: Create tables performance
Date: Fri, 06 Jul 2012 17:15:49 +0200 (CEST)
Message-ID: <2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com> (raw)
In-Reply-To: <f7ad3dea-85db-40bb-81bb-b029881230f9@zimbra-ne01.network-studio.com>


Hi to all, 


I run Postgresql 8.3.9 on a dedicated server running with Debian 5.0.4, a strong bi quad-proc with RAM 16Go. My biggest db contains at least 100 000 tables. Last time, I started a Java process I use to make some change on it, it created 170 new tables and it took one full minute. That is a very long time for such a process on such a server ! 
Do you think there could be some configuration tuning to do to improve the performance for create tables ? 
Or do I have to use tablespaces because 100000 files in a single folder is a too many for OS ? 
It's possible to migrate the DB in 9.1 version. Do you think it could solve the trouble ? 


Thank you all for your advices, 


Best regards 


Sylvain 

view thread (7+ messages)  latest in thread

Message-ID: <2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com>
Permalink:  ../2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com/
Also on:    postgresql.org/message-id/2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com

 · 

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-performance@postgresql.org
  Cc: scaillet@alaloop.com
  Subject: Re: Create tables performance
  In-Reply-To: <2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com>
  References: <f7ad3dea-85db-40bb-81bb-b029881230f9@zimbra-ne01.network-studio.com> <2ea3ab10-6768-45f2-a748-7f6c94be30fc@zimbra-ne01.network-studio.com>

* 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