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 1hboy2-0001K7-OE for pgsql-general@arkaria.postgresql.org; Fri, 14 Jun 2019 16:22:18 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1hboy1-00023T-BS for pgsql-general@arkaria.postgresql.org; Fri, 14 Jun 2019 16:22:17 +0000 Received: from makus.postgresql.org ([2001:4800:3e1:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hboy0-00023M-VT for pgsql-general@lists.postgresql.org; Fri, 14 Jun 2019 16:22:17 +0000 Received: from mail.hjp.at ([212.17.106.138] helo=rorschach.hjp.at) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1hboxw-0005j4-5b for pgsql-general@lists.postgresql.org; Fri, 14 Jun 2019 16:22:15 +0000 Received: by rorschach.hjp.at (Postfix, from userid 1000) id 3D5292BAE; Fri, 14 Jun 2019 18:22:09 +0200 (CEST) Date: Fri, 14 Jun 2019 18:22:09 +0200 From: "Peter J. Holzer" To: pgsql-general@lists.postgresql.org Subject: Re: checkpoints taking much longer than expected Message-ID: <20190614162209.7ek4xt5uxcaw4jho@hjp.at> References: MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha256; protocol="application/pgp-signature"; boundary="gj2gxkysvjl4afj3" Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk --gj2gxkysvjl4afj3 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On 2019-06-14 16:01:40 +0200, Tiemen Ruiten wrote: > FS is ZFS, the dataset with the PGDATA directory on it has the following > properties (only non-default listed): [...] > My problem is that checkpoints are taking a long time. Even when I run a = few > manual checkpoints one after the other, they keep taking very long, up to= 10 > minutes: There was a discussion about ZFS' COW behaviour and PostgreSQL reusing WAL files not being a good combination about a year ago: https://www.postgresql.org/message-id/flat/CACukRjO7DJvub8e2AijOayj8BfKK3XX= BTwu3KKARiTr67M3E3w%40mail.gmail.com Maybe you have the same problem? hp --=20 _ | Peter J. Holzer | we build much bigger, better disasters now |_|_) | | because we have much more sophisticated | | | hjp@hjp.at | management tools. __/ | http://www.hjp.at/ | -- Ross Anderson --gj2gxkysvjl4afj3 Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAABCAAdFiEETtJbRjyPwVTYGJ5k8g5IURL+KF0FAl0DyaoACgkQ8g5IURL+ KF0Pag//X8nsQcobZh2NwxEFlbq3g2ertQr9YOZwM6YahKfUtrAKR8Z1eCSd1ut+ K4ZBJbrOoahbl9/xI5AnNtL1J14MGx6mbmusTIK+VgTLI0JKuPNmbdYEY5kMufGc LOf5rOPdYAtYmJjbDX2bB3uKC4diWXlO2HP2T0tVE3SkawFC5rSG+XeBesdtcUBo sZAsk9xxl/7a1HWLQKyVsD08szmOuVuKKkvIPe7LSbahoFvzD8zYF2/Fr1zl+03X A4zzkSkO30SPKAivnxcRHMbJwF+Ilxq6UYMj9E91fgFzhujWOGqiKC1B5/RIckjZ k7RUDyCrOb2X2xFVRan2oMgygxe3ua16GDu0SNQcNTlded1BL/tAB4UQVy+I/5QG 3j7T8l2mEKIIZTRzjbgQaZAXJAy6Bjid3/jCBMNEs74GlNJboL4YNwi1bf7NtgnZ sSfqBmWDX+CqxOplCHQpVMr3hGRcqNX13RNOE5YgRZZ+tfHgreEfRxPPmbJz9MKm 7+vV4ZhY1F7jw2LcqiG8wQyWqOEi/5YFmQ0wXFcUTO0VhfwrcTE+UClwWfPmvkOJ YsUlzlKEG7i5y/sRJPB+aVjuaWbnqW7e7/UNOKPZ5DSBR6wm6d7Nvc4bHqrfeKT8 Rw6e08JfAK3rZFSTto5rFIFjmKYsa5zS/5WQVWiIgZ2LkHFLriQ= =uXBg -----END PGP SIGNATURE----- --gj2gxkysvjl4afj3--