From: | Thom Brown <thom(at)linux(dot)com> |
---|---|
To: | bricklen <bricklen(at)gmail(dot)com> |
Cc: | Bjørn T Johansen <btj(at)havleik(dot)no>, "pgsql-general(at)postgresql(dot)org" <pgsql-general(at)postgresql(dot)org> |
Subject: | Re: Analyze tool? |
Date: | 2010-10-01 15:23:07 |
Message-ID: | AANLkTinjcEotKUL3x8s-xyP7mugT_xQpw_G=t-WzyG9e@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-general |
2010/10/1 bricklen <bricklen(at)gmail(dot)com>:
> 2010/10/1 Thom Brown <thom(at)linux(dot)com>:
>> But to find out what indexes you'll need, getting used to reading
>> query plans will help as it will show you more than just where
>> sequentials scans are taking place. It will also show you what the
>> planner believes a query will cost compared to how much it actually
>> costs, which can provide insight into tables which require vacuuming,
>> indexes which might need clustering, or table stats which require
>> modifying to match you data.
>
> A couple related tools to help with explain plans are the query
> analyzer in pgAdmin
> (http://www.pgadmin.org/images/screenshots/pgadmin3_macosx.png) and
> online at http://explain.depesz.com/
Believe it or not, I still prefer to read the plain text query plan,
although pgAdmin's graphical representation is quite nice.
--
Thom Brown
Twitter: @darkixion
IRC (freenode): dark_ixion
Registered Linux user: #516935
From | Date | Subject | |
---|---|---|---|
Next Message | Greg Smith | 2010-10-01 15:31:15 | Re: Merge replication with Postgresql on Windows? |
Previous Message | Dr. Peter Voigt | 2010-10-01 15:15:35 | Re: PostgreSQL 9.0 (x86-64) and Windows 7 (x86-64) - Unable to install |