Re: Re: Idea: recycle WAL segments, don't delete/recreate 'emm
От | Jan Wieck |
---|---|
Тема | Re: Re: Idea: recycle WAL segments, don't delete/recreate 'emm |
Дата | |
Msg-id | 200107172036.f6HKaus19637@jupiter.us.greatbridge.com обсуждение исходный текст |
Ответ на | Re: Re: Idea: recycle WAL segments, don't delete/recreate 'em (Bruce Momjian <pgman@candle.pha.pa.us>) |
Список | pgsql-hackers |
Bruce Momjian wrote: > > Checking application/pgp-signature: FAILURE > -- Start of PGP signed section. > > Hi - > > > > pgman wrote: > > > > : Most Unix filesystems will not allocate disk blocks until you write in > > : them. [...] > > > > Yes, I understand that, but how is it a problem for postgresql? > > Uh, I thought we did that so we were not allocating file system blocks > during WAL writes. Performance is bad when we do that. Performance isn't the question. The problem is when you get a "disk full" just in the middle of the need to write important WAL information. While preallocation of a new WAL file, it's OK and controlled, but there are more delicate portions of the code. Jan -- #======================================================================# # It's easier to get forgiveness for being wrong than for being right. # # Let's break this rule - forgive me. # #================================================== JanWieck@Yahoo.com # _________________________________________________________ Do You Yahoo!? Get your free @yahoo.com address at http://mail.yahoo.com
В списке pgsql-hackers по дате отправления: