Re: About Buffer Flushing Function - Mailing list pgsql-hackers

From Qingqing Zhou
Subject Re: About Buffer Flushing Function
Date
Msg-id dv2nie$253b$1@news.hub.org
Whole thread Raw
In response to About Buffer Flushing Function  (王宝兵 <wangbaobing@gmail.com>)
List pgsql-hackers
"Íõ±¦±ø" <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

pgsql-hackers by date:

Previous
From: Tatsuo Ishii
Date:
Subject: Re: [PATCHES] pg_freespacemap question
Next
From: Tom Lane
Date:
Subject: Re: [PATCHES] pg_freespacemap question