Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.80) (envelope-from ) id 1a7CPf-00023N-Dn for pgsql-performance@arkaria.postgresql.org; Fri, 11 Dec 2015 01:22:23 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84) (envelope-from ) id 1a7CPe-00089L-RN for pgsql-performance@arkaria.postgresql.org; Fri, 11 Dec 2015 01:22:22 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84) (envelope-from ) id 1a7CO0-0006Fe-Ig for pgsql-performance@postgresql.org; Fri, 11 Dec 2015 01:20:40 +0000 Received: from mail-wm0-x22e.google.com ([2a00:1450:400c:c09::22e]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84) (envelope-from ) id 1a7CNx-0007VU-4u for pgsql-performance@postgresql.org; Fri, 11 Dec 2015 01:20:39 +0000 Received: by mail-wm0-x22e.google.com with SMTP id c201so57527373wme.0 for ; Thu, 10 Dec 2015 17:20:35 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=2ndquadrant-com.20150623.gappssmtp.com; s=20150623; h=subject:to:references:cc:from:message-id:date:user-agent :mime-version:in-reply-to:content-type:content-transfer-encoding; bh=Nv1Bgbyms2Jiw607OJd1sgkLTKQNtpsEGqN1dC0P3J4=; b=JvrFvh9gM6+k4FTu3QJJilZmo8mTbz2ucf0BcLP4kmGedDZnDxH4inVETOgfGAdNI9 PcWb7DNbr4bxFkw4oLmPGrnRPwcnPLc9ZD5xnYRyz1eUPrso6GWebIaou2dxfLoZA+IF V1yvwixMVjBvB7pRzNtI3m95Eb7FvYtPghfTd50IENWHWn1CFKMD8iZvcAo346i2sK9+ fyNILRUkGWgvOJjBsQurqwtCNbJprn+1sdiJ5xKa0CrADSiPENf5CpC5T7GOOgE5Po5M jVLc9raknNPyWzfZYuQyZ60C9ySnZ7H1Jt1oTPshlhwNYuns8cdkUGzQvicPzrYAJcmn 4PQw== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:subject:to:references:cc:from:message-id:date :user-agent:mime-version:in-reply-to:content-type :content-transfer-encoding; bh=Nv1Bgbyms2Jiw607OJd1sgkLTKQNtpsEGqN1dC0P3J4=; b=YdN9KNkpF8WObWhIqoezbBUcjFq7CUW69zBD2vXq5IKvuwsr5OWn9KRjJRqlGkfh6V GJSnfXqtzSeQyfWIw+tSQWh4w7QuhfXCp0yFKvn9MV62ZKhFkTDsr9rXB6xctS+eUWNG CrJt9ib6cihCLekSq2OFYzYR5Q6Q5U5gCRappizfJ43ixurw2l9t0tgwdVZRmkNj/0oQ 6ShS8PJADJPxce67BP39NSc2TpfwxAIVP6hySkFDrYhX38/zwV4bfggETWLo82u5iWu1 98zhN/VEB5M2rhv4xMtiw1aoFr2iw0PLyd9FnbQNBNVoJ641x4g6XhD8iP5oSu3eXYUw 24ZA== X-Gm-Message-State: ALoCoQkZGQg+9WCDexfb1qmsC+c2GoRUz3O+biewKApCrjF5BwE2Oltwu9T158UVoyHHfpdFsKrShcyjdZBKOhtFIMJwULvCJeSYuKMk8aO6ApQepah4LsYfaD/frJAUHUreDwnYvjsBVl6NYqCmAxIWKlNOvJ3tzIhIRoVomj7Y0XnxwnHQQRWjfakwZFx9MWha15oNCauagADT1QM/DCaOn2wDtomWUQ== X-Received: by 10.28.46.137 with SMTP id u131mr2191155wmu.61.1449796833383; Thu, 10 Dec 2015 17:20:33 -0800 (PST) Received: from [10.137.1.13] (ip-78-45-216-26.net.upcbroadband.cz. [78.45.216.26]) by smtp.gmail.com with ESMTPSA id cs4sm14723141wjc.10.2015.12.10.17.20.32 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 10 Dec 2015 17:20:32 -0800 (PST) Subject: Re: checkpoints, proper config To: Alvaro Herrera References: <5669B47B.9010504@commandprompt.com> <5669FF52.2030303@2ndquadrant.com> <20151210224541.GQ2763@alvherre.pgsql> Cc: pgsql-performance@postgresql.org From: Tomas Vondra Message-ID: <566A24DD.8020106@2ndquadrant.com> Date: Fri, 11 Dec 2015 02:20:29 +0100 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0 MIME-Version: 1.0 In-Reply-To: <20151210224541.GQ2763@alvherre.pgsql> Content-Type: text/plain; charset=windows-1252; format=flowed Content-Transfer-Encoding: 7bit X-Pg-Spam-Score: -2.6 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-performance Precedence: bulk Sender: pgsql-performance-owner@postgresql.org On 12/10/2015 11:45 PM, Alvaro Herrera wrote: > Tomas Vondra wrote: > >> Also, I don't think it makes much sense to set >> >> (checkpoint_warning > checkpoint_timeout) >> >> as it kinda defeats the whole purpose of the warning. > > I agree, but actually, what is the sense of checkpoint_warning? I think > it was useful back when we didn't have log_checkpoints, but now that we > have detailed checkpoint logging I think it's pretty much useless noise. > Not entirely. The WARNING only triggers when you get below the 30s (or whatever value is set in the config) and explicitly warns you about doing checkpoints too often. log_checkpoints=on logs all checkpoints and you have to do further analysis on the data (and it's just LOG). -- Tomas Vondra http://www.2ndQuadrant.com PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services -- Sent via pgsql-performance mailing list (pgsql-performance@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-performance