Received: from localhost (unknown [200.46.204.187]) by postgresql.org (Postfix) with ESMTP id BCBC89F9BF2 for ; Wed, 5 Sep 2007 18:59:22 -0300 (ADT) Received: from postgresql.org ([200.46.204.71]) by localhost (mx1.hub.org [200.46.204.187]) (amavisd-maia, port 10024) with ESMTP id 71410-04 for ; Wed, 5 Sep 2007 18:59:15 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.5 Received: from rv-out-0910.google.com (rv-out-0910.google.com [209.85.198.190]) by postgresql.org (Postfix) with ESMTP id 27DA39F9C4E for ; Wed, 5 Sep 2007 18:59:18 -0300 (ADT) Received: by rv-out-0910.google.com with SMTP id l15so1451379rvb for ; Wed, 05 Sep 2007 14:59:17 -0700 (PDT) DKIM-Signature: a=rsa-sha1; c=relaxed/relaxed; d=gmail.com; s=beta; h=domainkey-signature:received:received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=Wmz6M4PnZe+hgY5lGO/CvYjJRyVqYjjH/jBd6AkfvLQq+tVQPJLxpybdz0ix90LiKqnr2Nu97IusJ8NTEHUGJraWtX7+ZEnjk2NzLq3DIwwJjeKXjyA7Awa6xMGggi+Or2eecrM2Tklmh0Yxq44MfOBgTNmxBWxTb4VCNmufwSM= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=beta; h=received:message-id:date:from:to:subject:cc:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=b2kAj8ElYq6sO7nbJpPq1dzeT6cT6emMjQXaMuCS0dCUtHX787S/KbSJE7KvV+7bxDHd6DGIxV/cVaPI5gWkogzTg4rFgxHBUsyIWyQ2iJvthoaX+0xDE+du11vSV2JPSn3giDUHTN7atbt7ylfKtAzckRsLojJKLR11WQWVon0= Received: by 10.141.209.7 with SMTP id l7mr344277rvq.1189029557823; Wed, 05 Sep 2007 14:59:17 -0700 (PDT) Received: by 10.141.159.11 with HTTP; Wed, 5 Sep 2007 14:59:17 -0700 (PDT) Message-ID: Date: Wed, 5 Sep 2007 16:59:17 -0500 From: "Scott Marlowe" To: "Ansgar -59cobalt- Wiechers" Subject: Re: Performance on 8CPU's and 32GB of RAM Cc: pgsql-performance@postgresql.org In-Reply-To: <20070905210212.GA26941@mail.planetcobalt.net> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <20070904230639.GA23731@alvh.no-ip.org> <46DE66CF.9000903@theendofthetunnel.de> <90bce5730709051016j5291827dx525d6b8fe4960fbd@mail.gmail.com> <20070905210212.GA26941@mail.planetcobalt.net> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Archive-Number: 200709/62 X-Sequence-Number: 26607 On 9/5/07, Ansgar -59cobalt- Wiechers wrote: > On 2007-09-05 Scott Marlowe wrote: > > And there's the issue that with windows / NTFS that when one process > > opens a file for read, it locks it for all other users. This means > > that things like virus scanners can cause odd, unpredictable failures > > of your database. > > Uh... what? Locking isn't done by the filesystem but by applications > (which certainly can decide to not lock a file when opening it). And no > one in his right mind would ever have a virus scanner access the files > of a running database, regardless of operating system or filesystem. Exactly, the default is to lock the file. The application has to explicitly NOT lock it. It's the opposite of linux. And be careful, you're insulting a LOT of people who have come on this list with the exact problem of having their anti-virus scramble the brain of their postgresql installation. It's a far more common problem than it should be.