Re: q: explain analyze

From: Jaime Casanova <systemguards(at)gmail(dot)com>
To: Mark <sendmailtomark(at)yahoo(dot)com>
Cc: pgsql-general(at)postgresql(dot)org
Subject: Re: q: explain analyze
Date: 2006-01-10 17:18:15
Message-ID: c2d9e70e0601100918s4a7f57c5x23abf59d4276c655@mail.gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 1/10/06, Mark <sendmailtomark(at)yahoo(dot)com> wrote:
> Hello,
>
> When I run 'explain analyze' on a query, how do I know what index is
> used and is it used at all. What are specific words should I look
> for?
>
> Is "Seq Scan" indicates that index has been used?
> How do I know that it was Full Table Scan?
>
> Thanks,
> Mark.
>

"Seq Scan" is short for Sequential Scan (Full Table Scan)...

you have to look for the word index to see what indexes are you using
if any (the name of the indexes are used too, so if you now indexe's
names you can find them in the explain analyze quickly)

--
Atentamente,
Jaime Casanova
(DBA: DataBase Aniquilator ;)

In response to

Responses

Browse pgsql-general by date

  From Date Subject
Next Message Harry Jackson 2006-01-10 17:46:12 Re: regarding triggers
Previous Message Mark 2006-01-10 17:13:04 q: explain analyze