Re: Is cache disable ???

Поиск
Список
Период
Сортировка
От Tom Lane
Тема Re: Is cache disable ???
Дата
Msg-id 29574.962762828@sss.pgh.pa.us
обсуждение исходный текст
Ответ на Is cache disable ???  ("Adam Michalunio - ONET.PL" <amichalu@poczta.onet.pl>)
Список 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 по дате отправления:

Предыдущее
От: "K. Ari Krupnikov"
Дата:
Сообщение: Re: psql dumps core
Следующее
От: Tom Lane
Дата:
Сообщение: Re: psql dumps core