SQL Clone
SQLServerCentral is supported by Redgate
 
Log in  ::  Register  ::  Not logged in
 
 
 


SQL Server Profiler question (resource issue)


SQL Server Profiler question (resource issue)

Author
Message
Mountain Steve
Mountain Steve
SSC Veteran
SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)SSC Veteran (229 reputation)

Group: General Forum Members
Points: 229 Visits: 123
I keep having a long running profile shut down because the C Drive is full. I am saving the output to a table so is there a method to stop the direction to the screen?

We are saving transactions from a software package to the database and some of the transactions aren't saved nor do they error so I am trying to find out if the programmer has inadvertently rolled back a transaction.

The issue is when I try to recreate it by submitting the transaction it processes so I am thinking this condition is created by how it is submitting previous transactions and maybe the program has a variable that triggers a rollback. I have seen this before but my transaction volume was much lower and this was not an issue so I was able to show them where they were calling the roll back and we could infer from the previous transactions what caused it.

thoughts?

always get a backup before you try that.
Evil Kraig F
Evil Kraig F
SSC-Insane
SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)SSC-Insane (20K reputation)

Group: General Forum Members
Points: 20329 Visits: 7660
Mountain Steve (1/7/2014)
I keep having a long running profile shut down because the C Drive is full. I am saving the output to a table so is there a method to stop the direction to the screen?

Use a serverside trace. You initiate it via T-SQL instead of via the profiler.

Offhand, not sure about the rest.


- Craig Farrell

Never stop learning, even if it hurts. Ego bruises are practically mandatory as you learn unless you've never risked enough to make a mistake.

For better assistance in answering your questions | Forum Netiquette
For index/tuning help, follow these directions. |Tally Tables

Twitter: @AnyWayDBA
sqlsniper
sqlsniper
Mr or Mrs. 500
Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)Mr or Mrs. 500 (509 reputation)

Group: General Forum Members
Points: 509 Visits: 160
Serverside tracing is recommended over the SQL Profiler GUI.

In the profiler you can go to "Export" -> "trace definition". With that script, and a few minor adjustments, you can start the serverside trace.

If you want to use the SQL Profiler GUI, you can adjust a Windows setting (TEMP), as per
http://msdn.microsoft.com/en-us/library/ms174203(v=SQL.100).aspx
Go


Permissions

You can't post new topics.
You can't post topic replies.
You can't post new polls.
You can't post replies to polls.
You can't edit your own topics.
You can't delete your own topics.
You can't edit other topics.
You can't delete other topics.
You can't edit your own posts.
You can't edit other posts.
You can't delete your own posts.
You can't delete other posts.
You can't post events.
You can't edit your own events.
You can't edit other events.
You can't delete your own events.
You can't delete other events.
You can't send private messages.
You can't send emails.
You can read topics.
You can't vote in polls.
You can't upload attachments.
You can download attachments.
You can't post HTML code.
You can't edit HTML code.
You can't post IFCode.
You can't post JavaScript.
You can post emoticons.
You can't post or upload images.

Select a forum

































































































































































SQLServerCentral


Search