Ajude a dar forma ao GoConqr. O que a gente deve adicionar?

Mapa mental

RMAN

sidlord Espanhol

Conteúdo do mapa

RMAN

  1. Arquitectura

    • • RMAN ejecutable
      • The RMAN executable, usually named rman, is the program that manages all backup and recovery operations. You interact with the RMAN executable to specify backup and recovery operations you want to perform.
      • The executable then interacts with the target database, starts the necessary server processes, and performs the operations that you requested. Finally, the RMAN executable records those operations in the target database's control file and the recovery catalog database, if you have one.
    • • Server processes
      • RMAN server processes are background processes, started on the server, used to communicate between RMAN and the databases. They can also communicate between RMAN and any disk, tape,  or other I/O devices. RMAN server processes do all the real work for a backup or restore operation,  and a typical backup or restore operation results in several server processes being started.
      • Server processes are started under the following conditions: • When you start RMAN and connect to your target database   • When you connect to your catalog -- if you are using a recovery catalog database  • When you allocate and open an I/O channel during a backup or recovery operation
    • • Channels
      • A channel is an RMAN server process started when there is a need to communicate with an I/O device, such as a disk or a tape. A channel is what reads and writes RMAN backup files. Any time you issue an RMAN allocate channel command, a server process is started on the target database server server.
      • It is through the allocation of channels that you govern I/O characteristics such as: • Type of I/O device being read or written to, either a disk or an sbt_tape   • Number of processes simultaneously accessing an I/O device  • Maximum size of files created on I/O devices  • Maximum rate at which database files are read  • Maximum number of files open at a time
    • • Target database
      • The target database is the database on which RMAN performs backup, restore, and recovery operations. This is the database that owns the datafiles, control files, and archived redo files that are backed up, restored, or recovered. Note that RMAN does not back up the online redo logs of the  target database.
    • • Recovery catalog database (optional)
      • The recovery catalog database is an optional repository used by RMAN to record information concerning backup and recovery activities performed on the target.
      • The recovery catalog consists of three components: • A separate database referred to as the catalog database (from the target database)   • A schema within the catalog database   • Tables (and supporting objects) within the schema that contain data pertaining to RMAN backup and recovery operations performed on the target
      • The catalog is typically a database that you build on a different host from your target database. The  reason for this is that you don't want a failure on the target host to affect your ability to use the catalog. If both the catalog and target are on the same box, a single media failure can put you in a situation from which you can't recover your target database.
      • Inside the catalog database is a special schema containing the tables that store information about RMAN backup and recovery activities. This includes information such as: • Details about the physical structure of the target database   • A log of backup operations performed on the target database's datafiles, control files, and archived redo log files   • Stored scripts containing frequently used sequences of RMAN commands
    • • Media management layer (optional)
      • The Media Management Layer (MML) is a third-party piece of software that manages the reading and writing of files to and from tape. An MML also keeps track of which files have been written to which tapes. If you want to back up your database files to tape, RMAN requires you to use an MML.If you plan to use RMAN to back up files only to disk, you do not need an MML.
      • MML tools are often used by System Administrators to back up the host O/S filesystems. If your work environment already uses a MML, you can leverage this architecture to implement RMAN backups to tape. There are several reasons to back up files to tape and thus require an MML: • The expense of storing large backups on disk is too costly.   • Your requirement is to back up files somewhere other than on the same server as the target database, thus reducing your risk of losing both the target database and backup files at the same time
      • When backing up files to tape, an MML keeps track of which files were written to which tapes. In the event that restoration of a database file is required, RMAN communicates to the MML a list of the backup files that are required to restore the database file. The MML then determines which tapes contain the required backup files, retrieves the requested backup files, and passes them back to RMAN; RMAN then restores the database file.
    • • Backups, backup sets, and backup pieces
      • When you issue an RMAN backup command, RMAN creates backup sets, which are logical groupings of physical files. The physical files that RMAN creates on your backup media are called backup pieces. When
      • RMAN backup A backup of all or part of your database. This results from issuing an RMAN backup command. A backup consists of one or more backup sets.
      • Backup set A logical grouping of backup files -- the backup pieces -- that are created when you issue an  RMAN backup command. A backup set is RMAN's name for a collection of files associated  with a backup. A backup set is composed of one or more backup pieces.
      • Backup piece A physical binary file created by RMAN during a backup. Backup pieces are written to your backup medium, whether to disk or tape. They contain blocks from the target database's datafiles, archived redo log files, and control files.
  2. Usando RMAN

    • Settear Variables
      • These variables include: ORACLE_SID, ORACLE_HOME, PATH, NLS_LANG, and NLS_DATE_FORMAT.
      • When using RMAN, NLS_LANG should be set to the character set that your database was created with. If you do not set NLS_LANG, you may encounter problems when issuing BACKUP, RESTORE, and RECOVER commands.
    • Definir Remotely password file (Opcional)
      • Setting up a password file is the other method by which you can administer the SYSDBA privilege. There are two good reasons to use RMAN with a password file:   • Oracle has deprecated the use of CONNECT INTERNAL and Server Manager.  • You may want to administer RMAN remotely through a network connection. 

Informações

Descrição
Mapa Mental sobre RMAN, criado por sidlord em 22-10-2013.
Criado por
sidlord
Visualizações
42
Avaliação

Mais sobre Database Backup, Recovery and Replication

Fale Conosco

Sobre o que é sua mensagem?

O que a gente deve adicionar?