SQL2008?????????????????
???????????? ???????[ 2015/4/14 13:21:43 ] ????????????? SQL
????????????????????????????????????????????С??????????SQL??sql2008R2???????????ū????????????????????????鷳????????????????????????С???????????504K??
???????????????????????????SQL2008???????????????????????С??????ο?????????????????????????????£?????????ɡ?
????1. ??????????SQL2005?е??????????????????????У?
????--sql 2005
????1 DUMP TRANSACTION ECM WITH NO_LOG
????2 BACKUP LOG ECM WITH NO_LOG
????3 DBCC SHRINKDATABASE(ECM)
????2. ????SQL2008?????????????????????????????????????SQL2005?п??????е???SQL2008????????????
???????????
??????SQL2008?????????????????????У??????????????????????????
1 --sql 2008
2
3 USE [master]
4 GO
5 ALTER DATABASE ECM SET RECOVERY SIMPLE WITH NO_WAIT
6 GO
7 ALTER DATABASE ECM SET RECOVERY SIMPLE --????
8 GO
9 USE ECM
10 GO
11 DBCC SHRINKFILE (N'SCS_log' ?? 11?? TRUNCATEONLY)
????--???????????????????????
1 GO
2 USE [master]
3 GO
4
5 ALTER DATABASE ECM SET RECOVERY FULL WITH NO_WAIT
6
7 GO
8
9 ALTER DATABASE ECM SET RECOVERY FULL --?????????
10 GO
???????????????????????????????90GB?????????????????????????????????????????????????
??????????ɡ?
??????? ??????????ò????????????????????л??????????????????LOG??DIFF???????????????
??????????????????????????????????????????????LOG??????????????????????????á?
????????????
?????????????????
?????????????
???????У????????У??????????*.ldf????????
????????????????*.mdf??????????????????????
????????????????????????????
???????????????????????????????С?
??????
???·???
??????????????????
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