max_files_per_process limit

From: Dilek Küçük <dilekkucuk(at)gmail(dot)com>
To: pgsql-admin(at)postgresql(dot)org
Subject: max_files_per_process limit
Date: 2008-11-10 14:18:37
Message-ID: 5d5d98b30811100618v2c0f935fka3f7970b622d6760@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-admin

Hi,

We have a database of about 62000 tables (about 2000 tablespaces) with an
index on each table. Postgresql version is 8.1.

Although after the initial inserts to about 32000 tables the subsequent
inserts are considerable fast, subsequent inserts to more than 32000 tables
are very slow.

This seems to be due to the datatype (integer) of max_files_per_process
option in the postgres.conf file which is used to set the maximum number of
open file descriptors.
Is there anything we could do about this max_files_per_process limit or any
other way to speed up inserts to all these tables?

Any suggestions are wellcome.

Kind regards,
Dilek Küçük

Responses

Browse pgsql-admin by date

  From Date Subject
Next Message Achilleas Mantzios 2008-11-10 14:51:16 Re: max_files_per_process limit
Previous Message Ori Garin 2008-11-10 09:02:44 Postgres dies on standby server after triggering failover