Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzfPY-0004y9-O1 for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 11:01:16 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hzfPX-0006OU-GA for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 11:01:15 +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_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzfPX-0006ON-4D for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 11:01:15 +0000 Received: from mail-io1-xd29.google.com ([2607:f8b0:4864:20::d29]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzfPU-0005qw-U8 for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 11:01:14 +0000 Received: by mail-io1-xd29.google.com with SMTP id 18so3233707ioe.10 for ; Mon, 19 Aug 2019 04:01:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=subject:to:references:from:message-id:date:user-agent:mime-version :in-reply-to:content-transfer-encoding:content-language; bh=IHjA75b1iJROjpyiJBnAzHi+mAHU0rUKq1VfDHYNS2M=; b=nRLtq7NreFoDxqnBLHvjOm3+qn/F6U1b1foxZ6ZA/r5m2w074xFP0mJLCyK3ldCegM 4/Ik7lycPBkrgWALBuVWjGZmnw/F+XB98wpgc9BwCTXlmniaGMtNJWL6SGUTv6m4p3sI gixq9KNe95SJa5sntR+D7wOvGgC9g163CYEa3+48HicFKZLUolmlAlXO1G1pNhxSxTkv 6Z+8EF7a0be6f5v0vZ6wIZ6LJfWnQflaGQQdaoexYjko2Uk6D35dW9G7ZS/lRcR7jyXu 75etF94OWpxxci40Wuv6QBuMYfqeph6b/SAbEZ/LrqFlvZj44Xj3TriwLJBFpfNAF4hp dDLA== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:subject:to:references:from:message-id:date :user-agent:mime-version:in-reply-to:content-transfer-encoding :content-language; bh=IHjA75b1iJROjpyiJBnAzHi+mAHU0rUKq1VfDHYNS2M=; b=Rg20XFxRHECW9f9N8/o891k+7wdALrnFvq0n+RPofhO0PhlHPZ6cF6WorcBX6R/5+H mJWDxeE5f0ryQf08HKripNU2v4og5WwBxsaM+5ahpQ9rF2TZD06tw7kPvanAU9RBu6VV +58TjBi5WP/TlXG+bOcUMsRJsKM8crTgl6v08wbYgyKinz2p2ojTeWTof6fnCbODDgxZ 0Wn+3tUH+W2zr55RIZBi1OI2GmTkODMB7wWVpcXoc3DCC0/qGpmN3tb5o5gbPByh8b5Y youA3ilFz+jMYWzeXJdL9hP/o89T7NUlj2DGauZ7e90Le+m5muBV0J7Lou8uznnzPtMU wWeA== X-Gm-Message-State: APjAAAU9ce28JEMrKhNpWC+yTBeBVXk2OeFuDsua/UDt/wlluMzb2UC2 pV3LmZUe2NCeEjtWooeY16EIeCtN6j3ZvQ== X-Google-Smtp-Source: APXvYqyDd4zMLSKEBt8UFbYYEWXR9z+v8aDt+nlS3q6dDg5ohrYsmqag3WCu0sjt6o2Y/2w5t+TmSw== X-Received: by 2002:a6b:cac2:: with SMTP id a185mr24951356iog.142.1566212470532; Mon, 19 Aug 2019 04:01:10 -0700 (PDT) Received: from [192.168.1.10] (ip70-186-126-197.no.no.cox.net. [70.186.126.197]) by smtp.googlemail.com with ESMTPSA id n17sm11111207iog.63.2019.08.19.04.01.09 for (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 19 Aug 2019 04:01:09 -0700 (PDT) Subject: Re: postmaster utilization To: pgsql-general@lists.postgresql.org References: From: Ron Message-ID: <1580b264-7d47-a741-6acc-3f1ea8ee0d1f@gmail.com> Date: Mon, 19 Aug 2019 06:01:08 -0500 User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:60.0) Gecko/20100101 Thunderbird/60.8.0 MIME-Version: 1.0 In-Reply-To: Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: 8bit Content-Language: en-US List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On 8/19/19 5:40 AM, Shiwangini Shishulkar wrote: > Hi, > > We have scheduled postgres full backup on centos 7 machine. DB size is > around 66 GB. We observed while backup is running, postmaster CPU % > reaches to 90 - 100%,which results very strange behavior: that we are not > able to perform any DDL and DML on to the database during the time. > Please suggest a way to limit it's CPU utilization or else let us know how > we can access the database during the backup window. Please let us know on > priority since this is our prod database. Are you compressing the backup? How many threads are you running? How many CPUs on your system? What version of Postgres? -- Angular momentum makes the world go 'round.