From: | Alex Mayrhofer <axelm(at)nona(dot)net> |
---|---|
To: | Tom Lane <tgl(at)sss(dot)pgh(dot)pa(dot)us> |
Cc: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: index growth |
Date: | 2006-04-09 17:31:19 |
Message-ID: | 443944E7.5040505@nona.net |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
Tom Lane wrote:
> Alex Mayrhofer <axelm(at)nona(dot)net> writes:
>> i have a bunch of indices over rather frequently updated large tables. Those
>> indices grow in size with the updates, so i frequently re-index them.
>
> That usually shouldn't be necessary since PG 7.4 or so. Do you have
> some strange pattern of index key usage that is triggering index bloat,
> or is this just a habit leftover from pre-7.4?
Hmm, my index definition (running 8.1.0) looks as follows:
Index "public.l_renderjobs_uri_idx"
Column | Type
-------------+------------------------
request_uri | character varying(200)
btree, for table "public.l_renderjobs"
a recent REINDEX reduced that index from about 30000 pages to 18000.
The table contains about 1.5 millions URLs, and i load http usage updates on
the table every day, which modifies around 40000 of those records daily.
So, is this something where bloating should be expected, or am i doing
something wrong?
thanks,
Alex
From | Date | Subject | |
---|---|---|---|
Next Message | Martijn van Oosterhout | 2006-04-09 17:36:03 | Re: Debian package for freeradius_postgresql module |
Previous Message | Joshua D. Drake | 2006-04-09 17:31:09 | Re: Load testing across 2 machines |