Re: wal_log_hints benchmarks
Michael Paquier <[email protected]>
| Newsgroups | gmane.comp.db.postgresql.performance |
|---|---|
| Message-ID | <[email protected]> |
On Fri, Jun 14, 2019 at 03:46:30PM +0200, Fabio Pardi wrote: > Maybe of some interest for the past, present and future community, I > benchmarked the impact of wal_log_hints with and without wal_compression > enabled. pgbench data is rather compressible per the format of its attributes, hence I am ready to bet that the compressibility would much much less if you use random text data for example. The amount of WAL generated also depends on the time it takes to run a transactions, and on the checkpoint timing, so I think that would you get better results by using a fixed number of transactions if you use pgbench, but that won't compare as much as a given workload in one session so as you can make sure that the same amount of WAL and full pages get generated. -- Michael
signature.asc
(application/pgp-signature, 833 B)
-----BEGIN PGP SIGNATURE----- iQIzBAABCgAdFiEEG72nH6vTowiyblFKnvQgOdbyQH0FAl0G9GMACgkQnvQgOdby QH1w4g//TzwEY0ClcZst8+uVGsyBzmwq/zpuC6i4ua5VVlGVhnGmGPJPedzPh1eH cWDefEhjqYctAbmLCVFjKhrM8jX3BUJjrOcVuopyVfT6jA15dl6JJkbybPARAQST CLk4TVMp4wC7K1TVTXpoGL4oAuS/1XG/4yFeINltntaI9TCyuxK5mwYqYKKiJ2Ug oCYCqw/bN3cirjAx6cHo3wVSffwDl2Yauw8g9Je2EM4fDSk5XC09YaWuprgeqI4e pa2kx6n+3t0BWwkO8he+Cs1R4++BG5marpnlc/vYLrlQ1N5aVxfbJ4dmyUn47reH sCEobBKUyoqUJd3G8GpR8L5DEDPlDBZAGMC2vLCITkN92lZB429zdVnW61H4GT8b cFwd7bOU0AfN5/i9Vy+VNNXwP7f+LC+OSlErFgHpH97B0fWZKEZHeQx4+gP5X61/ BuXjbS9DMrFclPVyqImMPQ97P2rDoQqt3ERji2q0XNEg5zA5f6JzzjLfgz0T+Qwm Reu7DVpb1sKy/26pB6rw6iK9OhCScZwg/TzjsJVtQbed48J38boY7bd/tuLrb5AN xcaXPAh0piYMIp8SOQ7aszIbz3Cz1JotWuveBKZZmKdC6D5M/24nvL42S3447V9N a88wv2vI2KURUdj1E7QwWlERItbdSjl2XfaofD6d0LcYqSFK7Sw= =6X92 -----END PGP SIGNATURE-----