Re: autovacuum and TOAST tables - Mailing list pgsql-hackers

From Tom Lane
Subject Re: autovacuum and TOAST tables
Date
Msg-id 15032.1218215810@sss.pgh.pa.us
Whole thread Raw
In response to autovacuum and TOAST tables  (Alvaro Herrera <alvherre@commandprompt.com>)
Responses Re: autovacuum and TOAST tables  (Alvaro Herrera <alvherre@commandprompt.com>)
List pgsql-hackers
Alvaro Herrera <alvherre@commandprompt.com> writes:
> There's two things I'm not happy about in this patch:

> 1. it uses a List to keep the mapping of heap<->toast Oids.  This is
> needed to be able to fetch the main rel's pg_autovacuum entry to process
> the toast table.  This incurs in O(n^2) behavior.

Use a dynahash table instead?
        regards, tom lane


pgsql-hackers by date:

Previous
From: chris
Date:
Subject: Re: Avoiding Application Re-test
Next
From: "Heikki Linnakangas"
Date:
Subject: Replay attack of query cancel