Академический Документы
Профессиональный Документы
Культура Документы
? ? ? ? ? command
| | | | |_________day of the week (0-6, 0=Sunday)
| | | |___________month (1-12)
| | |_____________day of the month (1-31)
| |_______________hour (0-23)
|_________________minute (0-59)
Q. Why expdp is faster than exp (or) why Data Pump is faster than conventional
export/import?
Data Pump is block mode, exp is byte mode. Data Pump will do parallel execution.
Data Pump uses direct path API.
An index should be considered for rebuilding under any of the following conditions:
* The percentage of deleted rows exceeds 30% of the total, i.e. if del_lf_rows / lf_rows
> 0.3.
* If the ‘HEIGHT’ is greater than 4.
* If the number of rows in the index (‘LF_ROWS’) is significantly smaller than ‘LF_BLKS’
this can indicate a large number of deletes, indicating that the index should be rebuilt.
52. Why more archivelogs are generated, when database is begin backup mode?
During begin backup mode datafile headers get freezed and as result row information
cannot be retrieved as a result the entire block is copied to redo logs as a result more
redo generated and more log switch and in turn more archive logs. Normally only deltas
(change vectors) are logged to the redo logs. When in backup mode, Oracle will write
complete changed blocks to the redo log files.
Mainly to overcome fractured blocks. Most of the cases Oracle block size is equal to or a
multiple of the operating system block size.
Validate command is to examine a backup set and report whether it can be restored. RMAN scans all
of the backup pieces in the specified backup sets and looks at the checksum to verify that the
contents are intact so that backup can be successfully restored if necessary.
Crosscheck command is to verify the status of backups and copies recorded in the RMAN repository
against media such as disk or tape. The crosscheck command only processes files created on the
same device type as the channel running crosscheck.
1. RMAN Executables
2. Sercer process
3. Channels
4. Target database
5. Recovery catalog database (optional)
6. Media management Layer (optional)
7. Backups, backup sets and backup pieces
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. It is through
the allocation of channels that you govern I/O characteristics:
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
Maximize size of files created on I/O devices
Maximize rate at which database files are read
Maximize number of files open at a time
RAID1: Mirroring
An auxiliary channel is a link to auxiliary instance. If you do not have automatic channels configured,
then before issuing the DUPLICATE command, manually allocate at least one auxiliary channel within
the same RUN command.