From: | Alan Hodgson <ahodgson(at)simkin(dot)ca> |
---|---|
To: | pgsql-general(at)postgresql(dot)org |
Subject: | Re: Speeding up query |
Date: | 2008-11-05 19:09:54 |
Message-ID: | 200811051109.54375@hal.medialogik.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
On Wednesday 05 November 2008, "Andrus" <kobruleht2(at)hot(dot)ee> wrote:
> takes 34 seconds. Tables are indexed and logfile shows autovacuum
> running. I ran VACUUM ANALYZE.
> It returns
>
> INFO: free space map contains 22501 pages in 77 relations
> DETAIL: A total of 20000 page slots are in use (including overhead).
> 111216 page slots are required to track all free space.
> Current limits are: 20000 page slots, 1000 relations, using 186 KB.
> NOTICE: number of page slots needed (111216) exceeds max_fsm_pages
> (20000) HINT: Consider increasing the configuration parameter
> "max_fsm_pages" to a value over 111216.
> Query returned successfully with no result in 201099 ms.
>
> How to speed up this query ?
>
> Should I set max_fsm_pages to a 113000 or other suggestions ?
Undoubtedly (higher), to prevent table bloat, but you'll also need to post
your table structures and an explain analyze for help speeding this
particular query.
--
Alan
From | Date | Subject | |
---|---|---|---|
Next Message | Sam Mason | 2008-11-05 19:11:41 | Re: Speeding up query |
Previous Message | Andrus | 2008-11-05 18:52:50 | How to use index in WHERE int = float |