| От | Andres Freund |
|---|---|
| Тема | Re: Error with index on unlogged table |
| Дата | |
| Msg-id | 20151209074140.GH28762@awork2.anarazel.de обсуждение |
| Ответ на | Re: Error with index on unlogged table (Michael Paquier <michael.paquier@gmail.com>) |
| Ответы |
Re: Error with index on unlogged table
|
| Список | pgsql-hackers |
On 2015-12-09 16:30:47 +0900, Michael Paquier wrote: > > I'm kinda wondering if it wouldn't have been better to go through shared > > buffers in ResetUnloggedRelationsInDbspaceDir() instead of using > > copy_file(). > > For deployment with large shared_buffers settings, wouldn't that be > actually more costly than the current way of doing? We would need to > go through all the buffers at least once and look for the INIT_FORKNUM > present to flush them. We could just check the file sizes on disk, and the check for the contents of all the pages for each file.
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера