Primary Key: Slow Earbuds?

Determining the primary column in a table on SQL Server will slow it down?

I ask because I understand that this applies to indexes.

The table shows millions of records.

+3
source share
7 answers

No, not necessarily! Sounds counter-intuitive, but read this quote from Kim Tripp's blog post :

table ( "" ), . , IAM/PFS , ( , ). (CL) .

, (, INT IDENTITY, ) - , !

+6

, , , .

, , , , , .

, , . - .

+1

, , . , .

0

:

.

( SQL ). , .

, , .

, , , ( SQL Server 2008, ), .

, ORDER BY, . , , .

0

,

, .

, .

-1

, ( , ).

, , , , , . .

-1

, , , , ( , , , SQL Server - ).

, SELECT , . ( ). -, , . .

-1

Source: https://habr.com/ru/post/1755734/


All Articles