a set then
sequential
scan.
Igor Artimenko
--- Dennis Bjorklund <[EMAIL PROTECTED]> wrote:
> On Fri, 27 Aug 2004, Artimenko Igor wrote:
>
> > 1. Sequential search and very high cost if set enable_seqscan to on;
> > Seq scan on messageinfo ( cost=0.00..24371.30, rows =
Hi everybody!
Here is my queries:
1. explain SELECT * FROM messageinfo WHERE user_id = CAST( 2 AS BIGINT ) and
msgstatus = CAST(
0 AS smallint );
2. explain SELECT * FROM messageinfo WHERE messageinfo.user_id = 2::int8 and
msgstatus =
0::smallint;
In both cases Explain command shows:
Thanks a lot. This issue has been resolved by casting to int8. I thought Postgres does
those casts
up by himself implicitelly.
=
Thanks a lot
Igor Artimenko
I specialize in
Java, J2EE, Unix, Linux, HP, AIX, Solaris, Progress, Oracle, DB2, Postgres, Data
Modeling
_
Hi everybody!
I cant make use of indexes even I tried the same test by changing different settings
in
postgres.conf like geqo to off/on & geqo related parameters, enable_seqscan off/on &
so on. Result
is the same.
Here is test itself:
Ive created simplest table test and executed the same st