Re: TOAST performance (was Re: [GENERAL] Delete Performance) - Mailing list pgsql-hackers

From Josh Rovero
Subject Re: TOAST performance (was Re: [GENERAL] Delete Performance)
Date
Msg-id 3BF5C0F8.1060108@sonalysts.com
Whole thread Raw
In response to TOAST performance (was Re: [GENERAL] Delete Performance)  (Tom Lane <tgl@sss.pgh.pa.us>)
List pgsql-hackers
Tom Lane wrote

>
>I did some experimentation here and found a rather surprising
>dependency: the time to delete a bunch of data is pretty much
>directly proportional to the disk space it occupies.  This says
>that we're paying through the nose for having XLOG make copies
>of about-to-be-modified pages.
>
At least now I know I wasn't imagining things....            :-)

Which brings up the question, what is the best way to deal with many
thousands of variable-length binary chunks.  Net input == net output
over the course of a day.   The new vacuum should help (both lo_ and
toasted tables take a long time to vacuum full), but I'm running into
the "Hotel California" situation.  Data goes in fast, but can't be
deleted fast enough to keep the database from continuously growing
in size.






pgsql-hackers by date:

Previous
From: Peter Eisentraut
Date:
Subject: Re: postgresql.conf
Next
From: Alex Avriette
Date:
Subject: Re: Super Optimizing Postgres