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
Microsoft SQL Server 2008Microsoft SQL ServerSSRS

Avatar of undefined
Last Comment
ProdigyOne2k
ASKER CERTIFIED SOLUTION
Avatar of Anthony Perkins
Anthony Perkins
Flag of United States of America image

Blurred text
THIS SOLUTION IS ONLY AVAILABLE TO MEMBERS.
View this solution by signing up for a free trial.
Members can start a 7-Day free trial and enjoy unlimited access to the platform.
See Pricing Options
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
Microsoft SQL Server
Microsoft SQL Server

Microsoft SQL Server is a suite of relational database management system (RDBMS) products providing multi-user database access functionality.SQL Server is available in multiple versions, typically identified by release year, and versions are subdivided into editions to distinguish between product functionality. Component services include integration (SSIS), reporting (SSRS), analysis (SSAS), data quality, master data, T-SQL and performance tuning.

171K
Questions
--
Followers
--
Top Experts
Get a personalized solution from industry experts
Ask the experts
Read over 600 more reviews

TRUSTED BY

IBM logoIntel logoMicrosoft logoUbisoft logoSAP logo
Qualcomm logoCitrix Systems logoWorkday logoErnst & Young logo
High performer badgeUsers love us badge
LinkedIn logoFacebook logoX logoInstagram logoTikTok logoYouTube logo