Update README.md

This commit is contained in:
Christian Wade 2017-01-11 18:34:29 -08:00 committed by GitHub
parent 1660891dd8
commit 6dfa62e217

View File

@ -1,7 +1,7 @@
# AS Trace # AS Trace
SQL Server ships with a tool called SQL Server Profiler that is able to capture trace events from a SQL Server Analysis Services and write those events to a SQL Server table. However, the Profiler GUI consumes unnecessary memory and processor power capturing the trace events and displaying them on the screen. For constant monitoring and logging, the ASTrace tool will capture a Profiler trace and write it to a SQL Server table without requiring a GUI. ASTrace also runs as a Windows service allowing it to restart automatically when the server reboots. SQL Server ships with a tool called SQL Server Profiler that is able to capture trace events from a SQL Server Analysis Services and write those events to a SQL Server table. However, the Profiler GUI consumes unnecessary memory and processor power capturing the trace events and displaying them on the screen. For constant monitoring and logging, the ASTrace tool will capture a Profiler trace and write it to a SQL Server table without requiring a GUI. ASTrace also runs as a Windows service allowing it to restart automatically when the server reboots.
Alternatives to ASTrace include server side traces (and then loading those .trc files into SQL Server with a PowerShell script after the fact) and Xevents. Alternatives to ASTrace include [server side traces](http://blogs.msdn.com/b/karang/archive/2012/09/10/9916124.aspx) (and then loading those .trc files into SQL Server with a [PowerShell script](http://www.bp-msbi.com/2012/02/counting-number-of-queries-executed-in-ssas/) after the fact) and Xevents.
ASTrace is a great way to capture the text and duration of MDX queries, to log details about processing failures, and to troubleshoot SSAS issues such as locking. ASTrace is a great way to capture the text and duration of MDX queries, to log details about processing failures, and to troubleshoot SSAS issues such as locking.