Received: from localhost (unknown [200.46.204.183]) by postgresql.org (Postfix) with ESMTP id 1D01664FCE1 for ; Thu, 28 Aug 2008 06:37:36 -0300 (ADT) Received: from postgresql.org ([200.46.204.86]) by localhost (mx1.hub.org [200.46.204.183]) (amavisd-maia, port 10024) with ESMTP id 21504-05 for ; Thu, 28 Aug 2008 06:37:25 -0300 (ADT) X-Greylist: domain auto-whitelisted by SQLgrey-1.7.6 Received: from ag-out-0708.google.com (ag-out-0708.google.com [72.14.246.249]) by postgresql.org (Postfix) with ESMTP id A9C7664FCD6 for ; Thu, 28 Aug 2008 06:37:28 -0300 (ADT) Received: by ag-out-0708.google.com with SMTP id 31so834258agc.5 for ; Thu, 28 Aug 2008 02:37:27 -0700 (PDT) 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:in-reply-to:mime-version:content-type :content-transfer-encoding:content-disposition:references; bh=qITLc0zJdcTdyzXIQ2kOd+KWjUfW4NiuKUOu88MPX1w=; b=hCpyn0p5MJalt4s7NYmVInQuhKLrKk8lPw2JAEwlwmMIZsU7dB7tsAyW7hpns7/tLq EbJDkp+Gq91l1xFv79name3vf6aeqS5fPW4CK7iZFbIxI7uyh3GMwj0DyEddCoOIv2BP 5h0cNgpIXY0K3NOPKFvf4iQI9joAv/PjrxbhA= DomainKey-Signature: a=rsa-sha1; c=nofws; d=gmail.com; s=gamma; h=message-id:date:from:to:subject:in-reply-to:mime-version :content-type:content-transfer-encoding:content-disposition :references; b=qbqw8o4y1LKxlrmc2L4gtJ9lZzkal7loo6++vbRhfOhRUXyf/HBJA0qIDVZevLENHD c5Wv6VkUMAjBwW+s54JFBrQVnK8GTT8dFfLNFWvpq9w26G6ASbVOIBSi1JEhMikLUcl0 YzBctEgaSzeaQzDhkCmcwji/OOUPqTxYXVcEo= Received: by 10.70.77.2 with SMTP id z2mr1253578wxa.76.1219916247580; Thu, 28 Aug 2008 02:37:27 -0700 (PDT) Received: by 10.70.24.20 with HTTP; Thu, 28 Aug 2008 02:37:27 -0700 (PDT) Message-ID: <3f0d61c40808280237g42f02d76hf1329fdf763f393c@mail.gmail.com> Date: Thu, 28 Aug 2008 11:37:27 +0200 From: "Marco Bizzarri" To: pgsql-admin@postgresql.org Subject: Re: fsync off without a restart In-Reply-To: <455333.74944.qm@web25807.mail.ukl.yahoo.com> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <455333.74944.qm@web25807.mail.ukl.yahoo.com> X-Virus-Scanned: Maia Mailguard 1.0.1 X-Spam-Status: No, hits=0 tagged_above=0 required=5 tests=none X-Spam-Level: X-Archive-Number: 200808/210 X-Sequence-Number: 30055 On Wed, Aug 27, 2008 at 5:42 PM, Valentin Bogdanov wrote: > Hi list, > > I have got a script that is inserting, updating heavily at the moment. So, I want to turn fsync off to speed things up but I don't want to interrupt the script. > > If I do `postgresql reload` or `kill -HUP postmaster_pid` woudl that apply the fsync change? By the way, I have already tried it and seems that it has worked. > > But I have got another question. On my debian system I have got `postgresql force-reload`. How does that differ from the plain reload? And what does it actually do under the hood? If you're referencing to the init script (/etc/init.d/postgresql-XXX), then they should be the same stuff. Regards Marco -- Marco Bizzarri http://iliveinpisa.blogspot.com/