Solved

Rogue Insert statement running

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

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

Highfive + Dolby Voice = No More Audio Complaints!

Poor audio quality is one of the top reasons people don’t use video conferencing. Get the crispest, clearest audio powered by Dolby Voice in every meeting. Highfive and Dolby Voice deliver the best video conferencing and audio experience for every meeting and every room.

Join & Write a Comment

Suggested Solutions

In this article I will describe the Detach & Attach method as one possible migration process and I will add the extra tasks needed for an upgrade when and where is applied so it will cover all.
Ever needed a SQL 2008 Database replicated/mirrored/log shipped on another server but you can't take the downtime inflicted by initial snapshot or disconnect while T-logs are restored or mirror applied? You can use SQL Server Initialize from Backup…
Familiarize people with the process of retrieving data from SQL Server using an Access pass-thru query. Microsoft Access is a very powerful client/server development tool. One of the ways that you can retrieve data from a SQL Server is by using a pa…
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.

759 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

Need Help in Real-Time?

Connect with top rated Experts

20 Experts available now in Live!

Get 1:1 Help Now