Re: Load Distributed Checkpoints, take 3
От
Heikki Linnakangas
Тема
Re: Load Distributed Checkpoints, take 3
Дата
Msg-id
468125F1.4040908@enterprisedb.com
Ответ на
Re: Load Distributed Checkpoints, take 3 (Tom Lane)
Список
Дерево обсуждения
Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Bruce Momjian <bruce@momjian.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 "Simon Riggs" <simon@2ndquadrant.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Gregory Stark <stark@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Alvaro Herrera <alvherre@commandprompt.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 "Simon Riggs" <simon@2ndquadrant.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 "Simon Riggs" <simon@2ndquadrant.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 "Simon Riggs" <simon@2ndquadrant.com>
Re: Load Distributed Checkpoints, take 3 Magnus Hagander <magnus@hagander.net>
Re: Load Distributed Checkpoints, take 3 "Simon Riggs" <simon@2ndquadrant.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Tom Lane <tgl@sss.pgh.pa.us>
Re: Load Distributed Checkpoints, take 3 Greg Smith <gsmith@gregsmith.com>
Re: Load Distributed Checkpoints, take 3 Heikki Linnakangas <heikki@enterprisedb.com>
Tom Lane wrote: > Anyway, if there are no XLOG records since the last checkpoint, there's > probably nothing in shared buffers that needs flushing. There might be > some dirty hint-bits, but the only reason to push those out is to make > some free buffers available, and doing that is not checkpoint's job (nor > the all-buffers scan's job); that's what the LRU scan is for. Yeah, except the LRU scan is not doing a very good job at that. It will ignore buffers with usage_count > 0, and it only scans bgwriter_lru_percent buffers ahead of the clock hand. One pathological case is a COPY of a table slightly smaller than shared_buffers. That will fill the buffer cache. If you then have a checkpoint, and after that a SELECT COUNT(*), or a VACUUM, the buffer cache will be full of pages with just hint-bit-updates, but no WAL activity since last checkpoint. But let's fix the LRU scan, rather work around it's deficiencies. -- Heikki Linnakangas EnterpriseDB http://www.enterprisedb.com
В списке pgsql-patches по дате отправления