Re: How Postgresql Compares For Query And Load Operations

Поиск
Список
Период
Сортировка
От Bruce Momjian
Тема Re: How Postgresql Compares For Query And Load Operations
Дата
Msg-id 200107211827.f6LIRtB27191@candle.pha.pa.us
обсуждение исходный текст
Ответ на Re: How Postgresql Compares For Query And Load Operations  (Mark kirkwood <markir@slingshot.co.nz>)
Ответы Re: How Postgresql Compares For Query And Load Operations  (Sean Chittenden <sean-pgsql-general@chittenden.org>)
Список pgsql-general
> I thought it was worth trying a different query as well :
>
> SELECT count(*) FROM fact0
>
> DB        Elapsed        Cpu
> Postgres    1m5s        32s
> Db2        23s        15s
> Oracle        37s        11s

I am surprised the others didn't optimize this more.  Seems they don't
keep an accurate count of the number of rows in a table either.  I
figured at least they would do an index scan for the count.

--
  Bruce Momjian                        |  http://candle.pha.pa.us
  pgman@candle.pha.pa.us               |  (610) 853-3000
  +  If your life is a hard drive,     |  830 Blythe Avenue
  +  Christ can be your backup.        |  Drexel Hill, Pennsylvania 19026

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

Предыдущее
От: "Roderick A. Anderson"
Дата:
Сообщение: Re: Language C - Console-based FrontEnd
Следующее
От: Sean Chittenden
Дата:
Сообщение: Re: How Postgresql Compares For Query And Load Operations