I was wondering if the multiple writes performed to the XLOG could be grouped into one write(). Seems everyone agrees: fdatasync/O_DSYNC is better then plain fsync/O_SYNC and the O_* flags are better than fsync() if we are doing only one write before every fsync. It seems the only open question is now often we do multiple writes before fsync, and if that is ever faster than putting the O_* on the file for all writes. -- Bruce Momjian | http://candle.pha.pa.us [EMAIL PROTECTED] | (610) 853-3000 + If your life is a hard drive, | 830 Blythe Avenue + Christ can be your backup. | Drexel Hill, Pennsylvania 19026 ---------------------------(end of broadcast)--------------------------- TIP 6: Have you searched our list archives? http://www.postgresql.org/search.mpl
- Re: [HACKERS] Allowing WAL fsync to be done via ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done ... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be d... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done via O_SYNC Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done via ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via ... Peter Eisentraut
- Re: [HACKERS] Allowing WAL fsync to be done via O_SYNC Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done via O_SY... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be done via ... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to be done ... Tom Lane
- Re: [HACKERS] Allowing WAL fsync to be d... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsync to... Tom Lane
- Re: [HACKERS] Allowing WAL fsyn... Bruce Momjian
- Re: [HACKERS] Allowing WAL fsyn... Tom Lane
- Re: [HACKERS] Allowing WAL fsyn... Bruce Momjian
- RE: [HACKERS] Allowing WAL fsync to be done via O_SYNC Mikheev, Vadim