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 IamaSherpa on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Indexing Tables

Status
Not open for further replies.

atiqraza

Programmer
Jan 9, 2007
24
US
Does anybody happen to have links to any tutorials about Indexing tables in sql. I seem to be working with huge tables greater then 1GB in size and have a couple of joins to do, and they seem to be taking quite a lot of time. I need to speed things up.
Thnx
 
There is more to tables than just adding indexes
how wide is the table, the wider the table the more IO is needed to bring back the rows?
what is the fragmentation level of your table?
is your WHERE clause sargable?
Is your selectivity level high an index will be ignored if it is not
there is much more to tuning than just adding indexes

1 GB is not a huge table nowadays I have tables that are well over 10 and 20 GB in size

take a look at the indexes section here


Denis The SQL Menace
SQL blog:
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top