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.

 All Forums
 SQL Server 2005 Forums
 Transact-SQL (2005)
 How to increase performance of a table

Author  Topic 

ganeshkumar08
Posting Yak Master

187 Posts

Posted - 2009-04-21 : 02:27:01
Hi friends,

I have a table with 20 lakh records, how can i improve the performance of the table while retrieving the records. What type of key i have to create on the column, to which column i have to create.

Thanks
Ganesh

Solutions are easy. Understanding the problem, now, that's the hard part

SwePeso
Patron Saint of Lost Yaks

30421 Posts

Posted - 2009-04-21 : 02:29:20
You should have at least one clustered index for your 2 million record table.
Without seeing what kind of data your tables has, it's nearly impossible to give a good advice.

The basic step is to analyze your queries that runs against this table and if possible make a covering index.
But it also slows down inserts and deletes.



E 12°55'05.63"
N 56°04'39.26"
Go to Top of Page
   

- Advertisement -