Re: How to find out about index

From: "Shridhar Daithankar" <shridhar_daithankar(at)persistent(dot)co(dot)in>
To: pgsql-general <pgsql-general(at)postgresql(dot)org>
Subject: Re: How to find out about index
Date: 2002-10-09 09:24:23
Message-ID: 3DA4431F.4358.19BF74E7@localhost
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-general

On 9 Oct 2002 at 14:45, Savita wrote:

> Hi all,
>
> I have one more question regarding index.
>
> I have 1 master table.
> 1 child table.
> I am creating a view out of this two tables.
>
> When I used explain command it is showing sqg scan on master table ,even
> though I have created a index on some columns of master table

May be master table has relatively few records so planner considers a
sequential scan better than indexed scan.

Bye
Shridhar

--
union, n.: A dues-paying club workers wield to strike management.

In response to

Browse pgsql-general by date

  From Date Subject
Next Message Tom Lane 2002-10-09 13:32:50 Re: [pgsql-performance] Large databases, performance
Previous Message Chris Hall 2002-10-09 09:15:57 Re: Installing PL/Python (progress!)