Re: vacuum performance on insert
От
Kevin Grittner
Тема
Re: vacuum performance on insert
Дата
Msg-id
4C5FC469020000250003435F@gw.wicourts.gov
Ответ на
Re: vacuum performance on insert (Sean Chen)
Список
Дерево обсуждения
vacuum performance on insert Sean Chen <zyschen@gmail.com>
Re: vacuum performance on insert "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Re: vacuum performance on insert Tom Lane <tgl@sss.pgh.pa.us>
Re: vacuum performance on insert Sean Chen <zyschen@gmail.com>
Re: vacuum performance on insert "Kevin Grittner" <Kevin.Grittner@wicourts.gov>
Sean Chen wrote: > Now from what you mentioned below, do you know what's the cost of > postgres requesting new disk space from OS? Depending on your OS and its version, your file system, your mount options, and your disk subsystem (and its firmware revision), there could be various effects -- the one likely to be biting you is write barriers. When you allocate additional space from the OS, and it extends a file or creates a new file, there might be a write barrier to ensure that the file system catalog entries are persisted. This could cause all writes (and possibly even reads) to pause until the data is written to disk. That's just a guess, of course. If you have a profiler you can run you might be able to pin it down with that. -Kevin
В списке pgsql-performance по дате отправления
От: Yeb Havinga
Дата:
От: Scott Carey
Дата: