Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Wanet Telecoms Ltd on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

What's the content of the index data pages ?

Status
Not open for further replies.

INFORMAT

Programmer
Jan 3, 2001
121
BE
Hello,

Can you tell me if I'm with the following correct:


When you create a clustered index,then is the data page
equal to the physical data pages.So if you create a
clustered index with the fill factor 80 % the physical
data pages are 80 % full.

When you create a non clustered index,the data pages
from the non clustered index exist of the fields that
you have defined in the index and it use the clustered
index to go to the physical data page.

But what's the content of the data pages from a non
clustered index an when there is no clustered index ?

When you insert a record in de table, is this record
inserted in all the index data pages ?

I hope you can help me, my biggest problem is that I
don't know exactly what's the content of the index data
pages.



Thanks for your time and answer

Devriendt Nico
Informat CV
informat@unicall.be
 
The index pages for a non clustered index contain the index field(s) and a pointer to the record's physical location. If you don't have clustered index there is no specific order to how the records are stored. That means that without the clustered index SQL Server has to scan the entire index, doing a comparison on each record. There are very few specialized cases where you wouldn't want a clustered index. Ruairi

Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.
 
Oh yeah, in a clustered index you are right, the index page is the data page. If you specify a fill factor of 80% the data pages will be 80% full when the index is built. This fill factor is not maintained over time. Ruairi

Could your manufacturing facility benefit from real time process monitoring? Would you like your employees to be able to see up to the minute goal and actual production?
For innovative, low cost solutions check out my website.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top