Re: Postgresql simple query performance question

Поиск
Список
Период
Сортировка
От Simon Riggs
Тема Re: Postgresql simple query performance question
Дата
Msg-id 1194435266.4251.38.camel@ebony.site
обсуждение исходный текст
Ответ на Re: Postgresql simple query performance question  (Bill Moran <wmoran@potentialtech.com>)
Список pgsql-general
On Tue, 2007-11-06 at 09:29 -0500, Bill Moran wrote:
> In response to SHARMILA JOTHIRAJAH <sharmi_jo@yahoo.com>:
>
> > Hi
> > We are in the process of testing for migration of our database from Oracle to Postgresql.
> > I hava a simple query
> >
> > Select count(*) from foo
>
> This is asked a lot.  The quick answer is that PostgreSQL method of MVCC
> makes it impossible to make this query fast.  Perhaps, someday, some
> brilliant developer will come up with an optimization, but that hasn't
> happened yet.

What release level is being tested? It may already have happened.

8.3 is substantially faster at seq scans, so the tests should be re-run
on 8.3 beta.

Also, re-run the Postgres test. It should be faster the second time,
even if the database server is restarted between tests.

--
  Simon Riggs
  2ndQuadrant  http://www.2ndQuadrant.com


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

Предыдущее
От: Andrei Kovalevski
Дата:
Сообщение: Re: number errors
Следующее
От: Reg Me Please
Дата:
Сообщение: Re: prepared statements suboptimal?