Re: which one is faster

Поиск
Список
Период
Сортировка
От Szymon Guz
Тема Re: which one is faster
Дата
Msg-id AANLkTikWbbFNykGXdobR06dsePn40JrBYvfFZLmu+H1j@mail.gmail.com
обсуждение исходный текст
Ответ на which one is faster  (AI Rumman <rummandba@gmail.com>)
Ответы Re: which one is faster
Список pgsql-performance


On 26 October 2010 12:56, AI Rumman <rummandba@gmail.com> wrote:
Which one is faster?
select count(*) from talble
or
select count(id) from table
where id is the primary key.


Check the query plan, both queries are the same.

regards
Szymon

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

Предыдущее
От: AI Rumman
Дата:
Сообщение: which one is faster
Следующее
От: Divakar Singh
Дата:
Сообщение: Re: Postgres insert performance and storage requirement compared to Oracle