X-Original-To: pgsql-admin-postgresql.org@localhost.postgresql.org Received: from localhost (unknown [200.46.204.2]) by svr1.postgresql.org (Postfix) with ESMTP id 6F05BD1B556 for ; Sat, 8 Nov 2003 20:42:10 +0000 (GMT) Received: from svr1.postgresql.org ([200.46.204.71]) by localhost (neptune.hub.org [200.46.204.2]) (amavisd-new, port 10024) with ESMTP id 32968-01 for ; Sat, 8 Nov 2003 16:41:40 -0400 (AST) Received: from relay.snowman.net (snowman.net [66.93.83.236]) by svr1.postgresql.org (Postfix) with ESMTP id 244FAD1B8EC for ; Sat, 8 Nov 2003 16:38:29 -0400 (AST) Received: from ns.snowman.net (ns.snowman.net [10.10.0.2]) by relay.snowman.net (8.12.10/8.12.10/Debian-1) with ESMTP id hA8KcPtg005196; Sat, 8 Nov 2003 15:38:25 -0500 Received: from ns.snowman.net (localhost [127.0.0.1]) by ns.snowman.net (8.12.10/8.12.10/Debian-1) with ESMTP id hA8KcPOu013060; Sat, 8 Nov 2003 15:38:25 -0500 Received: (from sfrost@localhost) by ns.snowman.net (8.12.10/8.12.10/Debian-1) id hA8KcOoe013058; Sat, 8 Nov 2003 15:38:24 -0500 Date: Sat, 8 Nov 2003 15:38:24 -0500 From: Stephen Frost To: Christopher Browne Cc: pgsql-admin@postgresql.org Subject: Re: performance problem - 10.000 databases Message-ID: <20031108203823.GQ24094@ns.snowman.net> Mail-Followup-To: Christopher Browne , pgsql-admin@postgresql.org References: <1068128463.10743.30.camel@franki-laptop.tpi.pl> <20031106093725.20d3a43f.threshar@torgo.978.org> <60y8utv72f.fsf@dev6.int.libertyrms.info> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="n7Lj0ukKFj+YqP4g" Content-Disposition: inline In-Reply-To: <60y8utv72f.fsf@dev6.int.libertyrms.info> X-Editor: Vim http://www.vim.org/ X-Info: http://www.snowman.net X-Operating-System: Linux/2.4.20 (i686) X-Uptime: 15:36:48 up 70 days, 20:22, 11 users, load average: 0.46, 0.38, 0.21 User-Agent: Mutt/1.5.4i X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/149 X-Sequence-Number: 11136 --n7Lj0ukKFj+YqP4g Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable * Christopher Browne (cbbrowne@libertyrms.info) wrote: > On one of our test servers, I set "fsync=3Dfalse", and a test load's > load time dropped from about 90 minutes to 3 minutes. (It was REALLY > update heavy, with huge numbers of tiny transactions.) >=20 > Which is, yes, quite spectacularly faster. But also quite > spectacularly unsafe. >=20 > I'm willing to live with the risk on a test box whose purpose is > _testing_; it's certainly not a good thing to do in production. Would it be possible to have the effectively done for a specific transaction? If this was done as a single large transaction could there be an option to say "don't fsync this until it's all done and then do it all" or something? Just looking for a way to get the 'best of both worlds'... Stephen --n7Lj0ukKFj+YqP4g Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.3 (GNU/Linux) iD8DBQE/rVQ/rzgMPqB3kigRAnbBAJ9acKJRzy+laMcdOCUx6DnS7WDBlgCfY8YC sHDqFT25Op9uNTbdUmNu2ac= =EEyt -----END PGP SIGNATURE----- --n7Lj0ukKFj+YqP4g--