Please start any new threads on our new
site at https://forums.sqlteam.com. We've got lots of great SQL Server
experts to answer whatever question you can come up with.
| Author |
Topic |
|
yalgaar
Starting Member
43 Posts |
Posted - 2006-04-26 : 10:57:59
|
| Few questions about Indexing on tables:1) How do I find out if there is any indexing already existing on the tables?2) How often should tables be re-indexed?3) Can you refer me to some useful article that talks about basics of indexing and how it could affect peformance?Thanks |
|
|
druer
Constraint Violating Yak Guru
314 Posts |
Posted - 2006-04-26 : 11:05:17
|
| 1. You can right click on the table in Enterprise Manager and choose "Manage Indexes" and it will show you what indexes exist for the table and what fields comprise the index. You choose what fields/indexes you need based on the queries that come through the system and the performance needs for both input and reporting needs of your application(s).2. The indexing itself on tables should be monitored as performance dictates. Do a "REINDEX" command for indexes is something that you can determine based on the article that I'll provide in answer to the next question. It varies for everyone based on frequency of data changes to the table(s).3. By far the best article I've come across to help you understand how to maintain indexes is: http://www.microsoft.com/technet/prodtechnol/sql/2000/maintain/ss2kidbp.mspxHope it helps,Dalton |
 |
|
|
mfemenel
Professor Frink
1421 Posts |
Posted - 2006-04-26 : 11:56:27
|
| You can also use sp_helpindex to find out if there are indexes.Mike"oh, that monkey is going to pay" |
 |
|
|
tkizer
Almighty SQL Goddess
38200 Posts |
Posted - 2006-04-26 : 13:48:14
|
| http://weblogs.sqlteam.com/tarad/archive/2006/04/11/9585.aspxTara Kizeraka tduggan |
 |
|
|
Michael Valentine Jones
Yak DBA Kernel (pronounced Colonel)
7020 Posts |
Posted - 2006-04-26 : 13:56:33
|
You can also use sp_helpuse pubsexec sp_help 'authors' CODO ERGO SUM |
 |
|
|
yalgaar
Starting Member
43 Posts |
Posted - 2006-04-26 : 15:10:49
|
| Thanks a lot everybody. I have already started reading the links you guys have posted. Now it's time to do some reading.Thanks Again. |
 |
|
|
|
|
|