Presentation is loading. Please wait.

Presentation is loading. Please wait.

CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery.

Similar presentations


Presentation on theme: "CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery."— Presentation transcript:

1 CS27510 Commercial Database Applications

2 Maintenance Maintenance Disaster Recovery Disaster Recovery

3 Maintenance The Maintenance Plan Wizard helps you set up the core maintenance tasks to make sure that your database performs well, is regularly backed up, and is free of inconsistencies. The Maintenance Plan Wizard helps you set up the core maintenance tasks to make sure that your database performs well, is regularly backed up, and is free of inconsistencies. The Maintenance Plan Wizard creates one or more SQL Server Agent jobs that perform these tasks on local servers or on target servers in a multiserver environment. The Maintenance Plan Wizard creates one or more SQL Server Agent jobs that perform these tasks on local servers or on target servers in a multiserver environment. Execution can be at scheduled intervals or on demand. Execution can be at scheduled intervals or on demand.

4 Some Tasks Back Up Database Task Back Up Database Task Performs different types of SQL Server database backups. Performs different types of SQL Server database backups. Check Database Integrity Task Check Database Integrity Task Checks the allocation and structural integrity of database objects and indexes. Checks the allocation and structural integrity of database objects and indexes. Maintenance Cleanup Task Maintenance Cleanup Task Removes files related to maintenance plans, including reports created by maintenance plans and database backup files. Removes files related to maintenance plans, including reports created by maintenance plans and database backup files.

5 Tasks (2) Rebuild Index Task Rebuilds indexes in SQL Server database tables and views. Rebuilds indexes in SQL Server database tables and views. Reorganize Index Task Reorganize Index Task Reorganizes indexes in SQL Server database tables and views. Reorganizes indexes in SQL Server database tables and views. Update Statistics Task Update Statistics Task Updates information about the distribution of key values for one or more sets of statistics on the specified database Updates information about the distribution of key values for one or more sets of statistics on the specified database

6 Disaster Recovery Backups Backups Frequency Frequency Elapsed Time Elapsed Time Full Backups Full Backups hours hours Differential Backups Differential Backups shorter than Full shorter than Full Restoration Time Restoration Time

7 Backup Storage To tape To tape Slow but storable off site Slow but storable off site To file To file Local Local Fast Fast Combination Combination Network File Network File Then tape backup Then tape backup

8 Management Both maintenance and disaster planning require: Both maintenance and disaster planning require: Management Management Commitment, monitoring and control Commitment, monitoring and control Procedures Procedures Formalise by documentation Formalise by documentation Training Training For database administrators For database administrators


Download ppt "CS27510 Commercial Database Applications. Maintenance Maintenance Disaster Recovery Disaster Recovery."

Similar presentations


Ads by Google