How to determine which SSAS Cube is processing now?

前端 未结 4 2245
长情又很酷
长情又很酷 2021-02-15 03:56

There is a problem when several users can process the same cube simultaniously and as a result processing of cube fails. So I need to check if certain cube is processing at curr

4条回答
  •  -上瘾入骨i
    2021-02-15 04:35

    use this code to select running processes: (execute this in OLAP)

        select *
    
    from $system.discover_Sessions
    
    where session_Status = 1
    

    And this code to cancel running prossesess ! Please change PID to running SESSISONS_SPID like in example:

    
    
      92436
    
      1
    
    

提交回复
热议问题