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 1hziJs-0003c0-H4 for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 14:07:36 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hziJq-0001Av-Ho for pgsql-general@arkaria.postgresql.org; Mon, 19 Aug 2019 14:07:34 +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 1hziJq-00019M-8R for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 14:07:34 +0000 Received: from tamriel.snowman.net ([96.255.250.162]) by magus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hziJn-0007aI-ET for pgsql-general@lists.postgresql.org; Mon, 19 Aug 2019 14:07:33 +0000 Received: by tamriel.snowman.net (Postfix, from userid 1000) id 560055F79F; Mon, 19 Aug 2019 10:07:30 -0400 (EDT) Date: Mon, 19 Aug 2019 10:07:30 -0400 From: Stephen Frost To: Ron Cc: pgsql-general@lists.postgresql.org Subject: Re: postmaster utilization Message-ID: <20190819140730.GH16436@tamriel.snowman.net> References: <1580b264-7d47-a741-6acc-3f1ea8ee0d1f@gmail.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha512; protocol="application/pgp-signature"; boundary="Hfq6WoidoTeND1CZ" Content-Disposition: inline In-Reply-To: <1580b264-7d47-a741-6acc-3f1ea8ee0d1f@gmail.com> User-Agent: Mutt/1.5.24 (2015-08-30) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --Hfq6WoidoTeND1CZ Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable 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 size is > >around 66 GB. We observed while backup is running,=A0postmaster 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 h= ow > >we can access the database during the backup window. Please let us know = on > >priority since this is our prod database. >=20 > Are you compressing the backup? > How many threads are you running? > How many CPUs on your system? > What version of Postgres? =2E.. What are you using to run the backup? Thanks, Stephen --Hfq6WoidoTeND1CZ Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1 iQIcBAEBCgAGBQJdWq0hAAoJEO1sijiDR2RVgvYP+waSnxfl7nN6EWMTQQsIecaG g0cXpLh65sOiIxWb1woz+/hFNHcGYqttmluk6YymDxvQBMC4ItX+ubmAPFDdHlC9 GNvXUYcgZNJLPtGPhrbOKGe+y7sME0ATpIBIS/8zo565uVGl8n8ya7yH7DJLxTqb MWw0v1oNI3wepYc/RaVVSaiKmHjFh7n81/v+4nKDGTcenRaxwGatZG1Vjmg4tTYK fLcquA/dRtYsUsnM4JM0yZRIWQiwSQGmx1JrE3FlGGNPlyZq8ez9io9Se1HcMC4x JpOq9c6WFXgCiqwA0i3rHqJyZJAOD0Gzm0AuGuobg1AXw2Tl7wEyxIpKaYLgVGra zIObX594SvwjUWv8dsr2LPZHxvZE4Zh5yflDNFPln2caxXSu6tG09u8QJZ5tMQDB ay3yeaEvPbm4dWn1VGR40GK/uvmp3najQHnj//kC6qIIWQox3Q+Q/2vn9+4zv1C9 REZWr05Pahz+qtjok3j8xt92XG6VM21eCP7pru3EmyYQSbPPkuczpjPS44Uk9uvz mt/jZRCTfLW9mX2+NVtgcTDhpCe4BRlhGWZI7S1MGx1LwR7JLB8J6n+3X/M3mWEY iHUXALl3WWJGrmPdb14TtshhhSJUhst5pBtJ+H84AQHRXWt29uxTt9uS+/vs9VNZ ysqVtql4tSyGRz9yzdlj =+7hi -----END PGP SIGNATURE----- --Hfq6WoidoTeND1CZ--