Re: Is cache disable ??? - Mailing list pgsql-general

From Tom Lane
Subject Re: Is cache disable ???
Date
Msg-id 29574.962762828@sss.pgh.pa.us
Whole thread Raw
In response to Is cache disable ???  ("Adam Michalunio - ONET.PL" <amichalu@poczta.onet.pl>)
List pgsql-general
"Adam Michalunio - ONET.PL" <amichalu@poczta.onet.pl> writes:
> 1) We build db with amount of 100MB of data. It is one table with 4 fields:=
>  3 numeric, 1 datetime. We've created indexes on all 4 fields and we trying=
>  with statement SELECT * from maindat WHERE knd01=3D1928372 AND org01=3D200=
>  AND date=3D... etc.=20

> We got about 5 times slower performance with compare to MS SQL 7.0.=20

Not enough info here.  What is the exact declaration of the table and
each index?  What is the exact query, and what does EXPLAIN show for it?

Also, if you haven't run a VACUUM ANALYZE on the table, it may help to
do that.

            regards, tom lane

pgsql-general by date:

Previous
From: "K. Ari Krupnikov"
Date:
Subject: Re: psql dumps core
Next
From: Tom Lane
Date:
Subject: Re: psql dumps core