I'm now participating in a PG project.I need to modify some parts of the log buffer flushing function and the data buffer flushing function.I don't know where they are. Could you tell me where the following two functions are: --Log Buffer Flush:Only flush the dirty log buffer into the disk,not including the database data.(Is it XLogFlush in xlog.c?) --Data Buffer Flush:Only flush the dirty database data(items) into the disk not including the log buffer. I'm now in urgent need of your help. Thank you in advance! Charlie Wang
"Íõ±¦±ø" <wangbaobing@gmail.com> wrote > > --Data Buffer Flush:Only flush the dirty database data(items) into the disk > not including the log buffer. > In most cases, if you just flush the dirty database pages into disk without related xlog records, you are violating WAL. A possible consequence is data corruption if any system error happens. Regards, Qingqing
Сайт использует файлы cookie для корректной работы и повышения удобства. Нажимая кнопку «Принять» или продолжая пользоваться сайтом, вы соглашаетесь на их использование в соответствии с Политикой в отношении обработки cookie ООО «ППГ», в том числе на передачу данных из файлов cookie сторонним статистическим и рекламным службам. Вы можете управлять настройками cookie через параметры вашего браузера