{"id":3255,"date":"2013-02-03T02:31:26","date_gmt":"2013-02-03T02:31:26","guid":{"rendered":"http:\/\/blog.pmail.idv.tw\/?p=3255"},"modified":"2013-02-03T02:31:26","modified_gmt":"2013-02-03T02:31:26","slug":"%e8%a7%a3%e6%b1%basharepoint-%e7%a1%ac%e7%a2%9f%e7%a9%ba%e9%96%93%e4%b8%8d%e8%b6%b3","status":"publish","type":"post","link":"https:\/\/blog.pmail.idv.tw\/?p=3255","title":{"rendered":"\u89e3\u6c7aSharePoint \u786c\u789f\u7a7a\u9593\u4e0d\u8db3"},"content":{"rendered":"<p>\u56e0\u4e3b\u6a5f\u7a7a\u9593\u4e0d\u5920\uff0c\u767c\u73fe\u8cc7\u6599\u5eab\u53calog \u6a94\u6848\u904e\u5927 <\/p>\n<p>\u5176\u5be6\u53ea\u8981\u505alog\u58d3\u7e2e\u5373\u53ef<\/p>\n<p><!--more--><\/p>\n<p>===== \u53c3\u8003\u8a9e\u6cd5 \u58d3\u7e2e\u6210 300 MB ====  <\/p>\n<p>USE WSS_Content; <\/p>\n<p>GO <\/p>\n<p>&#8212; Truncate the log by changing the database recovery model to SIMPLE. <\/p>\n<p>ALTER DATABASE WSS_Content <\/p>\n<p>SET RECOVERY SIMPLE; <\/p>\n<p>GO <\/p>\n<p>&#8212; Shrink the truncated log file to 300 MB. <\/p>\n<p>DBCC SHRINKFILE (WSS_Content_Log, 300); <\/p>\n<p>GO <\/p>\n<p>&#8212; Reset the database recovery model. <\/p>\n<p>ALTER DATABASE WSS_Content <\/p>\n<p>SET RECOVERY FULL; <\/p>\n<p>GO <\/p>\n<p>Ps.\u53c3\u8003 <\/p>\n<p><a href=\"http:\/\/msdn.microsoft.com\/zh-tw\/library\/ms189493.aspx\">http:\/\/msdn.microsoft.com\/zh-tw\/library\/ms189493.aspx<\/a><\/p>\n<div class=\"21cd169d3c0f71e95b84db320302cb4a\" data-index=\"1\" style=\"float: right; margin:10px 0 10px 10px;\">\n<script async src=\"https:\/\/pagead2.googlesyndication.com\/pagead\/js\/adsbygoogle.js?client=ca-pub-8711325745898650\"\r\n     crossorigin=\"anonymous\"><\/script>\n<\/div>\n\n<div style=\"font-size: 0px; height: 0px; line-height: 0px; margin: 0; padding: 0; clear: both;\"><\/div>","protected":false},"excerpt":{"rendered":"<p>\u56e0\u4e3b\u6a5f\u7a7a\u9593\u4e0d\u5920\uff0c\u767c\u73fe\u8cc7\u6599\u5eab\u53calog \u6a94\u6848\u904e\u5927 \u5176\u5be6\u53ea\u8981\u505alog\u58d3\u7e2e\u5373\u53ef<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"ngg_post_thumbnail":0,"footnotes":""},"categories":[25],"tags":[],"class_list":["post-3255","post","type-post","status-publish","format-standard","hentry","category-sharepoint2010"],"_links":{"self":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3255","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=3255"}],"version-history":[{"count":0,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=\/wp\/v2\/posts\/3255\/revisions"}],"wp:attachment":[{"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=3255"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=3255"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/blog.pmail.idv.tw\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=3255"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}