Solved

Rogue Insert statement running

Posted on 2013-12-30
4
312 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

Free Tool: Postgres Monitoring System

A PHP and Perl based system to collect and display usage statistics from PostgreSQL databases.

One of a set of tools we are providing to everyone as a way of saying thank you for being a part of the community.

Question has a verified solution.

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

Suggested Solutions

Why is this different from all of the other step by step guides?  Because I make a living as a DBA and not as a writer and I lived through this experience. Defining the name: When I talk to people they say different names on this subject stuff l…
In this article we will get to know that how can we recover deleted data if it happens accidently. We really can recover deleted rows if we know the time when data is deleted by using the transaction log.
This video shows how to set up a shell script to accept a positional parameter when called, pass that to a SQL script, accept the output from the statement back and then manipulate it in the Shell.
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.

808 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