SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


Indexes: An Overview and Maintenance for Performance


Indexes: An Overview and Maintenance for Performance

Author
Message
Desirée B. Harris
Desirée B. Harris
SSC-Enthusiastic
SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)SSC-Enthusiastic (115 reputation)

Group: General Forum Members
Points: 115 Visits: 77
Comments posted to this topic are about the content posted at http://www.sqlservercentral.c
Davidk
Davidk
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 3

Thank you Desiree, I just passed MS database implementation exam with a score over 90%. I wish I had read your article first; my score would have been higher. Good relevant Info.

David Kappel, MCDBA (brand-new), MCSE, CompTIA Security+





mimorr
mimorr
SSCommitted
SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)SSCommitted (1.5K reputation)

Group: General Forum Members
Points: 1508 Visits: 52
I look forward to finishing the article, however, could you fix the following typo?

Each table can have only one clustered index, however up to 249 clustered indexes can be added per table.

Thanks!



Michelle
Davidk
Davidk
SSC Rookie
SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)SSC Rookie (36 reputation)

Group: General Forum Members
Points: 36 Visits: 3

Well, my significant other is the wordsmith in the family, but I’ll give this a go:

“Each table can have only one clustered index, however, up to 249 nonclustered indexes can be added per table.

Consulted BOL searched “noncluserted indexes” then “number per table” issue was is it spelled “non-clustered” or “nonclustered” BOL says “nonclustered”.

Thanks for the opportunity to be of service, hope this helps. I’d be glad to help in the future too.

David Kappel, kap@msn.com

P.S I’ looking for work, and I’m willing to travel from the Seattle area.





Adam Machanic
Adam Machanic
SSCarpal Tunnel
SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)SSCarpal Tunnel (4.2K reputation)

Group: General Forum Members
Points: 4163 Visits: 733
Quote:
--
The fullness of the index pages can be determined by reading the "Avg. Bytes free per page" and "Avg. Page density (full)" statistics. The "Avg. Bytes free per page" figure should be low and the "Avg. Page density (full)" figure should be high. You'll notice that both tables likely have very full pages.
--

However, both tables do not have very full pages. They have high free byte counts and low page densities. (6721.0 / 16.96% and 5596.0 / 30.86%)

--
Adam Machanic
whoisactive
AndreQ1
AndreQ1
SSC Veteran
SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)SSC Veteran (204 reputation)

Group: General Forum Members
Points: 204 Visits: 1

I very much enjoyed the article and it provided a lot of useful information. I have a stored procedure called RefreshDatabase that runs various maintenance scripts. I've included your reindexing commands in that and am eager to see the performance benefits.

Again, thank you.


Al Pagcaliwangan
Al Pagcaliwangan
SSC Rookie
SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)SSC Rookie (34 reputation)

Group: General Forum Members
Points: 34 Visits: 1

I'll use this knowledge in my projects existing tables. Thanks!




Kindest Regards,

Al Pagcaliwangan B.S. ECE, B.S.EE
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search