Database
i have fifty lakh record in my database how to search a specific person?
and if i use select query then it take lot of time,,, Any method to
solve this problem...
3 Answers
Know the answer? Post it. Somebody with the same question will find it here.

Arul Manivannan48 reputationPosted Mar 28, 2013, 1:44 AM EDT
Vishal GilbileRank #268 · 9.4K reputationPosted Mar 28, 2013, 2:02 AM EDT
You will have to make use of Query Optimization methods such as Indexing or Partitioning of Table.
Hope that helps you.
With Regards,
Vishal Gilbile.
Jignesh TrivediRank #16 · 50.3K reputationPosted Mar 28, 2013, 7:49 PM EDT
hi,
to make seach fast, create index on columns which are used with where clause
for example if you are seach data by name than you may create non clustered index on this column, this make search fast.
SELECT * Product
WITH(INDEX(INX_ProductName))
WHERE ProductName = 'Processor';
you may also use filtered index if it is fit on your requirement.
http://www.codeproject.com/Articles/22853/SQL-Server-Performance-Tips-and-Guidelines
hope this will help you.