SQL Server 2008 有默认的维护计划吗?

发布于 2024-07-26 16:36:00 字数 140 浏览 5 评论 0原文

我使用的是 SQL Server 2008 企业版。 我想知道如果我没有显式设置任何维护作业,SQL Server 是否会执行任何默认维护作业(例如备份?重建索引?截断事务日志?)? 在哪里可以找到当前的维护工作?

提前致谢, 乔治

I am using SQL Server 2008 Enterprise version. I want to know if I do not explicitly set any maintenance jobs, are there any default maintenance jobs SQL Server will perform (like backup? rebuild index? truncate transaction log?)? Where to find the current maintenance jobs?

thanks in advance,
George

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(2

月寒剑心 2024-08-02 16:36:00

不会。开箱即用的 SQL Server 不会自动备份,也不会为您进行任何维护。 至于截断事务日志,您可以通过将数据库模式设置为 SIMPLE 来自动执行此操作,但在生产环境中,您不想这样做,因为它会破坏事务日志备份链。 在生产环境中,您需要制定计划来备份事务日志和数据库,并进行索引维护。

No. Out of the box SQL Server will not backup automatically nor will it do any maintenance for you. As far as truncating the transaction log goes, you can do that automatically by setting the database mode to SIMPLE, but in a production environment, you do NOT want to do this, because it breaks your transasction log backup chain. In a production environment, you will need to set up a plan to back up your transaction logs and your databases, and to do index maintenance.

厌倦 2024-08-02 16:36:00

在 SSMS 的对象资源管理器中,有一个维护文件夹。 下面有一个“维护计划”文件夹。

In SSMS, in the Object Explorer, there's a Maintenance folder. There's a "Maintenance Plans" folder under there.

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文