Brad’s Sure Guide to SQL Server Maintenance Plans- P38 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P38 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P38 docx

... Introduction to the Maintenance Plan Designer 186 • Access to New Tasks – the Designer includes two new tasks • Execute T -SQL Statement task – allows you to run any custom T -SQL code as part of your Maintenance ... 16.3. Figure 16.3: The Maintenance Plan screen is the GUI-based interface you use to create custom Database Maintenance Plans. Before we drill into the speci...

Ngày tải lên: 04/07/2014, 23:20

5 227 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P11 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P11 docx

... 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

5 303 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P12 docx

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

5 253 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P16 docx

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

5 361 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P21 docx

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

5 303 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P31 docx

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

5 194 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P33 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P33 docx

... AdventureWorks is being backed up): BACKUP DATABASE [AdventureWorks] TO DISK = N'C:\Program Files\Microsoft SQL Server\ MSSQL10.MSSQLSERVER\MSSQL\Backup\ AdventureWorks_backup_2009_08_19_154600_2850000.bak' ... 2009-08-19T15:54:39. Success Command: BACKUP DATABASE [AdventureWorks] TO DISK = N''C:\ Program Files\Microsoft SQL Server\ MSSQL10.MSSQLSERVER\MSSQL\ Ba...

Ngày tải lên: 04/07/2014, 23:20

5 182 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P37 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P37 docx

... start to learn how to use the Maintenance Plan Designer. Chapter 15: Maintenance Cleanup Task 181 Figure 15.3: It would be very rare to only want to delete a single file. The second option is to ... Plan. 184 Chapter 16: Introduction to the Maintenance Plan Designer So far in this book, we have spent a lot of time learning how to use the Maintenance Plan Wizard to cre...

Ngày tải lên: 04/07/2014, 23:20

5 228 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P39 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P39 docx

... from the set of tasks in another subplan. Subplans and SQL Server Agent Jobs Behind the scenes, when you create a Maintenance Plan, a SQL Server Agent job is created for each subplan. As such, ... of maintenance tasks that run on the same time schedule. We will cover the topic of subplans in much more detail in Chapter 18 but, for the time being, you just need to know that a...

Ngày tải lên: 04/07/2014, 23:20

5 198 0
Brad’s Sure Guide to SQL Server Maintenance Plans- P44 docx

Brad’s Sure Guide to SQL Server Maintenance Plans- P44 docx

... similar to the Execute SQL Server Agent Job task in that it allows you to run custom T -SQL from within a Maintenance Plan. The main difference between these two is that the Execute T -SQL Statement ... require that a separate SQL Server Agent job be created to run the T -SQL, as the T -SQL can be executed directly from this task. Execute T -SQL Statement versus Execute...

Ngày tải lên: 04/07/2014, 23:20

5 254 0
w