Ask the Expert

Is RMAN backup smaller than normal OS-level backup?

I'm working on Oracle 8.1.7. Normally, my data file size is 21 GB. If I take OS level data file backup, it is 21 GB. If I compress all datafiles with compress utility its size is less than 1 GB backup. When I take backup from RMAN, the backup size is 1.1 GB. Will RMAN compress the backup files? Is it possible that RMAN backup size is smaller than normal OS level backup size? > > I am confused about why RMAN backup size is small.

    Requires Free Membership to View

RMAN does not do a compress similar to the popular file compression utilities. However, RMAN backups can be much smaller depending on the type of backup you perform. If you perform a file copy type of backup, then the backup will be the same size. It just copied the file. If you do other types of backups, then RMAN will not backup any blocks that are unused. If your RMAN backup size is 1.1 GB and the datafile is 21 GB, then I would suggest that approximatly 20GB has been allocated for the database, but 20 GB contains no data. RMAN's "compression" algorithm is to just skip the empty blocks.

This was first published in January 2004

There are Comments. Add yours.

TIP: Want to include a code block in your comment? Use <pre> or <code> tags around the desired text. Ex: <code>insert code</code>

REGISTER or login:

Forgot Password?
By submitting you agree to receive email from TechTarget and its partners. If you reside outside of the United States, you consent to having your personal data transferred to and processed in the United States. Privacy
Sort by: OldestNewest

Forgot Password?

No problem! Submit your e-mail address below. We'll send you an email containing your password.

Your password has been sent to: