Unix Technical Forum

Re: Checkpoint cost, looks like it is WAL/CRC

This is a discussion on Re: Checkpoint cost, looks like it is WAL/CRC within the pgsql Hackers forums, part of the PostgreSQL category; --> >> Only workable solution would imho be to write the LSN to each 512 byte >> block (not that ...


Go Back   Unix Technical Forum > Database Server Software > PostgreSQL > pgsql Hackers

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 04-11-2008, 05:46 AM
Zeugswetter Andreas DAZ SD
 
Posts: n/a
Default Re: Checkpoint cost, looks like it is WAL/CRC


>> Only workable solution would imho be to write the LSN to each 512

byte
>> block (not that I am propagating that idea).


"Only workable" was a stupid formulation, I meant a solution that works
with
a LSN.

> We're not doing anything like that, as it would create an
> impossible space-management problem (or are you happy with
> limiting tuples to 500 bytes?).


To do it, a layer between physical storage and row workmemory
would need to be inserted, of course that would add a lot of overhead.
I guess more overhead than computing a page crc.

> We still don't know enough about the situation to know what a solution

might look like.
> Is the slowdown Josh is seeing due to the extra CPU cost of the CRCs,

or the extra I/O cost,
> or excessive locking of the WAL-related data structures while we do

this stuff, or ???.
> Need more data.


Yes, especially the 10 sec instead of 1 sec response times look very
suspicious.

Andreas

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

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

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 09:35 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.2.0
www.UnixAdminTalk.com