Solved

Fatser? CLUSTERED OR NON

Posted on 1998-12-18
2
214 Views
Last Modified: 2013-11-15
What's fatser a CLUSTERED INDEX or a NON CLustered index.
The field is recno an integer , also an identity.
The applpication always searches on this filed as it is the PK in the field.

Which index should I use and why?

Tusind Tak!
0
Comment
Question by:tmcconec
[X]
Welcome to Experts Exchange

Add your voice to the tech community where 5M+ people just like you are talking about what matters.

  • Help others & share knowledge
  • Earn cash & points
  • Learn & ask questions
2 Comments
 
LVL 2

Accepted Solution

by:
odessa earned 50 total points
ID: 1092330
Clusterd is faster because is order on objects is same on index and so is smaller on same reason, never mind you use it on integer or something other,

some from Books:

Using a clustered index to find data is almost always faster than using a nonclustered index. In addition, using a clustered index is advantageous when many rows with contiguous key values are being retrieved ¾ that is, on columns that are often searched for ranges of values.

0
 

Author Comment

by:tmcconec
ID: 1092331
Thanks.
That's what I thought. I'll go with clustered.
0

Featured Post

Back Up Your Microsoft Windows Server®

Back up all your Microsoft Windows Server – on-premises, in remote locations, in private and hybrid clouds. Your entire Windows Server will be backed up in one easy step with patented, block-level disk imaging. We achieve RTOs (recovery time objectives) as low as 15 seconds.

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

Suggested Solutions

Title # Comments Views Activity
convert varchar UTC to human datetime 1 41
find SQL job run average duration 24 54
SQL Job Hung 17 36
query analyser in sql server 2016 express edition 2 25
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
This tutorial will show how to configure a single USB drive with a separate folder for each day of the week. This will allow each of the backups to be kept separate preventing the previous day’s backup from being overwritten. The USB drive must be s…
Viewers will learn how to use the SELECT statement in SQL and will be exposed to the many uses the SELECT statement has.

756 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question