Re: 15,000 tables

From: "Gavin M(dot) Roy" <gmr(at)ehpg(dot)net>
To: Michael Riess <mlriess(at)gmx(dot)de>
Cc: pgsql-performance(at)postgresql(dot)org
Subject: Re: 15,000 tables
Date: 2005-12-01 18:07:44
Message-ID: 9A858930-1CA6-4238-92D4-D1E945683653@ehpg.net
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-es-ayuda pgsql-performance

Hi Michael,

I'm a fan of ReiserFS, and I can be wrong, but I believe using a
journaling filesystem for the PgSQL database could be slowing things
down.

Gavin

On Dec 1, 2005, at 6:51 AM, Michael Riess wrote:

> Hi David,
>
>> with 15,000 tables you are talking about a LOT of files to hold
>> these (30,000 files with one index each and each database being
>> small enough to not need more then one file to hold it), on linux
>> ext2/3 this many files in one directory will slow you down horribly.
>
> We use ReiserFS, and I don't think that this is causing the
> problem ... although it would probably help to split the directory
> up using tablespaces.
>
> But thanks for the suggestion!
>
> ---------------------------(end of
> broadcast)---------------------------
> TIP 5: don't forget to increase your free space map settings

Gavin M. Roy
800 Pound Gorilla
gmr(at)ehpg(dot)net

In response to

Responses

Browse pgsql-es-ayuda by date

  From Date Subject
Next Message Tino Wildenhain 2005-12-01 18:40:07 Re: 15,000 tables
Previous Message Jaime Casanova 2005-12-01 17:29:32 Re: " campo con apostrofe"

Browse pgsql-performance by date

  From Date Subject
Next Message Tino Wildenhain 2005-12-01 18:40:07 Re: 15,000 tables
Previous Message Qingqing Zhou 2005-12-01 18:03:20 Re: filesystem performance with lots of files