Click here to Skip to main content
15,887,175 members
Please Sign up or sign in to vote.
1.00/5 (1 vote)
in my data base i've 7L records,in my web page i have auto complete text box it take to much time to get the records from database, plz suggest me searching make easier
Posted

1 solution

If I understood the question correctly, you could
- start suggesting values only when you have enough characters in the auto complete text box (3 perhaps?)
- make sure that you have proper indexing in place that helps to fetch the data
- if the data is static, utilize caching
- utilize ranking or similar and show for example only to 50 items in the list in the beginning. Of course you can have an option to show more results if the user wants so.
 
Share this answer
 
Comments
Member 10809057 12-Jan-15 1:25am    
RITE NOW I'M FETCHING ONLY 50 RECORDS BUT IT IS SLOWER
Wendelius 12-Jan-15 1:30am    
What about the other suggestions I gave? proper indexing, search when you have 3 characters and so on

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900