Log in
::
Register
::
Not logged in
Home
Tags
Articles
Editorials
Stairways
Forums
Scripts
Videos
Blogs
QotD
Books
Ask SSC
SQL Jobs
Training
Authors
About us
Contact us
Newsletters
Write for us
Recent Posts
Recent Posts
Popular Topics
Popular Topics
Home
Search
Members
Calendar
Who's On
Home
»
SQL Server 2005
»
Administering
»
Managing Indexes in a Database
Managing Indexes in a Database
Rate Topic
Display Mode
Topic Options
Author
Message
Razi, M
Razi, M
Posted Friday, November 30, 2007 5:56 PM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 2:37 PM
Points: 214,
Visits: 166
I have a database which has a over 80 to 100 indexes. How do we maintain these indexes, I think re-indexing all of them is not a good idea. Is there any other way of monitoring these indexes in SQL Server 2005 for fragmentation etc. Your insight is appreciated!!
Regards,
Razi, M.
http://questivity.com/it-training.html
Post #428381
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Saturday, December 01, 2007 11:54 AM
SSC-Dedicated
Group: Administrators
Last Login: 2 days ago @ 1:47 PM
Points: 31,406,
Visits: 13,722
You can monitor fragmentation with dbcc showcontig and then based on the results, decide which indexes you want to rebuild. Lots of scripts here on the site.
Other than that, SQL Server maintains the indexes fairly well.
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #428451
Razi, M
Razi, M
Posted Saturday, December 01, 2007 12:51 PM
SSC Veteran
Group: General Forum Members
Last Login: Wednesday, May 15, 2013 2:37 PM
Points: 214,
Visits: 166
Thanks Steve. Guess what I told this to an interview but he still wanted to see what else we can do? I was stuck:)
I think there are some system DMVs in 2005 that show statistical information regarding indexes.
Regards,
Razi, M.
http://questivity.com/it-training.html
Post #428456
Steve Jones - SSC Editor
Steve Jones - SSC Editor
Posted Saturday, December 01, 2007 2:27 PM
SSC-Dedicated
Group: Administrators
Last Login: 2 days ago @ 1:47 PM
Points: 31,406,
Visits: 13,722
Yes, as far as checking to see if indexes are being used, you can use the DMVs so see what's being used.
This blog post can help: http://blogs.msdn.com/sqlcat/archive/2006/02/13/531339.aspx
Follow me on Twitter:
@way0utwest
Forum Etiquette: How to post data/code on a forum to get the best help
Post #428457
« Prev Topic
|
Next Topic »
Permissions
You
cannot
post new topics.
You
cannot
post topic replies.
You
cannot
post new polls.
You
cannot
post replies to polls.
You
cannot
edit your own topics.
You
cannot
delete your own topics.
You
cannot
edit other topics.
You
cannot
delete other topics.
You
cannot
edit your own posts.
You
cannot
edit other posts.
You
cannot
delete your own posts.
You
cannot
delete other posts.
You
cannot
post events.
You
cannot
edit your own events.
You
cannot
edit other events.
You
cannot
delete your own events.
You
cannot
delete other events.
You
cannot
send private messages.
You
cannot
send emails.
You
may
read topics.
You
cannot
rate topics.
You
cannot
vote within polls.
You
cannot
upload attachments.
You
may
download attachments.
You
cannot
post HTML code.
You
cannot
edit HTML code.
You
cannot
post IFCode.
You
cannot
post JavaScript.
You
cannot
post EmotIcons.
You
cannot
post or upload images.
Copyright © 2002-2013 Simple Talk Publishing. All Rights Reserved.
Privacy Policy.
Terms of Use.
Report Abuse.