Go Premium for a chance to win a PS4. Enter to Win

x
?
Solved

Rogue Insert statement running

Posted on 2013-12-30
4
Medium Priority
?
347 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 71

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

Prepare for your VMware VCP6-DCV exam.

Josh Coen and Jason Langer have prepared the latest edition of VCP study guide. Both authors have been working in the IT field for more than a decade, and both hold VMware certifications. This 163-page guide covers all 10 of the exam blueprint sections.

Question has a verified solution.

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

This article shows gives you an overview on SQL Server 2016 row level security. You will also get to know the usages of row-level-security and how it works
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 …
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…
Via a live example, show how to extract insert data into a SQL Server database table using the Import/Export option and Bulk Insert.

926 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