简体   繁体   中英

Catching queries from SSAS

I am looking for something like SQL Server Data Collection but for Analysis Services to log every executed OLAP query. As far as I know SSAS log doesn't provide this information.

You can use Profiler connected to SSAS to watch queries live.

Or you can install ASTrace to log queries or any other trace events to a SQL database without a GUI running.

Or you can use a server side trace to write to .trc files on disk on the SSAS server. Then you can later load those files to a SQL server database for analysis with a PowerShell script like this .

Or you could use XEvents .

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM