Pular para o conteúdo

Backup & Recovery – Tipos de Compressão

Backup & Recovery – Tipos de Compressão

A seguir demonstro como alterar o tipo de compressão (rápida e baixa com zlib OU lenta e alta com bzip2) no Oracle 11g.

Alterando o RMAN para utilizar compressão ZLIB.

[oracle@labdb ~]$ rman CATALOG=RMAN_USER/RMAN_USER@ORCL TARGET /

Recovery Manager: Release 11.1.0.7.0 - Production on Wed Aug 5 17:11:04 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.

connected to target database: ORCL (DBID=1217465568)

connected to recovery catalog database

RMAN> CONFIGURE COMPRESSION ALGORITHM 'ZLIB';

new RMAN configuration parameters:

CONFIGURE COMPRESSION ALGORITHM 'ZLIB';

new RMAN configuration parameters are successfully stored

starting full resync of recovery catalog

full resync complete

RMAN> EXIT;

Recovery Manager complete.

[oracle@labdb ~]$

Alterando o RMAN para utilizar compressão BZIP2.

[oracle@labdb ~]$ rman CATALOG=RMAN_USER/RMAN_USER@ORCL TARGET /

Recovery Manager: Release 11.1.0.7.0 - Production on Wed Aug 5 17:22:26 2009

Copyright (c) 1982, 2007, Oracle. All rights reserved.

connected to target database: ORCL (DBID=1217465568)

connected to recovery catalog database

RMAN> CONFIGURE COMPRESSION ALGORITHM 'BZIP2';

old RMAN configuration parameters:

CONFIGURE COMPRESSION ALGORITHM 'ZLIB';

new RMAN configuration parameters:

CONFIGURE COMPRESSION ALGORITHM 'BZIP2';

new RMAN configuration parameters are successfully stored

starting full resync of recovery catalog

full resync complete

RMAN> EXIT;

Recovery Manager complete.

[oracle@labdb ~]$

 

Quão útil foi este post ?

Clique em uma estrela para classificar o post

nota média 5 / 5. Contagem de votos: 8

Sem votos ! Seja o primeiro a classificar !

2 comentários em “Backup & Recovery – Tipos de Compressão”

  1. Avatar de Aff

    Como tem gente ruim em Oracle no Brasil, se vai escrever algo escreva algo que ninguem escreveu ainda, ou que ninguem saiba.

    Vou montar um site ensinando DBA fazer select tambem.

Deixe um comentário

O seu endereço de e-mail não será publicado. Campos obrigatórios são marcados com *

plugins premium WordPress