Search Postgresql Archives

Re: fsync=off & shutdown => crash?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Benjamin Arai <me@xxxxxxxxxxxxxxxx> writes:
> I was reading the docuementation for 8.3 
> (http://www.postgresql.org/docs/8.3/static/wal-async-commit.html) and it 
> states "An immediate-mode shutdown is equivalent to a server crash, and 
> will therefore cause loss of any unflushed asynchronous commits.". Does 
> this mean that doing a "shutdown" (centos: /sbin/service postgresql 
> stop) will be considered a crash? 

Not unless the initscript uses an immediate-mode shutdown signal,
which would be a fairly unfriendly thing for it to do.

			regards, tom lane

---------------------------(end of broadcast)---------------------------
TIP 3: Have you checked our extensive FAQ?

               http://www.postgresql.org/docs/faq

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Index of Archives]     [Postgresql Jobs]     [Postgresql Admin]     [Postgresql Performance]     [Linux Clusters]     [PHP Home]     [PHP on Windows]     [Kernel Newbies]     [PHP Classes]     [PHP Books]     [PHP Databases]     [Postgresql & PHP]     [Yosemite]
  Powered by Linux