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 1hzwFl-0005DE-GU for pgsql-general@arkaria.postgresql.org; Tue, 20 Aug 2019 05:00:17 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hzwFj-0006mO-U8 for pgsql-general@arkaria.postgresql.org; Tue, 20 Aug 2019 05:00: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 1hzwFj-0006mH-Ie for pgsql-general@lists.postgresql.org; Tue, 20 Aug 2019 05:00:15 +0000 Received: from mail-pf1-x444.google.com ([2607:f8b0:4864:20::444]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hzwFg-0007nk-PH for pgsql-general@lists.postgresql.org; Tue, 20 Aug 2019 05:00:15 +0000 Received: by mail-pf1-x444.google.com with SMTP id d85so2614884pfd.2 for ; Mon, 19 Aug 2019 22:00:12 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=date:message-id:to:cc:subject:from:in-reply-to:references :user-agent:mime-version:content-transfer-encoding; bh=c6oCsiXAp+X3l5aYDkhIzM8g5c/xwifWsYWgpNYwOE0=; b=IcA3MaIJLzpYoPoINA5qCtxYDLmJhW202cmskwizvKLD5SFYKTpdQbRtPfzbmTlOG2 QmJLxFTiFoNW3Zw9q6q20/K0538QZPdLOTfsnU3MX+S74S3BBe5nYaml8DNgW2wuFhsg h6DA2UMYMetZ31c6LoqEm/ZEFiSFvnxm3XO7DZDwRFqev92M1XtH0EJyuRVdHDpzpnDl Co1UDQoRcM1Dilx6v/7fJ3G7ud8hY7nbYyQOhYU8A2HHVR4CjoTpjcMEKWtoF3Al7zcv Pa8W7jrNKjVFqVbAqYdU7OceM30zeoj/WZ+ulbbue9AWH7gfULCaP/QfrM1Nz86zdn4z hLLg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:date:message-id:to:cc:subject:from:in-reply-to :references:user-agent:mime-version:content-transfer-encoding; bh=c6oCsiXAp+X3l5aYDkhIzM8g5c/xwifWsYWgpNYwOE0=; b=lkO/wuOvrkxAkr0t4JHVRgTn3GM8vvyF+aOyLCikSgouSXmpqCDdLz11+Fyl4hTKcK gyRSTyg4HlSsOKieIgYtfhqls3vis7XSRiA4SO0Q+1K4ezg5UJS/IyH1x76hIcyFrTQH FlrcCVvqK8GNn5IxXRpRA4pnsY4ClBgEARpu35bQQDZ8e8hv53IwYMMGuszk7qt8WssB 4D2XiBSumF83AFyRytxJ/kjzLkJXGX1JWedSAE3PXTLd1plO8olDEqSaT2BA4hdX4CX/ zcUQ6Xhen6tm5XnO2XkwU9uIjVuoMuNE7YANw+k6QzQK4WABCk0EBE4+eb1S8R3vqXn9 k5Nw== X-Gm-Message-State: APjAAAV6+qmjhKO96V1RgkeUmy0b3SniR7KGs5vnWkZQ8p8wL2jF/PqO WY0GtZ7WzQyCWrE75MOsKlo= X-Google-Smtp-Source: APXvYqyDIiUWqy2n/jyubtGJ7gbVpUtGPSSr/9sBTQO14Uiem56qemRC9pXiT74XANSVUIljnvsxzA== X-Received: by 2002:a62:1d93:: with SMTP id d141mr9125760pfd.40.1566276845028; Mon, 19 Aug 2019 21:54:05 -0700 (PDT) Received: from localhost (w204177.dynamic.ppp.asahi-net.or.jp. [121.1.204.177]) by smtp.gmail.com with ESMTPSA id m4sm25082044pff.108.2019.08.19.21.54.02 (version=TLS1 cipher=AES128-SHA bits=128/128); Mon, 19 Aug 2019 21:54:04 -0700 (PDT) Date: Tue, 20 Aug 2019 13:53:38 +0900 (Tokyo Standard Time) Message-Id: <20190820.135338.105588994.horikyota.ntt@gmail.com> To: sfrost@snowman.net Cc: ronljohnsonjr@gmail.com, pgsql-general@lists.postgresql.org Subject: Re: postmaster utilization From: Kyotaro Horiguchi In-Reply-To: <20190819140730.GH16436@tamriel.snowman.net> References: <1580b264-7d47-a741-6acc-3f1ea8ee0d1f@gmail.com> <20190819140730.GH16436@tamriel.snowman.net> User-Agent: Mew version 6.5 on Emacs 22.2 / Mule 5.0 =?iso-2022-jp?B?KBskQjpnGyhCKQ==?= / Meadow-3.01-dev (TSUBO-SUMIRE) Mime-Version: 1.0 Content-Type: Text/Plain; charset=iso-8859-1 Content-Transfer-Encoding: quoted-printable List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk At Mon, 19 Aug 2019 10:07:30 -0400, Stephen Frost = wrote in <20190819140730.GH16436@tamriel.snowman.net> > Greetings, > = > * Ron (ronljohnsonjr@gmail.com) wrote: > > On 8/19/19 5:40 AM, Shiwangini Shishulkar wrote: > > >We have scheduled postgres full backup on centos 7 machine. DB siz= e is > > >around 66 GB. We observed while backup is running,=A0postmaster CP= U % > > >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? > = > ... What are you using to run the backup? It seems to have been reported as BUG #15961.. https://www.postgresql.org/message-id/15965-413bf5d18aaeface@postgresql= .org > PostgreSQL version: 11.4 > Operating system: CentOS Linux release 7.6.1810 (Core) > pg_dump -U postgres -d wg -f wg.sql = regards. -- = Kyotaro Horiguchi NTT Open Source Software Center