SQL Server?????????????????????
???????????? ???????[ 2013/2/7 9:36:13 ] ????????
???????????????飺
DBCC SQLPERF(LOGSPACE)
GO
SELECT name??recovery_model_desc??log_reuse_wait??log_reuse_wait_desc
FROM sys.databases
GO
???????Log Space Used(%)??????????λ?????????????????????LOG_BACKUP????ζ??????????????лkalagooooo????????????????????????SQLServer????ζ??SQLServer?????????????????????????????????
????????2????????????
??????????????????????????????????ACTIVE_TRANSACTION??????????????????????????
DBCC OPENTRAN
GO
SELECT *
FROM sys.dm_exec_sessions AS t2 ??
sys.dm_exec_connections AS t1
CROSS APPLY sys.dm_exec_sql_text(t1.most_recent_sql_handle) AS st
WHERE t1.session_id = t2.session_id
AND t1.session_id > 50
??????к????
?????????????????????????????????????????????????ò????????????????????????У??????KILL SPID?????????
??????
???·???
??????????????????
2023/3/23 14:23:39???д?ò??????????
2023/3/22 16:17:39????????????????????Щ??
2022/6/14 16:14:27??????????????????????????
2021/10/18 15:37:44???????????????
2021/9/17 15:19:29???·???????·
2021/9/14 15:42:25?????????????
2021/5/28 17:25:47??????APP??????????
2021/5/8 17:01:11