YourSQLDba介绍
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 数据库和相关的维护程序。
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.

Hot AI Tools

Undresser.AI Undress
AI-powered app for creating realistic nude photos

AI Clothes Remover
Online AI tool for removing clothes from photos.

Undress AI Tool
Undress images for free

Clothoff.io
AI clothes remover

AI Hentai Generator
Generate AI Hentai for free.

Hot Article

Hot Tools

Notepad++7.3.1
Easy-to-use and free code editor

SublimeText3 Chinese version
Chinese version, very easy to use

Zend Studio 13.0.1
Powerful PHP integrated development environment

Dreamweaver CS6
Visual web development tools

SublimeText3 Mac version
God-level code editing software (SublimeText3)

Hot Topics



Users may have seen the term wapi when using the Internet, but for some people they definitely don’t know what wapi is. The following is a detailed introduction to help those who don’t know to understand. What is wapi: Answer: wapi is the infrastructure for wireless LAN authentication and confidentiality. This is like functions such as infrared and Bluetooth, which are generally covered near places such as office buildings. Basically they are owned by a small department, so the scope of this function is only a few kilometers. Related introduction to wapi: 1. Wapi is a transmission protocol in wireless LAN. 2. This technology can avoid the problems of narrow-band communication and enable better communication. 3. Only one code is needed to transmit the signal

Pubg, also known as PlayerUnknown's Battlegrounds, is a very classic shooting battle royale game that has attracted a lot of players since its popularity in 2016. After the recent launch of win11 system, many players want to play it on win11. Let's follow the editor to see if win11 can play pubg. Can win11 play pubg? Answer: Win11 can play pubg. 1. At the beginning of win11, because win11 needed to enable tpm, many players were banned from pubg. 2. However, based on player feedback, Blue Hole has solved this problem, and now you can play pubg normally in win11. 3. If you meet a pub

Introduction to Python functions: Introduction and examples of exec function Introduction: In Python, exec is a built-in function that is used to execute Python code stored in a string or file. The exec function provides a way to dynamically execute code, allowing the program to generate, modify, and execute code as needed during runtime. This article will introduce how to use the exec function and give some practical code examples. How to use the exec function: The basic syntax of the exec function is as follows: exec

i5 is a series of processors owned by Intel. It has various versions of the 11th generation i5, and each generation has different performance. Therefore, whether the i5 processor can install win11 depends on which generation of the processor it is. Let’s follow the editor to learn about it separately. Can i5 processor be installed with win11: Answer: i5 processor can be installed with win11. 1. The eighth-generation and subsequent i51, eighth-generation and subsequent i5 processors can meet Microsoft’s minimum configuration requirements. 2. Therefore, we only need to enter the Microsoft website and download a "Win11 Installation Assistant" 3. After the download is completed, run the installation assistant and follow the prompts to install Win11. 2. i51 before the eighth generation and after the eighth generation

After updating to the latest win11, many users find that the sound of their system has changed slightly, but they don’t know how to adjust it. So today, this site brings you an introduction to the latest win11 sound adjustment method for your computer. It is not difficult to operate. And the choices are diverse, come and download and try them out. How to adjust the sound of the latest computer system Windows 11 1. First, right-click the sound icon in the lower right corner of the desktop and select "Playback Settings". 2. Then enter settings and click "Speaker" in the playback bar. 3. Then click "Properties" on the lower right. 4. Click the "Enhance" option bar in the properties. 5. At this time, if the √ in front of "Disable all sound effects" is checked, cancel it. 6. After that, you can select the sound effects below to set and click

In today's fast life, in order to improve work efficiency, shortcut keys are an essential work requirement. A shortcut key is a key or key combination that provides an alternative way to perform an action normally performed using a mouse. So what are the edge shortcut keys? What are the functions of edge shortcut keys? The editor below has compiled an introduction to edge shortcut keys. Friends who are interested should come and take a look! Ctrl+D: Add the current page to favorites or reading list Ctrl+E: Perform a search query in the address bar Ctrl+F: Find on the page Ctrl+H: Open the history panel Ctrl+G: Open the reading list panel Ctrl +I: Open the favorites list panel (the test does not seem to work) Ctrl+J: Open

PyCharm is a powerful Python integrated development environment with rich functions and tools that can greatly improve development efficiency. Among them, the replacement function is one of the functions frequently used in the development process, which can help developers quickly modify the code and improve the code quality. This article will introduce PyCharm's replacement function in detail, combined with specific code examples, to help novices better master and use this function. Introduction to the replacement function PyCharm's replacement function can help developers quickly replace specified text in the code

Many users have printer drivers installed on their computers but don't know how to find them. Therefore, today I bring you a detailed introduction to the location of the printer driver in the computer. For those who don’t know yet, let’s take a look at where to find the printer driver. When rewriting content without changing the original meaning, you need to The language is rewritten to Chinese, and the original sentence does not need to appear. First, it is recommended to use third-party software to search. 2. Find "Toolbox" in the upper right corner. 3. Find and click "Device Manager" below. Rewritten sentence: 3. Find and click "Device Manager" at the bottom 4. Then open "Print Queue" and find your printer device. This time it is your printer name and model. 5. Right-click the printer device and you can update or uninstall it.
