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 03B0FD1BB46 for ; Thu, 6 Nov 2003 16:17:47 +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 00920-05 for ; Thu, 6 Nov 2003 12:17:16 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by svr1.postgresql.org (Postfix) with ESMTP id 11894D1BA96 for ; Thu, 6 Nov 2003 12:17:16 -0400 (AST) Received: from news.hub.org (news.hub.org [200.46.204.72]) by news.hub.org (8.12.9/8.12.9) with ESMTP id hA6GHFNu093126 for ; Thu, 6 Nov 2003 16:17:15 GMT (envelope-from news@news.hub.org) Received: (from news@localhost) by news.hub.org (8.12.9/8.12.9/Submit) id hA6GA3q9092095 for pgsql-admin@postgresql.org; Thu, 6 Nov 2003 16:10:03 GMT From: Christopher Browne X-Newsgroups: comp.databases.postgresql.admin Subject: Re: performance problem - 10.000 databases Date: Thu, 06 Nov 2003 10:40:40 -0500 Organization: Hub.Org Networking Services Lines: 27 Message-ID: <60y8utv72f.fsf@dev6.int.libertyrms.info> References: <1068128463.10743.30.camel@franki-laptop.tpi.pl> <20031106093725.20d3a43f.threshar@torgo.978.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii X-Complaints-To: usenet@news.hub.org User-Agent: Gnus/5.1003 (Gnus v5.10.3) XEmacs/21.4 (Reasonable Discussion, linux) Cancel-Lock: sha1:w5M6BCa5/FVkAxzUbS9xxHbEhxE= To: pgsql-admin@postgresql.org X-Virus-Scanned: by amavisd-new at postgresql.org X-Archive-Number: 200311/138 X-Sequence-Number: 11126 threshar@torgo.978.org (Jeff) writes: > On 06 Nov 2003 15:21:03 +0100 > Marek Florianczyk wrote: > >> fsync = false > > HOLD THE BOAT THERE BATMAN! > > I would *STRONGLY* advise not running with fsync=false in production as > PG _CANNOT_ guaruntee data consistancy in the event of a hardware > failure. It would sure suck to have a power failure screw up your nice > db for the users! On one of our test servers, I set "fsync=false", 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.) Which is, yes, quite spectacularly faster. But also quite spectacularly unsafe. 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. -- let name="cbbrowne" and tld="libertyrms.info" in String.concat "@" [name;tld];; Christopher Browne (416) 646 3304 x124 (land)