Re: [HACKERS] fsyncing data to disk

2011-09-09 Thread Greg Stark
On Fri, Sep 9, 2011 at 7:46 PM, Florian Pflug wrote: >> I am going to use the whole partition device for the DB (like /dev/sda1) >> , so no filesystem code will be used. Also I am using asynchronous IO >> (the aio_read and aio_write) and I don't know if they can be combined >> with the fdatasync()

Re: [HACKERS] fsyncing data to disk

2011-09-09 Thread Florian Pflug
On Sep9, 2011, at 20:15 , Nulik Nol wrote: > this is not exactly a Postgresql question, but an input from hackers > list like this would be invaluable for me. > I am coding my own database engine, and I decided to do not implement > transaction engine because it implies too much code. > But to achi

[HACKERS] fsyncing data to disk

2011-09-09 Thread Nulik Nol
Hi, this is not exactly a Postgresql question, but an input from hackers list like this would be invaluable for me. I am coding my own database engine, and I decided to do not implement transaction engine because it implies too much code. But to achieve the Durability of ACID I need a 100% reliable