Re: Query Performance question - Mailing list pgsql-performance

From Thomas Kellerer
Subject Re: Query Performance question
Date
Msg-id lpvviu$en3$1@ger.gmane.org
Whole thread Raw
In response to Re: Query Performance question  ("Magers, James" <James.Magers@turner.com>)
Responses Re: Query Performance question  ("Magers, James" <James.Magers@turner.com>)
List pgsql-performance
Magers, James, 14.07.2014 04:20:

> Thank you for your feedback.  I am attaching the requested information.
> While I do not think the query is necessarily inefficient, I believe  a sequence scan would be more efficient.

You can try

set enable_indexscan = off;
set enable_bitmapscan = off;

and then run your query.

But I would be very surprised if a seq scan (which reads through the whole table) was faster than those 4ms you have
now


pgsql-performance by date:

Previous
From: "Magers, James"
Date:
Subject: Re: Query Performance question
Next
From: "Magers, James"
Date:
Subject: Re: Query Performance question