Solved

Sql Profiler trace cannot trace events b/c max amount of available memory has been reached

Posted on 2004-10-04
9
596 Views
Last Modified: 2010-08-05
I have a SQL 2000 database that seems to be running a large amount of transactions at one time to create a 10GB transaction log. I have pinpointed the time this has occurred and it happens between 1 and 2am every night. We just recently upgraded the application so I assume it could be due to that since this hasn't occurred prior to the upgrade. I attempted to do a trace using sql profiler and set the output file size to 30MB to give me a good view of when and how many transactions occur during a specified time. From 11pm-230am I have 18 - 30MB files. From 1:07am - 2:32am 15 of the 18 were created. I have been looking through the files and many of the messages I receive are "Profiler Message - Some trace events have not been reported to SQL Profiler because the server has reached its maximum amount of available memory for the process. Does this mean the processes have maxed out the available memory for SQL Server itself? We have 2GB of memory available on the server just for SQL Server. There aren't any messages in the event viewer and I can't see anything in the error logs. I'm very new to this trace thing so please help me understand where to look next??? Thanks in advance!!
0
Comment
Question by:valerian28
  • 3
  • 2
9 Comments
 
LVL 1

Expert Comment

by:xabimond
ID: 12217707
Have a look at this:

http://www.winnetmag.com/SQLServer/Article/ArticleID/26046/26046.html

A good explanation of the cause of what you're seeing and how to ensure you get all events.
0
 
LVL 34

Expert Comment

by:arbert
ID: 12220867
It just means the Server was doing too many transactions for the trace to keep up with.

Have you looked at your scheduled jobs to see if anything is running during this period?  Any backups?  Any file imports?  Maintenance plans?
0
 

Author Comment

by:valerian28
ID: 12320059
The scheduled jobs I have running on this server are the transaction log backups that run every hour on the hour and the full database backup that runs at 2am every morning. There are no imports and the activity is minimal if any.
0
Netscaler Common Configuration How To guides

If you use NetScaler you will want to see these guides. The NetScaler How To Guides show administrators how to get NetScaler up and configured by providing instructions for common scenarios and some not so common ones.

 

Author Comment

by:valerian28
ID: 12320084
One other thing I noticed, in my profiler log it appears that most of the activity is generated from sqlexec (me) or sa. To me that means it's referring to the backups but why would this cause such a large transaction log backup?
0
 

Author Comment

by:valerian28
ID: 12359467
Ok I have added a new schedule withing the db maintenance plan. From 4am-12am I have the transaction log backups running every hour. From 12am-4am I have the transaction backups running every 10min. On average they run about 5 minutes. At 1am the backup was 14KB, then the next one shows 1:48am because it took 46 minutes to run and it is 7GB in size! Then at 2:03 it is at 2.5GB and at 2:10am it is back down to 563KB. I don't know what else to do. I had spoken with the vendor prior to this and they said to increase the number of backups. What would cause this?
0
 
LVL 34

Accepted Solution

by:
arbert earned 300 total points
ID: 12359634
What else are you doing in the maintenance plans?  Just a backup?

"then the next one shows 1:48am because it took 46 minutes to run and it is 7GB in "

With the amount of time and the size, I would almost say this is a full DB backup.

Just my personal opinion here, but I would drop the maintenance plans (they are crap) and script the backups and schedule with SQLAgent....
0

Featured Post

What is SQL Server and how does it work?

The purpose of this paper is to provide you background on SQL Server. It’s your self-study guide for learning fundamentals. It includes both the history of SQL and its technical basics. Concepts and definitions will form the solid foundation of your future DBA expertise.

Question has a verified solution.

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

Suggested Solutions

Title # Comments Views Activity
oracle query help 18 111
RDBMS and No sql database 4 57
Multiple MSSQL instances on same server 4 40
Merging spreadsheets 8 36
In today’s complex data management environments, it is not unusual for UNIX servers to be dedicated to a particular department, purpose, or database.  As a result, a SAS® data analyst often works with multiple servers, each with its own data storage…
As technology users and professionals, we’re always learning. Our universal interest in advancing our knowledge of the trade is unmatched by most industries. It’s a curiosity that makes sense, given the climate of change. Within that, there lies a…
Video by: Steve
Using examples as well as descriptions, step through each of the common simple join types, explaining differences in syntax, differences in expected outputs and showing how the queries run along with the actual outputs based upon a simple set of dem…
Polish reports in Access so they look terrific. Take yourself to another level. Equations, Back Color, Alternate Back Color. Write easy VBA Code. Tighten space to use less pages. Launch report from a menu, considering criteria only when it is filled…

776 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