Received: from localhost (unknown [200.46.204.183]) by mail.postgresql.org (Postfix) with ESMTP id C1BC164FCFE for ; Mon, 10 Nov 2008 10:18:43 -0400 (AST) Received: from mail.postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 87901-01 for ; Mon, 10 Nov 2008 10:18:43 -0400 (AST) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ey-out-2122.google.com (ey-out-2122.google.com [74.125.78.26]) by mail.postgresql.org (Postfix) with ESMTP id 51F8D64FCFB for ; Mon, 10 Nov 2008 10:18:41 -0400 (AST) Received: by ey-out-2122.google.com with SMTP id 6so869010eyi.61 for ; Mon, 10 Nov 2008 06:18:37 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=gamma; h=domainkey-signature:received:received:message-id:date:from:to :subject:mime-version:content-type; bh=5Yh8vzNMxuVZ2vp8PDWn63Q/AJSLMP6TcPSzvOmM+Nk=; b=i2b9qtRIPO5gsV4MJnLYmFKJYD1wQ1Bv8nx9b4CePcKFN8+y5Edn1RHEeo37wArYJN WgswtDS9MU1xNxBGzGN4ImBGDAQuAOkDlcRvLLgK/bLrnonOvUMrb92nxnRdfRnaY7rI O+JTIhexoFoPhJ7Qp8CjCd2asfbXZ+SHE8zVs= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:mime-version:content-type; b=H4hgmqJjfMO6fSIL+LwybROzP/4WoJie/LjwjSqruoYar6Kc4iJwPAVjTQFbbgv1sr JxQi84vK70q5Ga4mIPmZTxpB04u/4dQHa67xHi0D52mX2VwCi2+9KkKoj8GgiLsDzJTq o/y65RCh0QMtPdEaOzckuAc+bVuos2QPKBV3A= Received: by 10.210.10.8 with SMTP id 8mr1526165ebj.69.1226326717239; Mon, 10 Nov 2008 06:18:37 -0800 (PST) Received: by 10.210.42.15 with HTTP; Mon, 10 Nov 2008 06:18:37 -0800 (PST) Message-ID: <5d5d98b30811100618v2c0f935fka3f7970b622d6760@mail.gmail.com> Date: Mon, 10 Nov 2008 16:18:37 +0200 From: "=?ISO-8859-1?Q?Dilek_K=FC=E7=FCk?=" To: pgsql-admin@postgresql.org Subject: max_files_per_process limit MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----=_Part_57824_26463547.1226326717249" X-Archive-Number: 200811/45 X-Sequence-Number: 30699 ------=_Part_57824_26463547.1226326717249 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline 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=FC=E7=FCk ------=_Part_57824_26463547.1226326717249 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline

Hi,

We have a database of about 62000 tables (about 2000 tablespaces) with a= n 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 numb= er of open file descriptors.

Is there anything we could do about this max_files_per_process limit o= r any other way to speed up inserts to all these tables?

Any suggestions are wellcome.

Kind regards,
Dilek K=FC=E7=FCk

------=_Part_57824_26463547.1226326717249--