Hi @Neha ,
Welcome to the MS Q&A platform.
You can use the below DMVs to Monitor the Long Running MDX Queries
SELECT SESSION_SPID, SESSION_USER_NAME, SESSION_LAST_COMMAND,
SESSION_LAST_COMMAND_ELAPSED_TIME_MS FROM $SYSTEM.DISCOVER_SESSIONS
ORDER BY SESSION_LAST_COMMAND_ELAPSED_TIME_MS DESC
Reference document: https://learn.microsoft.com/en-us/archive/blogs/johndesch/using-dmvs-to-monitor-and-terminate-long-running-mdx-queries
Please let us know if you have any further questions.
------------------------------
- Please don't forget to click on
or upvote
button whenever the information provided helps you. Original posters help the community find answers faster by identifying the correct answer. Here is how
- Want a reminder to come back and check responses? Here is how to subscribe to a notification
- If you are interested in joining the VM program and help shape the future of Q&A: Here is how you can be part of Q&A Volunteer Moderators