Essential Database Management Tips - Oracle and Teradata Backup Processes

by / February, 2018 / Published in Oracle DBA Tips

What's the essential element of your database health? Performance? Functionality? Reliability?

- Johny Stone

oracle teradata performance tuning

While each of the aforementioned plays a vital role in the daily use of any database, the cornerstone of a healthy OLTP or OLAP system is backup and recovery. No matter how much attention you put into cultivating a stable DB architecture, errors and system-wide blackouts is an unfortunate reality.

As a database administrator for Oracle or Teradata, your principal duty is to create, implement and oversee backup and restoration strategies. The foundation of this strategy is to safeguard data from loss and streamline reconstruction if you experience data loss. Regardless of the system, backup administration duties generally include:

  • Planning and testing a variety of failures and how you respond to each
  • Configure and maintain backup and recovery environments for minimum data loss
  • Establishing a regular backup schedule
  • Monitoring each backup and recovery process for efficiency and accuracy
  • Determining backup problems and troubleshooting errors
  • Establish effective data preservation methodologies for short and long-term data storage

Although exact backup and recovery facilities used by your enterprise may vary based upon which RDBMS you use, such as Oracle or Teradata, the fundamental principles are universal. Without further ado, let's dive into the various pillars of effective backup facilities for both Oracle and Teradata.

Oracle Database Backup Methodology - Data Loss Protection:

In general, backup facilities for Oracle utilize a threefold methodology:

  • Standard backups utilizing Oracle Recovery Manager, Oracle Backup Manager or approved third-party utilities
  • Imports and exports
  • Manual Cold and Hot Backup using archive log and without archive log

In terms of normal system backup facilities, Oracle utilizes two primary methodologies, known as cold backups and hot backups. Each backup facility offers unique benefits and should be used when appropriate.

Oracle Cold Backups - Inactive Database Preservation:

Cold backups are performed when a database is shut down, or inactive. This backup methodology provides a full copy of the entire database. Should a critical error occur, cold backups allow the database to be fully restored to its exact specifications. You can take cold backup with archive log too. If your database is running without archive log mode then you can take only cold backup (means you cannot take hot backup in this condition).

In general, the protocol for a cold backup includes:

  • Activating safe shutdown procedure by using provided shutdown scripts, which deactivate the specific instances you wish to backup.
  • Confirm ample storage space to backup the entire database, which can be quite large based on your enterprise.
  • Execute mounting commands based on backup media.

There are lots of possibilities existing of data loss in cold backup if your database is running on NOARCHIVE log mode.

Oracle Hot Backups - Active Database Preservation:

Unlike cold backups, hot backup methodology retrieves data from an active database. While this method provides a copy of stored data, it doesn't backup current (or active) transactions. To solidify this procedure, redo logs must put automatic archive mode before or during the backup process.

The biggest difference between hot and cold backups is within a hot backup only specific database segments are backed up. To execute a hot backup, input the ALTER command for each tablespace. After the backup is complete, ensure to restore tablespace status to normal.

Oracle DBA Interview Questions

Oracle Export/Import:

Logical backup of Oracle is called as Export and Import. Using datapump you can take export backup. You can restore backup using import process. This backup doesn't take backup of physical structure of database but it backed up logical structure of database. It is fast and Oracle provides so many new features like compress, parallel, schema level, table level, tablespace level backup. This backup can take only database is running mode.

Oracle Recovery Manager RMAN:

Oracle recovery manager is called as RMAN. You can take both cold backup and hot backup using RMAN utility. RMAN backup never stores empty space of tablespace means size of backup may be small than size of database. There is no need to put tablespace in backup mode during RMAN backup.

Teradata BAR (Backup Archive Restore):

To protect your data from damage or loss, Teradata offers a BAR solution, which is a unique framework architecture designed to safeguard your entire database. There are three solutions offered by Teradata BAR, which include:

  • Advanced BAR Solution - Designed for rapid recovery, this backup facility leverages the strength and performance of Teradata solutions for expedited data recovery.
  • Certified BAR Solution - More complex than the aforementioned backup facility, this restorative architecture is ideal for larger data warehouses that require higher or lower system to the backup ratio for unique circumstances.
  • Enterprise BAR Solution - - This adaptive backup facility is designed for complex data warehouses that require unique and/or backup and restore services. It’s optimized by Teradata engineers and features maximum scalability options.

In Short:

Disaster recovery planning and Backup of Oracle and Teradata is wide subject. We cannot provide more detail in this kind of single article. But I tried to give you short advise and tips using this article. Exclusive and professional remote Database services offered by Dbametrix with strong response time and high availability for important and critical Oracle databases. Expert remote dba team of Dbametrix is having wide experience to manage large and critical database with quick problem resolution.

Dbametrix is world wide leader in remote dba support. Expert remote DBA team of Dbametrix is offering high quality professional Oracle DBA support with strong response time to fulfill your SLA. Contact our sales department for more information.