Link to home
Start Free TrialLog in
Avatar of ProdigyOne2k
ProdigyOne2k

asked on

MS SQL Query Loading/Timeout Question

We have a database that holds some sales records in it, and we recently changed from MS SQL Server 2008 to MS SQL Server 2012.

We noticed every morning we get a "timeout" error in our software when it's loading the Sales Order info for the first time in the day.

I then did a query for the entire table in MS SQL Server Management Studio on the server holding the DB and it took about 3 minutes to return all of the data.

After this query - the program running on the network runs fine and has no "timeout" issues - we are then fine to run the program the rest of the day without any issues...but then if we don't run the query in the morning the next day it give the timeout error again.

This DB is important but not critical, so we won't spend a ton of time on this issue, but if anybody has a quick fix that can suggest so we don't need to run that query in the morning that would be excellent.

Thanks
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Link to home
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
Start Free Trial
Avatar of ProdigyOne2k
ProdigyOne2k

ASKER

Anthony's answer helped, but the other issue was that the DB was on an SSD previously, and this time put on a 5400RPM HDD.  It is now loaded on an SSD and takes seconds to load.
Thanks