第一步,用 sp_who2 查出备份的sid(或在窗口中的连接属性中看)

 

exec sp_who2

 

SQL server 备份/恢复/压缩 进度查询

 

第二步,用以下查询获得运行情况(看 percent_complete列)

SELECT 
session_id, request_id, start_time, status, command, sql_handle
, database_id, user_id 
, blocking_session_id
, wait_type, wait_time, last_wait_type, wait_resource, open_transaction_count, open_resultset_count, transaction_id
, percent_complete, estimated_completion_time, cpu_time, total_elapsed_time, scheduler_id
, reads, writes, logical_reads
FROM sys.dm_exec_requests WHERE session_id=94

 

SQL server 备份/恢复/压缩 进度查询

 

相关文章:

  • 2021-08-29
  • 2021-07-30
  • 2022-12-23
  • 2021-04-09
  • 2021-11-29
  • 2021-10-07
  • 2021-08-10
猜你喜欢
  • 2022-12-23
  • 2022-12-23
  • 2021-11-16
  • 2021-05-31
  • 2022-03-05
  • 2021-08-16
  • 2022-01-19
相关资源
相似解决方案