搜尋

YourSQLDba介绍 YourSQLDba是一个法国人写的程序,它是由一系列T-SQL存储过程构成的脚本文件。可以理解成一个组件或安装包,从而简化了在Mircorsoft SQL Server 2005/2008 数据库的安装,部署。它可以提供自动、复杂,非常容易定制的数据库维护管理,从而可

YourSQLDba介绍

YourSQLDba是一个法国人写的程序,它是由一系列T-SQL存储过程构成的脚本文件。可以理解成一个组件或安装包,从而简化了在Mircorsoft SQL Server 2005/2008 数据库的安装,部署。它可以提供自动、复杂,非常容易定制的数据库维护管理,从而可以极大的让DBA从繁杂的维护工作中释放出来。这是一个优秀的工具,可以减轻你的工作。也是每个DBA应该努力的方向,可以编写自己的数据库管理维护工具,让你从繁杂的工作中解脱出来。

YourSQLDba的官方网站:

主要设计目标

   1. 实现SQL服务器维护的最佳实践

   2. 易于部署(从后面的介绍可以看出)

   3. 没有依赖其他工作的SQL代理和工作SQL Management Studio等

   4. 大量日志记录和报告,虚拟主机,非常便于诊断问题

   5. 确保维护问题可以自动产生报告

   6. 确保严重的情况也不容忽视很长时间。

功能介绍

  完整备份和日志备份的自动化

  执行更新统计信息(通常每隔一个指定的周期执行一次,默认是一周)

  选择性reorganize或重建那些超过阀值的索引。

  检查数据库的完整性。

  保持MSDB的最新备份,并记录备份历史(每个完整或日志备份周期)

  清理历史记录(备份、Sql Agent、 Sql Maintenance)

  清空(回收)SQL Server错误日志每天(30条以上归档)

  提供简单的存储过程工具做手工备份、复制数据库、恢复数据库

  数据库维护任务的Schedule

  配置数据库邮件维护报告

  发送电子邮件,定期通知维护活动。

  发送异常邮件通知数据库维护中的一些问题

    Disable immediately databases with integrity problem

  当备份失败超过3次时,禁用数据库备份(手工备份可以重置失败次数)

   Connect network drives visible to database engine for backup purposes, and make them auto-reconnect at startup.

对应英文文档如下:

  Automate full backups and recurrent log backups.

  Perform update statistics (spread all of them over a specified period of time, by default a week)

  Selectively reorganize or rebuild index that show a fragmentation thresold

  Check database integrity

  Keep an up-to-date backup of MSDB which record all backup history (at the end of each full or log backup cycle)

  Clean-up history log (backup, Sql Agent, Sql maintenance)

  Recycle SQL Server error log every day (keep up to 30 archives)

  Provides simplified sp utilities to do manual backup, duplicate database, and restore database.

  Schedule agent task for maintenance

  Configure database mail for maintenance reporting

  Send e-mail that regular notify maintenance activity

  Send exceptional e-mail for notifying problematic maintenance  issues

  Disable immediately databases with integrity problem

  Disable databases which failed to be backup more than 3 consecutives times (manual backup can reset the failure count)

  Connect network drives visible to database engine for backup purposes, and make them auto-reconnect at startup.

版本跟新情况

YouSQLDba的最新版本是2012-06-12年发布的Version 5.0.2版本。

12-003 2012-06-12

12-002 2012-03-20

12-001 2012-03-02

11-006 2011-10-06

11-005 2011-09-21

帮助文档

你从官网下载的YourSQLDba_ENU.chm帮助时,要注意不要下载了法文的文档。基本上关于YouSQLDba的资料都可以从帮助文档获取。

 

安装过程

 

YourSQLDba的安装步骤很简单,首先安装前,你先看一下帮助文档的Deployment & Update文档部分。对整体安装部署有个了解先。

1:打开SQL Server Management studio. 新建一个查询界面。

2:然后通过帮助文件中的“Click here to open the script”连接,进去复制拷贝脚本YourSQLDba_InstallOrUpdateScript.sql。

3:执行脚本成功后,会在数据库实例上创建一个YourSQLDba 数据库和相关的维护程序。

                                     

clip_image001

4:解决方案成功部署之前,香港虚拟主机,需要初始化设置。初始化设置是一个存储过程,是这一解决方案的一部分。

文档中例子如下:

Exec YourSQLDba.Install.InitialSetupOfYourSQLDba   @FullBackupPath = 'c:\iSql2005Backups' -- full backup path destination 完全备份目录地址   , @LogBackupPath = 'c:\iSql2005Backups' -- log backup path destination 日志备份目录地址   , @email = 'myAdmin@myDomain.com' -- Email recipients (or distribution list) Email账号   , @SmtpMailServer = 'myMailServer' -- Mail server that accept SMTP mail 邮箱服务器   , @ConsecutiveFailedbackupsDaysToPutDbOffline = 0000 -- Maximum number of consecutive days of failed full backups allowed   -- for a database before putting that database (Offline).   -- You must choose a value between 4 and 9999.   -- Important: Your can read the explanations in the InitialSetupOfYourSQLDba page   -- for using the @ConsecutiveFailedbackupsDaysToPutDbOffline parameter.

clip_image002

 

陳述
本文內容由網友自願投稿,版權歸原作者所有。本站不承擔相應的法律責任。如發現涉嫌抄襲或侵權的內容,請聯絡admin@php.cn
在MySQL中使用視圖的局限性是什麼?在MySQL中使用視圖的局限性是什麼?May 14, 2025 am 12:10 AM

mysqlviewshavelimitations:1)他們不使用Supportallsqloperations,限制DatamanipulationThroughViewSwithJoinsOrsubqueries.2)他們canimpactperformance,尤其是withcomplexcomplexclexeriesorlargedatasets.3)

確保您的MySQL數據庫:添加用戶並授予特權確保您的MySQL數據庫:添加用戶並授予特權May 14, 2025 am 12:09 AM

porthusermanagementinmysqliscialforenhancingsEcurityAndsingsmenting效率databaseoperation.1)usecReateusertoAddusers,指定connectionsourcewith@'localhost'or@'%'。

哪些因素會影響我可以在MySQL中使用的觸發器數量?哪些因素會影響我可以在MySQL中使用的觸發器數量?May 14, 2025 am 12:08 AM

mysqldoes notimposeahardlimitontriggers,butacticalfactorsdeterminetheireffactective:1)serverConfiguration impactactStriggerGermanagement; 2)複雜的TriggerSincreaseSySystemsystem load; 3)largertablesslowtriggerperfermance; 4)highConconcConcrencerCancancancancanceTigrignecentign; 5); 5)

mysql:存儲斑點安全嗎?mysql:存儲斑點安全嗎?May 14, 2025 am 12:07 AM

Yes,it'ssafetostoreBLOBdatainMySQL,butconsiderthesefactors:1)StorageSpace:BLOBscanconsumesignificantspace,potentiallyincreasingcostsandslowingperformance.2)Performance:LargerrowsizesduetoBLOBsmayslowdownqueries.3)BackupandRecovery:Theseprocessescanbe

mySQL:通過PHP Web界面添加用戶mySQL:通過PHP Web界面添加用戶May 14, 2025 am 12:04 AM

通過PHP網頁界面添加MySQL用戶可以使用MySQLi擴展。步驟如下:1.連接MySQL數據庫,使用MySQLi擴展。 2.創建用戶,使用CREATEUSER語句,並使用PASSWORD()函數加密密碼。 3.防止SQL注入,使用mysqli_real_escape_string()函數處理用戶輸入。 4.為新用戶分配權限,使用GRANT語句。

mysql:blob和其他無-SQL存儲,有什麼區別?mysql:blob和其他無-SQL存儲,有什麼區別?May 13, 2025 am 12:14 AM

mysql'sblobissuitableForStoringBinaryDataWithInareLationalDatabase,而ilenosqloptionslikemongodb,redis和calablesolutionsolutionsolutionsoluntionsoluntionsolundortionsolunsonstructureddata.blobobobissimplobisslowdeperformberbutslowderformandperformancewithlararengedata;

mySQL添加用戶:語法,選項和安全性最佳實踐mySQL添加用戶:語法,選項和安全性最佳實踐May 13, 2025 am 12:12 AM

toaddauserinmysql,使用:createUser'username'@'host'Indessify'password'; there'showtodoitsecurely:1)choosethehostcarecarefullytocon trolaccess.2)setResourcelimitswithoptionslikemax_queries_per_hour.3)usestrong,iniquepasswords.4)Enforcessl/tlsconnectionswith

MySQL:如何避免字符串數據類型常見錯誤?MySQL:如何避免字符串數據類型常見錯誤?May 13, 2025 am 12:09 AM

toAvoidCommonMistakeswithStringDatatatPesInMysQl,CloseStringTypenuances,chosethirtightType,andManageEngencodingAndCollat​​ionsEttingSefectery.1)usecharforfixed lengengtrings,varchar forvariable-varchar forbariaible length,andtext/blobforlargerdataa.2 seterters seterters seterters

See all articles

熱AI工具

Undresser.AI Undress

Undresser.AI Undress

人工智慧驅動的應用程序,用於創建逼真的裸體照片

AI Clothes Remover

AI Clothes Remover

用於從照片中去除衣服的線上人工智慧工具。

Undress AI Tool

Undress AI Tool

免費脫衣圖片

Clothoff.io

Clothoff.io

AI脫衣器

Video Face Swap

Video Face Swap

使用我們完全免費的人工智慧換臉工具,輕鬆在任何影片中換臉!

熱門文章

熱工具

SublimeText3 英文版

SublimeText3 英文版

推薦:為Win版本,支援程式碼提示!

PhpStorm Mac 版本

PhpStorm Mac 版本

最新(2018.2.1 )專業的PHP整合開發工具

SAP NetWeaver Server Adapter for Eclipse

SAP NetWeaver Server Adapter for Eclipse

將Eclipse與SAP NetWeaver應用伺服器整合。

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser是一個安全的瀏覽器環境,安全地進行線上考試。該軟體將任何電腦變成一個安全的工作站。它控制對任何實用工具的訪問,並防止學生使用未經授權的資源。

WebStorm Mac版

WebStorm Mac版

好用的JavaScript開發工具