by Diane Beeler, Consulting Product Marketing Manager, BMC Software and Mati Pitkanen, SQL-BackTrack for Oracle Product Manager, BMC Software
Making sure that databases are constantly available is one of the DBAs main responsibilitiesand one of his biggest challenges. Downtime is expensive and is just not tolerated in todays fast-paced, demanding, if-youre-not-available-Im-goingelsewhere environment. Things happen, thoughhuman error, electrical outages, and moreand the DBA has to have tools to help him get the database back to where it was previously and fast. The Oracle DBA has built-in utilities at his disposal, but these can be complicated to install, configure, learn, and use. If youre not an experienced DBA or you are, but youre not skilled at manual backup and recovery or Oracle utilitiesyou will have a big learning curve. This takes time time you probably dont have. Even if you are an expert Oracle DBA, you may be asked to manage databases that span the enterprise. Chances are that your company has several database platforms and NT and Unix systems. If youre working with an Oracle-only utility, you dont have a tool that can cover a heterogeneous environment. Your time is valuable and there just arent enough DBAs in the company. so what do you do? If you want to look like the smart DBA that you are, select a tool that takes the complexity out of doing backups and recoveries, advises you on issues you may not be familiar with, and executes quicklySQL-BackTrack, the DBAs power tool for backups and recoveries. There are versions of SQL-BackTrack for Oracle, Microsoft SQL Server, DB2 Universal Database, Sybase, and Informix database platforms and for Unix and NT operating systems. You become familiar with one tool and then you become efficient and effective across the enterprise. Lets take a look at how this tool can help make you a powerful and smart DBA and assure that your systems are available and reliable.
To Be a Smart DBA, What Does Your Backup and Recovery Power Tool Need to Do for You?
For you to be able to assure that your systems are available and reliable, you need tools that have the functionality and qualities you need to help you be successful. SQLBackTrack is an intelligent, high-performance tool that simplifies and automates many database administration tasks associated with backup and recovery. SQL-BackTrack provides a long list of features that make backup and recovery fast, automated, manageable, flexible, and reasonably assured of success. SQL-BackTrack is all about: Assurance of recoverability Simplicity Performance Flexibility Intelligence Automation
Integration Heterogeneity Lets look at the features, functions, and usability of SQL-BackTrack for Oracle and see how they can help you be that smart DBA.
Guided Recovery
When a database recovery is required, DBAs are faced with several difficult tasks:
Analyze Determine what went wrong and what objects need to be recovered Source Locate all appropriate backup files required to perform the recovery Prepare Decide where and how to perform the restore-from-backup Restore Copy all appropriate database files from the backup location to disk Recover Perform the actual database recovery (step-by-step procedure) Post-op Reset the log if needed, start the database, and perform a new backup
The tasks differ greatly from one recovery to the next. For example, in the case of an incomplete recovery, the DBA must manually determine the time, SCN, or log sequence number to recover to. After the recovery, the DBA must remember to open the database with the RESETLOGS option and then do an immediate database backup. Choosing the right approach in the middle of a stressful recovery can be very difficult. Even an experienced DBA may have difficulty performing these complex, manual tasks under time pressure. SQL-BackTrack's exclusive Guided Recovery feature greatly simplifies these tasks: Detects missing data files, control files, online redo logs, parameter files, or data files Presents options appropriate for the situation and the DBA selects from the available recovery types
Issues all Oracle Server Manager commands required to implement the recovery Restores the database files, prompting to load media when necessary Restores and applies archive logs Brings the database online
SQL-BackTrack's Guided Recovery makes complex recoveries fast, simple, and as error-free as possible.
Efficient Backups
At a file level, databases are optimized for access, not storage efficiency, and so they can be very resource-intensive to backup and recover. SQL-BackTrack uses advanced compression techniques to reduce the time, network resources, and storage resources needed for backup and recovery operations. SQL-BackTrack minimizes backup size by excluding never-used blocks from backups. SQL-BackTrack also compresses data content before directing data to the storage management layer. SQL-BackTrack achieves a 3:1or bettercompression ratio, resulting in smaller backup files, reduced media requirements, and faster backups, especially when backups are written across a network to remote storage devices. SQL-BackTrack makes the most efficient use of your limited time and resources.
Enterprise Snapshot delivers nondisruptive database backups, reducing the impact of backups to almost nothing.
The advantages to using SQL-BackTrack for Oracle Enterprise Snapshot Edition to perform backups include the following:
Provides near 24x7 database availability Shrinks the backup window to almost zero Stretches the batch window or adds hours to the online day Exploits advanced technology already in place. SQL-BackTrack for Oracle Enterprise Snapshot Edition can use both software and hardware snapshot technology to ensure valid backups while maintaining database availability Improves recovery time by eliminating the need to apply transaction logs to recover to the snapshot point-in-time copy of the databases
Enterprise Snapshot allows cold backups to be made in minutes instead of hours. In the case of a hot backup, Enterprise Snapshot greatly reduces the time each tablespace must spend in backup mode to minutes, or even seconds, greatly improving performance during the backup. SQL-BackTrack saves time and space and maintains database performance during large-scale backups.
Process Restartability
Backup and recovery operations can fail for any number of reasonsmissing media, insufficient disk space, hardware outages, etc. SQL-BackTrack insulates DBAs from the full impact of these failures, by allowing processes to restart from the point of failure, rather than requiring a rerun from the first step. During a time-critical recovery operation, this capability can greatly reduce the total time to recovery (TTR).
SQL-BackTrack provides fine-grained control of the restart process, not just a date/time cutoff.
SQL-BackTrack architecture
Database backup and recovery is a DBA responsibility, but in most organizations, DBAs have to rely on a separate storage team to administer the storage management subsystem. What happens if a database recovery is urgently needed, but the storage system is offline or has had its own disaster? SQL-BackTracks Backup Cloning helps DBAs avoid this problem. During recovery, SQL-BackTrack can dynamically fail over to a secondary copy if a primary device fails or is offline. It is easy to configureyou can make as many copies from one read as you want. One copy, for example, can go to Tivoli Storage Manager and one to disk.
SQL-BackTrack integrates with storage managers and optimizes availability with cloning.
Backup cloning eliminates the backup storage medium as a single point of failure
enterprise backup and recovery strategy due to its support for both Oracle and Sybase. It has provided them flexibility and increased efficiency in having one DBA support both Sybase and Oracle backup and recoveries. It has also allowed them to integrate with Tivoli Storage Manager without the dependence on a TSM Administrator. Case #3 A Large Investment Firm Wiped Out by a Disaster An unexpected disaster wiped out the entire data center of a large investment firm. Using SQL-BackTrack, the company was able to get their environment up and running with ZERO data loss from their databases. In the event of an unplanned outage, SQL-BackTrack minimizes downtime by simplifying the entire recovery process. It restores database files and actually guides the DBA through every step of the recovery process while automatically detecting and restoring all missing files. Case #4 A Large Technology Company Having Difficulty Recovering Databases A large technology company has large amounts of Oracle running in the enterprise. The manager of the DBA group has years of experience with Oracle and has even attended Oracle backup and recovery training. Until using SQL-BackTrack for Oracle, however, he was never able to successfully recover a database missing control and system files. With SQL-BackTrack for Oracle, he performed a full recovery as well as a point-in-time recovery. He now has confidence that he can cover for one of his employees in the event of a disaster. Case #5 A Large Public Utility Splitting Up A large public utility is splitting into two companiesone regulated and the other deregulated. The new deregulated company is starting nearly from the ground up on their database. The problems it faces are inherited legacy systems in production, the need to standardize as much as possible on tools more than platforms, and figuring out what tools to use. They have very large systems to backup and recover and need tools that provide maximum availability, performance, and scalability. They have chosen SQL-Backtrack, which delivers rapid database recovery through right-sizing, or performing the smallest, most efficient recovery possible.
Summary
One of the biggest benefits that SQL-BackTrack can provide you is the way in which database recoveries are performed. SQL-BackTrack analyzes the system, asks some questions, and generates the proper commands to perform the recovery. Everything is fully automatic. There is a monitor to monitor the progress of the recovery. If the recovery is killedbecause, for example, a tape drive has jammed or a cable came loosethe recovery can be resumed where it left off without having to repeat the entire procedure. Native utilities can provide this same basic ability, but require an experienced DBA to perform the recovery. The DBA must examine the system and determine what parts are damaged or missing. Then the proper database commands need to be entered to perform the recovery. Although experienced DBAs may be able to accomplish their backups and recoveries using native utilities, the time, effort, and expertise required is very high. The DBA must
select the step-by-step procedure that best fits a given recovery and know the command syntax required. SQL-BackTrack is a proven backup and recovery solution that works in the real world. Its simple, menu-driven interface is immediately usable by DBAs of all skill levels. Its unique Guided Recovery process helps DBAs choose the recovery strategy that best fits a given situation. SQL-BackTrack makes backups and recoveries fast, automated, manageable, flexible, and highly assured of success. It is the smart DBAs power tool for backing up and recovering databases. To learn more about BMC Softwares distributed and mainframe database products, visit 18727 08/2002 our Web site at www.bmc.com/database.