Re: Extreme bloating of intarray GiST indexes

From: Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us>
To: Josh Berkus <josh(at)agliodbs(dot)com>
Cc: Alexander Korotkov <aekorotkov(at)gmail(dot)com>, postgres hackers <pgsql-hackers(at)postgresql(dot)org>
Subject: Re: Extreme bloating of intarray GiST indexes
Date: 2011-05-04 17:45:05
Message-ID: 14170.1304531105@sss.pgh.pa.us
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-hackers

Josh Berkus <josh(at)agliodbs(dot)com> writes:
> (c) we *think* that other columns of the table, including other indexed
> columns, are changed much more frequently than the intarray column is.
> Currently doing analysis on that.

Yeah, I noticed that your statistics for the table showed far more
updates than insertions or deletions. If the intarray itself didn't
change often, that would result in lots of duplicate entries being made
in the index. They'd get cleaned by vacuum eventually, but maybe not
fast enough to avoid the one-live-tuple-per-page syndrome that Alexander
was speculating about.

regards, tom lane

In response to

Browse pgsql-hackers by date

  From Date Subject
Next Message Peter Eisentraut 2011-05-04 18:07:35 Re: Unfriendly handling of pg_hba SSL options with SSL off
Previous Message Tom Lane 2011-05-04 17:36:44 Re: VARIANT / ANYTYPE datatype