J
JDee
Hello,
I have a .Net CF application that uses SQL Server Mobile 3.0 on the
backend.
The problem is that when I run a query from the application that
results in joining 4 tables and returning denormalized data, it takes
too long to execute, around 4 to 5 seconds to return 10 rows. This is
a consistent behavior on all such database calls and not just the
first one.
The query and resultant dataset are not extravagant at all. When I
run the query from the query analyzer, it takes this long only for the
first time around. All subsequent calls are fairly quick and return
in milliseconds.
The strange thing is that if I keep SQL Server Mobile Query Analyzer
running in the background with the database active, the same query
executed from the application is returned in milli seconds.
Please, can anybody here help me understand this behavior and to
improve the performance of my application?
Thanks,
Jawad
I have a .Net CF application that uses SQL Server Mobile 3.0 on the
backend.
The problem is that when I run a query from the application that
results in joining 4 tables and returning denormalized data, it takes
too long to execute, around 4 to 5 seconds to return 10 rows. This is
a consistent behavior on all such database calls and not just the
first one.
The query and resultant dataset are not extravagant at all. When I
run the query from the query analyzer, it takes this long only for the
first time around. All subsequent calls are fairly quick and return
in milliseconds.
The strange thing is that if I keep SQL Server Mobile Query Analyzer
running in the background with the database active, the same query
executed from the application is returned in milli seconds.
Please, can anybody here help me understand this behavior and to
improve the performance of my application?
Thanks,
Jawad