Re: Improve configurability for IO related behavoir

2022-05-28 Thread Thomas Munro
On Sun, May 29, 2022 at 4:29 AM 浩辰 何 wrote: > Furthermore, the results above are also related to IO API supported by OS. > MySQL support synchronized IO and Linux libaio. It seems > that PostgreSQL only supports synchronized IO, so shall we support more IO > engines? like io_uring which is very

Improve configurability for IO related behavoir

2022-05-28 Thread 浩辰 何
Dear developers: I have some suggestions on PostgreSQL's IO behavior. I am not sure my opinions are right. Many thanks for your time! It is documented that : wal_sync_method​ (enum): The open_*​ options also use O_DIRECT if available. Shall PostgreSQL consider making O_DIRECT configurable? In My