Re: Index is not used - Mailing list pgsql-admin

From A.Bhuvaneswaran
Subject Re: Index is not used
Date
Msg-id 1071900746.1380.57.camel@Bhuvan.bksys.co.in
Whole thread Raw
In response to Re: Index is not used  (Tom Lane <tgl@sss.pgh.pa.us>)
Responses Re: Index is not used  (Ray Ontko <rayo@ontko.com>)
List pgsql-admin
> Unsurprising.  An inequality condition may require fetching many rows
> (the planner is estimating 336289 rows here...) and so an indexscan is
> not necessarily quicker.  Have you compared actual runtimes with
> enable_seqscan on and off?

I did run with enable_seqscan off. You are right, the plan shows that
indexscan is not quicker. Here is the explain output.

On the other hand, i have calculated the actual runtime with
enable_seqscan on and off. The runtime is 617 secs & 623 secs
respectively. I have also attached the log details. Is there any way to
increase this speed?

regards,
bhuvaneswaran


Attachment

pgsql-admin by date:

Previous
From: "C. Bensend"
Date:
Subject: pg_dump vs pg_dumpall - small database cluster, complete recovery method needed
Next
From: "A.Bhuvaneswaran"
Date:
Subject: Re: pg_dump vs pg_dumpall - small database cluster,