Re: Regarding Sequential Scans count increase each time we press refresh . - Mailing list pgsql-performance

From Josh Berkus
Subject Re: Regarding Sequential Scans count increase each time we press refresh .
Date
Msg-id 4ABC0DE2.5040202@agliodbs.com
Whole thread Raw
In response to Regarding Sequential Scans count increase each time we press refresh .  (keshav upadhyaya <ukeshav2009@gmail.com>)
Responses Re: Regarding Sequential Scans count increase each time we press refresh .
List pgsql-performance
Keshav,

> I have one table  my_test table . with on index created on one column .
>
>
> I have turned off the sequential scans .
>
> Now when ever i do refresh on this table or press F5 , It increase the
> sequential scans count and
> Sequential tuple read count .

What's a "refresh"?

You can't "turn off" sequential scans.  You can only make the planner
less likely to choose them.  But if there's no way to get the data you
need other than a seqscan, it's still going to do one.

--
Josh Berkus
PostgreSQL Experts Inc.
www.pgexperts.com

pgsql-performance by date:

Previous
From: Craig James
Date:
Subject: Re: High CPU load on Postgres Server during Peak times!!!!
Next
From: Dan Sugalski
Date:
Subject: PG 8.3 and large shared buffer settings