Re: Load distributed checkpoint
От
Martijn van Oosterhout
Тема
Re: Load distributed checkpoint
Дата
Msg-id
20061221102641.GB14992@svana.org
Ответ на
Re: Load distributed checkpoint (ITAGAKI Takahiro)
Список
Дерево обсуждения
Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint Tom Lane <tgl@sss.pgh.pa.us>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint "Simon Riggs" <simon@2ndquadrant.com>
Re: Load distributed checkpoint Martijn van Oosterhout <kleptog@svana.org>
Re: Load distributed checkpoint "Simon Riggs" <simon@2ndquadrant.com>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint Tom Lane <tgl@sss.pgh.pa.us>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint Heikki Linnakangas <heikki@enterprisedb.com>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint Tom Lane <tgl@sss.pgh.pa.us>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint "Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>
Re: Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Gregory Stark <stark@enterprisedb.com>
Re: Load distributed checkpoint Bruce Momjian <bruce@momjian.us>
Re: Load distributed checkpoint Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Load distributed checkpoint Gregory Stark <stark@enterprisedb.com>
Re: Load distributed checkpoint Tom Lane <tgl@sss.pgh.pa.us>
Re: Load distributed checkpoint "Jim C. Nasby" <jim@nasby.net>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint Brad Nicholson <bnichols@ca.afilias.info>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Ron Mayer <rm_pg@cheapcomplexdevices.com>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint "Zeugswetter Andreas ADI SD" <ZeugswetterA@spardat.at>
Re: Load distributed checkpoint "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: Load distributed checkpoint "Inaam Rana" <inaamrana@gmail.com>
Re: Load distributed checkpoint ITAGAKI Takahiro <itagaki.takahiro@oss.ntt.co.jp>
Re: Load distributed checkpoint Greg Smith <gsmith@gregsmith.com>
On Thu, Dec 21, 2006 at 06:46:36PM +0900, ITAGAKI Takahiro wrote: > > Oh, really, what an evil fsync is! Yes, I sometimes saw a backend > > waiting for lseek() to complete when it committed. But why does the > > backend which is syncing WAL/pg_control have to wait for syncing the > > data file? They are, not to mention, different files, and WAL and > > data files are stored on separate disks. > > Backends call lseek() in planning, so they have to wait fsync() to > the table that they will access. Even if all of data in the file is in > the cache, lseek() conflict with fsync(). You can see a lot of backends > are waiting in planning phase in checkpoints, not executing phase. Hmm, there are other ways to sync parts of a file. For example doing an mmap()/msync()/munmap() cycle to start an asyncronous flush. But given what you're saying that might suffer from the same problem. Have a nice day, -- Martijn van Oosterhout http://svana.org/kleptog/ > From each according to his ability. To each according to his ability to litigate.
В списке pgsql-hackers по дате отправления