why postgresql is so slow?

Поиск
Список
Период
Сортировка
От Jinqiang Han
Тема why postgresql is so slow?
Дата
Msg-id 200309201708250.SM01224@hanvin
обсуждение исходный текст
Ответы Re: why postgresql is so slow?  (Richard Huxton <dev@archonet.com>)
Список pgsql-hackers
hello, all.

I have a table about 2 million rows. when I run "select * from table1" in psql, it will take me about 10 minutes to get
theresult. I wonder if postgresql can immediately return result like db2.
 

After that I create a index on  a column named id. The time executing "selct * from table1 where id=10" in psql is much
fasterthan that of executing "select * from table1 where id <10" in psql. why?
 

By the way I'm using postgresql 7.3.

Who can tell me the reason. 3x.

Jinqiang Han




В списке pgsql-hackers по дате отправления:

Предыдущее
От: Christopher Browne
Дата:
Сообщение: Re: PostgreSQL not ACID compliant?
Следующее
От: Richard Huxton
Дата:
Сообщение: Re: why postgresql is so slow?