Hi, I woul like to know if it's possible to set a nofsync behavior of a pgsql database at the client connection time. The fact is that I have - important but not frequently consulted/created/updated datas - not important but very frequently updated datas in my database. Thus I would like to speed up the things for the not important datas while remain with slower but more secure fsync behavior for my important datas if it's possible, please give me the exact syntax of the connection option. By the way, my client is PHP4. regards, Antoine Ameurlain Prosodie
Ameurlain Antoine <aameurlain@prosodie.com> writes:
> I woul like to know if it's possible to set a nofsync behavior of a
> pgsql database at the client connection time.
This works in (IIRC) 7.0.2 and later. Run the postmaster with fsync by
default, and set PGOPTIONS="-F" on the client side for the clients
that don't want fsync.
regards, tom lane
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера