0

0

YourSQLDba的翻译(六)

php中文网

php中文网

发布时间:2016-06-07 15:07:39

|

1566人浏览过

|

来源于php中文网

原创

YourSQLDba的 翻译 (六) 在运行下面这个存储过程之前,先部署好yoursqldba,执行yoursqldba_installorupdatescript.sql. 脚本。然后运行下面的存储过程进行配置您的yoursqldba 这个存储过程在SQLSERVER 代理里创建两个任务,这些任务的描述都包含在Maint.You

YourSQLDba的翻译(六)

在运行下面这个存储过程之前,先部署好yoursqldba,执行yoursqldba_installorupdatescript.sql. 脚本。然后运行下面的存储过程进行配置您的yoursqldba


这个存储过程在SQLSERVER 代理里创建两个任务,这些任务的描述都包含在Maint.YourSQLDba_DoMaint存储过程里
任务一:在午夜执行YourSQLDba_FullBackups_And_Maintenance 作业,这个作业的用途是执行每日维护包括完整备份数据库
任务二:每15分钟执行YourSQLDba_LogBackups 作业,这个作业的用途是备份事务日志

YourSQLDba创建一个数据库邮件profile 命名为YourSQLDba_EmailProfile
这个profile里有一个帐户:名为.@YourSQLDba.com

    是你的服务器的计算机名.
    是你的SQLSERVER实例名字

YourSQLDba还会创建一个SQLSERVER代理操作员,命名为YourSQLDba_Operator ,这个操作员包含了@email参数

火山翻译
火山翻译

火山翻译,字节跳动旗下的机器翻译品牌,支持超过100种语种的免费在线翻译,并支持多种领域翻译

下载

YourSQLDba会配置警报根据你配置的数据库邮件,发送警报到你的邮件地址
YourSQLDba会改变SQLSERVER实例默认的SQL ERRORLOG的数量,默认只有7个,这样就能够有更长的ERRORLOG历史可以追查

 

Initial setup   Updated : 2010-10-06 Before to run it, deployed YourSQLDba solution by running the script YourSQLDba_InstallOrUpdateScript.sql. Then run this procedure from YourSQLDba database. Sample : 1 Exec YourSQLDba.Install.InitialSetupOfYourSQLDba 2 @FullBackupPath = 'c:\iSql2005Backups' -- full backup path destination 3 , @LogBackupPath = 'c:\iSql2005Backups' -- log backup path destination 4 , @email = 'myAdmin@myDomain.com' -- Email recipients (or distribution list) 5 , @SmtpMailServer = 'myMailServer' -- Mail server that accept SMTP mail 6 7 , @ConsecutiveFailedbackupsDaysToPutDbOffline = 0000 8 -- Maximum number of consecutive days of failed full backups allowed 9 -- for a database before putting that database (Offline). 10 -- You must choose a value between 4 and 9999. 11 -- Important: Your can read the explanations in the InitialSetupOfYourSQLDba page 12 -- for using the @ConsecutiveFailedbackupsDaysToPutDbOffline parameter.   Click here to get the full description of the call to the procedure "Install.InitialSetupOfYourSQLDba". The procedure create two tasks in SQL Server Agent that invokes the Maint.YourSQLDba_DoMaint procedure.  At midnight : YourSQLDba_FullBackups_And_Maintenance : Perform daily maintenance including full backups of name : Every 15 minutes around the clock : YourSQLDba_LogBackups : Does log backups It creates a database mail profile named YourSQLDba_EmailProfile which contains a account named as     .@YourSQLDba.com     is the name of the server.     is the name of the instance if it is not the instance by default. It creates an SQL Server Agent operator named YourSQLDba_Operator which contains the value of the @email parameter. It configures SQL Server Agent alert system to have YourSQLDba_EmailProfile. It modifies log archive number limit on SQL Server instance, so it is possible to have a longer SQL Server Error logs history  

相关专题

更多
Word 字间距调整方法汇总
Word 字间距调整方法汇总

本专题整合了Word字间距调整方法,阅读下面的文章了解更详细操作。

2

2025.12.24

任务管理器教程
任务管理器教程

本专题整合了任务管理器相关教程,阅读下面的文章了解更多详细操作。

2

2025.12.24

AppleID格式
AppleID格式

本专题整合了AppleID相关内容,阅读专题下面的文章了解更多详细教程。

0

2025.12.24

csgo视频观看入口合集
csgo视频观看入口合集

本专题整合了csgo观看入口合集,阅读下面的文章了知道更多入口地址。

29

2025.12.24

yandex外贸入口合集
yandex外贸入口合集

本专题汇总了yandex外贸入口地址,阅读下面的文章了解更多内容。

58

2025.12.24

添加脚注通用方法
添加脚注通用方法

本专题整合了添加脚注方法合集,阅读专题下面的文章了解更多内容。

1

2025.12.24

重启电脑教程汇总
重启电脑教程汇总

本专题整合了重启电脑操作教程,阅读下面的文章了解更多详细教程。

3

2025.12.24

纸张尺寸汇总
纸张尺寸汇总

本专题整合了纸张尺寸相关内容,阅读专题下面的文章了解更多内容。

5

2025.12.24

Java Spring Boot 微服务实战
Java Spring Boot 微服务实战

本专题深入讲解 Java Spring Boot 在微服务架构中的应用,内容涵盖服务注册与发现、REST API开发、配置中心、负载均衡、熔断与限流、日志与监控。通过实际项目案例(如电商订单系统),帮助开发者掌握 从单体应用迁移到高可用微服务系统的完整流程与实战能力。

1

2025.12.24

热门下载

更多
网站特效
/
网站源码
/
网站素材
/
前端模板

精品课程

更多
相关推荐
/
热门推荐
/
最新课程
Go 教程
Go 教程

共32课时 | 2.9万人学习

Golang云原生架构师课程
Golang云原生架构师课程

共49课时 | 2.9万人学习

Golang基础入门到精通(第二季)
Golang基础入门到精通(第二季)

共49课时 | 2.6万人学习

关于我们 免责申明 举报中心 意见反馈 讲师合作 广告合作 最新更新
php中文网:公益在线php培训,帮助PHP学习者快速成长!
关注服务号 技术交流群
PHP中文网订阅号
每天精选资源文章推送

Copyright 2014-2025 https://www.php.cn/ All Rights Reserved | php.cn | 湘ICP备2023035733号