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 Performance > full_page_write...
Latest [ Topics | Posts ] Archive Post A New Topic Post a Reply
<< Topic < Post Post 1 of 1 Topic 4005 of 4154
Post > Topic >>

full_page_write and also compressed logging

by james@[EMAIL PROTECTED] (James Mansion) Apr 18, 2008 at 08:55 PM

Has there ever been any analysis regarding the redundant write overhead 
of full page writes?

I'm wondering if once could regard an 8k page as being 64 off 128 byte 
paragraphs or
32 off 256byte paragraphs, each represented by a bit in a word.  And, 
when a pageis dirtied
by changes some record is kept of this based on the paragraphs 
affected.  Then you could
just incrementally dump the pre-image of newly dirtied paragraphs as you 
go, and the cost
in terms of dirtied pages would be much lower for the case of scattered 
updates.

(I was also wondering about just doing preimages based on chaned byte 
ranges but the
approach above is probably faster, doesn't dump the same range twice, 
and may fit
the existing flow more directly)

Also - has any attempt been made to push log writes through a cheap 
compressor, such
a zlib on lowest setting or one like Jeff Bonwick's for ZFS
(http://cvs.opensolaris.org/source/xref/onnv/onnv-gate/usr/src/uts/common/os/compress.c).

Would work well for largely textual tables (and I suspect a lot of 
integer data too).

James


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




 1 Posts in Topic:
full_page_write and also compressed logging
james@[EMAIL PROTECTED]   2008-04-18 20:55:31 

Post A Reply:
  Go here to Signup

AddThis Feed Button


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

Contact
tan13V112 Fri Jul 4 22:35:22 CDT 2008.