SharePoint使用逐步删除命令删除大型网站 [英] SharePoint deleting large site using gradual delete command

查看:81
本文介绍了SharePoint使用逐步删除命令删除大型网站的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

We have large single SharePoint site collection with storage 120 GB.

我们需要从内容数据库中删除此站点,以尽快回收空间.内容数据库托管着其他大小也为100GB的网站集.

We need to remove this site from the content database to reclaim the space asap. Content database is hosting other site collections also with size 100GB. 

我们知道,使用逐步删除命令,可以分阶段定期删除站点中的数据.

we know that, using gradual delete command, the data in site could be deleted regularly in stage wise manner.

我们希望在一周内从数据库中回收空间.

we want to reclaim the space from the database within one week. how can we control the duration of the deletion process from timer job.

推荐答案

AK SPAdmin.

Hi AK SPAdmin.

据我所知,您无法控制逐步站点删除"计时器作业执行的删除过程的持续时间,而只能控制其调度.
该计时器作业会通过多个事务删除足够小批量的数据(最多1000行),但是要删除的数据量将成为计时器作业执行时间的关键因素:您必须手动强制执行这 计时器作业,以便尽快释放数据库空间.
或者,您可以使用Remove-SPSite cmdlet删除网站集,而无需执行逐步删除操作.然后您可以通过执行以下操作完全释放已删除的网站集先前使用的空间: Get-SPDeletedSite cmdlet可以获取(部分)删除的列表,并通过执行以下操作最终释放内容数据库空间 删除SPDeletedSite cmdlet.

As far as I know, you cannot control the duration of the deletion process executed by the Gradual Site Delete timer job but only its scheduling.
That timer job deletes the data in small enough batches of a maximum of 1000 rows through multiple transactions, but the amount of data to be deleted will be the key factor for the timer job's execution time: you'll have to manually force the execution of the timer job in order to have the database space released as soon as possible.
As an alternative, you can remove the site collection using the Remove-SPSite cmdlet without performing a gradual deletion; then you can completely release the space previously used by the deleted site collection first by executing the Get-SPDeletedSite cmdlet to get a list of the (partially) deleted and finally free the content database space by executing the Remove-SPDeletedSite cmdlet.

再见.


这篇关于SharePoint使用逐步删除命令删除大型网站的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆