Brad’s Sure Guide to SQL Server Maintenance Plans- P43 doc
... Task As detailed in Chapter 10, the Execute SQL Server Agent Job task allows you to run one (and only one) predefined SQL Server Agent job as part of a Maintenance Plan. The big advantage of using ... different name, in order to distinguish them. However, our first goal is to rename them in order to better identify what each instance is supposed to do. To change the nam...
Ngày tải lên: 04/07/2014, 23:20
... Designer. Maintenance Plan Wizard The Maintenance Plan Wizard is one of two tools that SQL Server provides to create Maintenance Plans. A note on terminology SQL Server uses the term " ;Maintenance ... things that a DBA needs to do to maintain healthy SQL Servers. For more information on these broader topics, do an Internet search on " ;SQL Server Best Prac...
Ngày tải lên: 04/07/2014, 23:20
... time. The first thing we need to do is to give our Maintenance Plan a name. The default name is "MaintenancePlan" but I strongly advise you to change this to something more descriptive ... for the Maintenance Plan will run only once a week. You can also select this option if you want to create a Maintenance Plan, but not schedule it, which allows you to manually...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P12 docx
... this same task automatically. Execute SQL Server Agent Job The Execute SQL Server Agent Job task allows you to select SQL Server Agent jobs (ones you have previously created), and to execute them ... limitations, I chose to include the Maintenance Cleanup task, for illustrative purposes. Maintenance Task Order Having chosen the maintenance tasks you want to include...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P16 docx
... section on Maintenance Task Order, some jobs have to run before other jobs, otherwise they might fail. So, in order to test our new plan, we navigate to the SQL Server Agent | Jobs directory, right-click ... it's possible to customize your Maintenance Plan by directly modifying its SQL Server Agent jobs, I strongly advise against it. Unless you are an expert in bo...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P21 docx
... located in this folder: C:\ Program Files\Microsoft SQL Server\ MSSQL10.MSSQLSERVER\MSSQL\JOBS. Chapter 6: Shrink Database Task 103 The Auto Shrink Option If you pull up the properties window ... DBA will want to manually expand the database, in a controlled fashion, to ensure that there is always room for new data, without having to rely on an automatic autogrowth event to kic...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P25 doc
... the Maintenance Plan Wizard: simplicity. If you need to use both the Reorganize Index task and the Rebuild Index task on the same SQL Server instance, you may be better off creating a manual maintenance ... where you need to pick and choose which tables and indexed views to reorganize, then you would be better off using T -SQL or PowerShell scripts to do this task for you,...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P26 doc
... task. Overview of the Update Statistics Task When a query is submitted to SQL Server, the Query Optimizer attempts to work out the best way to execute that query. It will generate a series of possible ... cases, SQL Server does a fairly good job at keeping statistics up to date. However, if you have just performed a database maintenance task, such as reorganizing indexes, t...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P30 doc
... AdventureWorks database): BACKUP DATABASE [AdventureWorks] TO DISK = N'C:\Program Files\Microsoft SQL Server\ MSSQL10.MSSQLSERVER\MSSQL\Backup\ AdventureWorks_backup_2009_08_19_145336_3160000.bak' WITH ... 2009-08-19T15:02:14. Success Command: BACKUP DATABASE [AdventureWorks] TO DISK = N''C:\ Program Files\Microsoft SQL Server\ MSSQL10.MSSQLSERVER\MSSQL\ Backup...
Ngày tải lên: 04/07/2014, 23:20
Brad’s Sure Guide to SQL Server Maintenance Plans- P31 docx
... to Disk. Don't back up directly to tape SQL Server supports the option to directly back up a database to a direct attached tape drive (the tape drive is physically attached to the SQL Server) , ... databases directly to tape. Virtually nobody backs up a SQL Server database directly to tape any more, so you will not need to select this option. The next option...
Ngày tải lên: 04/07/2014, 23:20