Talk About Network

Google


Register and Login
Nick
Password
Register create new account Sign up is FREE and you can post replies, new topics, bookmark posts and more!
Recover lost password


Data Bases > Pgsql General > Re: Interesting...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 2 of 2 Topic 15449 of 17602
Post > Topic >>

Re: Interesting comments about fsync on Linux

by gsmith@[EMAIL PROTECTED] (Greg Smith) May 4, 2008 at 07:03 PM

On Sat, 3 May 2008, Bruno Wolff III wrote:

> The suggestion is that fsync isn't really safe on Linux as it is
currently
> implented.

The issue of needing to turn off underlying disk write caches under Linux 
is do***ented: 
http://www.postgresql.org/docs/8.3/interactive/wal-reliability.html

As for concerns about individual blocks not being written in order, as 
long as everything associated with a commit is done when the fsync returns

that shouldn't be an issue for the PostgreSQL WAL implementation.

It is easier to shoot yourself in the foot than it should be on Linux, but

it's possible to avoid that with care.

--
* Greg Smith gsmith@[EMAIL PROTECTED]
 http://www.gregsmith.com
Baltimore, MD

-- 
Sent via pgsql-general mailing list (pgsql-general@[EMAIL PROTECTED]
)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-general
 




 2 Posts in Topic:
Interesting comments about fsync on Linux
bruno@[EMAIL PROTECTED]   2008-05-03 15:51:29 
Re: Interesting comments about fsync on Linux
gsmith@[EMAIL PROTECTED]   2008-05-04 19:03:29 

Post A Reply:
  Go here to Signup

AddThis Feed Button


About - Advertising - Contact - Frequently Asked Questions - Privacy Policy - Terms of Use - Signup

Contact
tan12V112 Mon Dec 1 19:42:39 CST 2008.