
From SQL 2005 onwards, SQL profiler can be used to run a trace against Analysis server which was not available with earlier versions.
Running a trace to monitor SSAS is similar to using profiler against Database engine.
Start SQL profiler from start menu under SQL server program group.
Start SQL profiler from start menu under SQL server program group.
Start a new trace and connect to Analysis server instace.
In Events Selection tab, capture Queries Events and deselect all other events.
Beneath Query Events, There will be two main event classes as following:
1>Query Begin: This event class provides information about the query that was submitted to Analysis Services. The Event Subclass column provides information about the type of query.
2>Query End: This event class verifies the status of the query execution.
Duration data column shows the amount of time in milliseconds taken by the event and can be monitored to get the long running mdx queries.
Duration data column shows the amount of time in milliseconds taken by the event and can be monitored to get the long running mdx queries.
Othe data columns which could be tracked are: TextData, DatabaseName, EventSubClass ....
Also note the following before running a traceMonitor only those events which are required as monitoring too many events adds extra overhead.To create traces you must be a member of the Analysis Services server role.