?
Solved

MS SQL Tuning

Posted on 2014-03-29
5
Medium Priority
?
150 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 2000 total points
ID: 39963807
0
 
LVL 81

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

NEW Veeam Agent for Microsoft Windows

Backup and recover physical and cloud-based servers and workstations, as well as endpoint devices that belong to remote users. Avoid downtime and data loss quickly and easily for Windows-based physical or public cloud-based workloads!

Question has a verified solution.

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

Ever wondered why sometimes your SQL Server is slow or unresponsive with connections spiking up but by the time you go in, all is well? The following article will show you how to install and configure a SQL job that will send you email alerts includ…
An alternative to the "For XML" way of pivoting and concatenating result sets into strings, and an easy introduction to "common table expressions" (CTEs). Being someone who is always looking for alternatives to "work your data", I came across this …
Via a live example, show how to backup a database, simulate a failure backup the tail of the database transaction log and perform the restore.
Using examples as well as descriptions, and references to Books Online, show the documentation available for datatypes, explain the available data types and show how data can be passed into and out of variables.
Suggested Courses

840 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