Re: Equivalent praxis to CLUSTERED INDEX?

Поиск
Список
Период
Сортировка
От Mischa Sandberg
Тема Re: Equivalent praxis to CLUSTERED INDEX?
Дата
Msg-id QNsXc.56331$X12.35308@edtnps84
обсуждение исходный текст
Ответ на Re: Equivalent praxis to CLUSTERED INDEX?  ("J. Andrew Rogers" <jrogers@neopolitan.com>)
Список pgsql-performance
J. Andrew Rogers wrote:
> On Thu, 2004-08-26 at 12:30, Magnus Hagander wrote:
>>IIRC, SQL Server always creates clustered indexes by default for primary
>>keys.
>
> That would surprise me actually.

Yaz, it should. It doesn't ALWAYS create clustered (unique) index for
primary keys, but clustered is the default if you just specify

CREATE TABLE Foo (col1, ...
    ,PRIMARY KEY(col1, ...)
)

Saying PRIMARY KEY NONCLUSTERED(...) is how you override the default.

((Weird to be discussing so much MSSQL here))

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

Предыдущее
От: "Jack Kerkhof"
Дата:
Сообщение: Why does a simple query not use an obvious index?
Следующее
От: "Stefano Bonnin"
Дата:
Сообщение: Query performance problem in 8.0.0beta1