Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c
В списке pgsql-hackers по дате отправления:
| От | Mattias Kregert |
|---|---|
| Тема | Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c |
| Дата | |
| Msg-id | 3539495A.2EAA3739@algonet.se обсуждение исходный текст |
| Ответ на | Re: [HACKERS] fsync -> fdatasync in backend/storage/file/fd.c (The Hermit Hacker <scrappy@hub.org>) |
| Список | pgsql-hackers |
The Hermit Hacker wrote: > > > I always have fsync enabled. > > Why? IMHO, the only use for this is where the system you are > running it on is suspect, and you fear it crashing alot... > I started using the -F option to speed thing up, but then I had one powerfailure which totally trashed postgresql. I could not recover anything and had to restore from previous day's backup, loosing a whole day of work. Then I started using fsync again. Perhaps some emergency rescue utility would be useful in those cases when some vital files are trashed. A utility which could go thru all files and try to fix things missing in system catalogs and so on, fix all obvious errors, recreate indices, remove duplicates, add missing pieces... /* m */
В списке pgsql-hackers по дате отправления:
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера