Solved

MS SQL Tuning

Posted on 2014-03-29
5
144 Views
Last Modified: 2014-04-28
We are running an application that has hit a limit of 5000 records.  Thought it might be because we are using SQL Express.  We purchased full version of 2008 R2, installed, backed up and restored the DB.  Still we can only see 5K records when I know there are over 15K.  Is there some maintenance I can perform on the DB, do see an option to shrink?  The DB has been running for some years now and no tuning or maintenance has been performed.
Guess it could be the application that is the limitation.  Going to check with the vendor.
Meanwhile would like thoughts from anyone!
0
Comment
Question by:Webcc
  • 3
5 Comments
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 39963779
If you could run a SQL Profiler to check what queries are sent to the server, you would find if the software impose that limit (maybe with a SELECT TOP 5000
0
 

Author Comment

by:Webcc
ID: 39963796
How do you run the Profiler?  I'm not well versed with SQL.
0
 
LVL 70

Expert Comment

by:Éric Moreau
ID: 39963806
you have a link under Tools in SSMS
0
 
LVL 70

Accepted Solution

by:
Éric Moreau earned 500 total points
ID: 39963807
0
 
LVL 77

Expert Comment

by:arnold
ID: 39963993
What application are you running?
Where are you only seeing 5000 records, check whether the 5000 record limit is not a configuration/setting within the application. I.e. Only display the first 5000 records.

If you have an option to display items by date, see if you can display data from dates not included in the 5000 record display.

It is highly unlikely to be an issue with the sql server.
Do you get errors when adding records?
0

Featured Post

Networking for the Cloud Era

Join Microsoft and Riverbed for a discussion and demonstration of enhancements to SteelConnect:
-One-click orchestration and cloud connectivity in Azure environments
-Tight integration of SD-WAN and WAN optimization capabilities
-Scalability and resiliency equal to a data center

Question has a verified solution.

If you are experiencing a similar issue, please ask a related question

JSON is being used more and more, besides XML, and you surely wanted to parse the data out into SQL instead of doing it in some Javascript. The below function in SQL Server can do the job for you, returning a quick table with the parsed data.
Load balancing is the method of dividing the total amount of work performed by one computer between two or more computers. Its aim is to get more work done in the same amount of time, ensuring that all the users get served faster.
Via a live example, show how to setup several different housekeeping processes for a SQL Server.
Viewers will learn how to use the SELECT statement in SQL to return specific rows and columns, with various degrees of sorting and limits in place.

856 members asked questions and received personalized solutions in the past 7 days.

Join the community of 500,000 technology professionals and ask your questions.

Join & Ask a Question