Solved

Rogue Insert statement running

Posted on 2013-12-30
4
310 Views
Last Modified: 2014-01-19
SqlServr.exe is eating up CPU time and choking the server.  I ran a SLQ trace through Profiler and found a bulk insert statement that keeps running over and over.  There is no replication to the affected table and no scripts that I have written to do this insert.  The only update to the table happens via a SQL job overnight and it is showing idle.  According to the trace output, the application name is Microsoft SQL Server and the user name and login account is a  local admin account.  How do I shut the insert down?

If there is another way to better identify the problem, let me know.

Thanks,

McLeanIS
0
Comment
Question by:McLeanIS
  • 2
4 Comments
 
LVL 69

Expert Comment

by:Qlemo
ID: 39746194
I would go and check the Scheduled Tasks for something running at that time.
In SQL Trace output you should also monitor the connection info (especially the machine).
Though, you should see some other application in the trace ... Even it is a SQL Server Agent job, you should see that.
0
 
LVL 15

Expert Comment

by:Aaron Shilo
ID: 39746827
hi

it probably a job running.

can you post the data from profiler ?
0
 

Accepted Solution

by:
McLeanIS earned 0 total points
ID: 39779245
Sorry for late handling of this issue.  I have been out sick alot.  One of our network techs shut down SQL Server for a while and resovled this issue as well as some others that came up after this post.  All has been running well since then.

McLeanIS
0
 

Author Closing Comment

by:McLeanIS
ID: 39791912
The issue resolved itself.
0

Featured Post

Gigs: Get Your Project Delivered by an Expert

Select from freelancers specializing in everything from database administration to programming, who have proven themselves as experts in their field. Hire the best, collaborate easily, pay securely and get projects done right.

Question has a verified solution.

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

How to leverage one TLS certificate to encrypt Microsoft SQL traffic and Remote Desktop Services, versus creating multiple tickets for the same server.
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.
Using examples as well as descriptions, and references to Books Online, show the documentation available for date manipulation functions and by using a select few of these functions, show how date based data can be manipulated with these functions.
This is Part 3 in a 3-part series on Experts Exchange to discuss error handling in VBA code written for Excel. Part 1 of this series discussed basic error handling code using VBA. http://www.experts-exchange.com/videos/1478/Excel-Error-Handlin…

786 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