Re: Query using SeqScan instead of IndexScan

Поиск
Список
Период
Сортировка
Искать
От
Tom Lane
Тема
Re: Query using SeqScan instead of IndexScan
Дата
Msg-id
18072.1143953169@sss.pgh.pa.us
Ответ на
Список
Дерево обсуждения
Query using SeqScan instead of IndexScan Brendan Duddridge <brendan@clickspace.com>
Re: Query using SeqScan instead of IndexScan Josh Berkus <josh@agliodbs.com>
Re: Query using SeqScan instead of IndexScan "Jim C. Nasby" <jnasby@pervasive.com>
Re: Query using SeqScan instead of IndexScan Brendan Duddridge <brendan@clickspace.com>
Re: Query using SeqScan instead of IndexScan "chris smith" <dmagick@gmail.com>
Re: Query using SeqScan instead of IndexScan "Jim C. Nasby" <jnasby@pervasive.com>
Re: Query using SeqScan instead of IndexScan "chris smith" <dmagick@gmail.com>
Re: Query using SeqScan instead of IndexScan "chris smith" <dmagick@gmail.com>
Re: Query using SeqScan instead of IndexScan Alvaro Herrera <alvherre@commandprompt.com>
Re: Query using SeqScan instead of IndexScan Mark Kirkwood <markir@paradise.net.nz>
Re: Query using SeqScan instead of IndexScan Tom Lane <tgl@sss.pgh.pa.us>
Re: Query using SeqScan instead of IndexScan Brendan Duddridge <brendan@clickspace.com>
Re: Query using SeqScan instead of IndexScan Jim Nasby <jnasby@pervasive.com>
Re: Query using SeqScan instead of IndexScan Brendan Duddridge <brendan@clickspace.com>
Re: Query using SeqScan instead of IndexScan Brendan Duddridge <brendan@clickspace.com>
Mark Kirkwood  writes:
> It is a bit confusing - '(distinct) cardinality' might be a better
> heading for their 'cardinality' column!

The usual mathematical meaning of "cardinality" is "the number of
members in a set".  That isn't real helpful for the point at hand,
because the mathematical definition of a set disallows duplicate
members, so if you're dealing with non-unique values you could argue it
either way about whether to count duplicates or not.  However, I read in
the SQL99 spec (3.1 Definitions)

         d) cardinality (of a value of a collection type): The number of
            elements in that value. Those elements need not necessarily have
            distinct values.

so ... as all too often ... the mysql boys have not got a clue about
standards compliance.  They are using this term in the opposite way
from how the SQL committee uses it.

			regards, tom lane
В списке pgsql-performance по дате отправления
От: Mark Kirkwood
Дата:
От: Ключников А.С.
Дата:
Сообщение: Trigger vs Rule
FAQ