Hi,
I've been experimenting with tables and searches and their corresponding times for searches.
Orginally, I had a table with about 2500 results in it; when seaching for things, I was getting results in 20 milliseconds (according to the SQL Profiler).
I've since taken that data and broken it out to 3 tables so that I could ensure uniqueness of data (no duplicates of certain fields as I couldn't do 'unique but allow nulls'...
Now, the exact same query against a View of the same data (about 2500 records) takes about 200 milliseconds; nearly 10 times the duration.
Any reason for this? Am I doing something wrong?
Help is greatly appreciated.
Thanks in advance.
I've been experimenting with tables and searches and their corresponding times for searches.
Orginally, I had a table with about 2500 results in it; when seaching for things, I was getting results in 20 milliseconds (according to the SQL Profiler).
I've since taken that data and broken it out to 3 tables so that I could ensure uniqueness of data (no duplicates of certain fields as I couldn't do 'unique but allow nulls'...
Now, the exact same query against a View of the same data (about 2500 records) takes about 200 milliseconds; nearly 10 times the duration.
Any reason for this? Am I doing something wrong?
Help is greatly appreciated.
Thanks in advance.