Re: Performance of count(*) on large tables vs SQL Server

Поиск
Список
Период
Сортировка
От PFC
Тема Re: Performance of count(*) on large tables vs SQL Server
Дата
Msg-id opslite4tuth1vuj@musicbox
обсуждение исходный текст
Ответ на Performance of count(*) on large tables vs SQL Server  (Andrew Mayo <ajmayo@kohuconsulting.com>)
Список pgsql-performance

> clause will be a cheap query  - and use it to test if
> a table is empty, for instance. (because for
> Oracle/Sybase/SQL Server, count(*) is cheap).

    To test if a table is empty, use a SELECT EXISTS or whatever SELECT with
a LIMIT 1...

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

Предыдущее
От: Stef
Дата:
Сообщение: Re: Performance of count(*) on large tables vs SQL Server
Следующее
От: Alex Turner
Дата:
Сообщение: Re: High end server and storage for a PostgreSQL OLTP system