My Oracle Support Banner

COMPRESS FOR ALL OPERATIONS generates lot of redo (Doc ID 829068.1)

Last updated on AUGUST 04, 2018

Applies to:

Oracle Database - Enterprise Edition - Version to [Release 11.1 to 12.1]
Information in this document applies to any platform.


COMPRESS FOR ALL OPERATIONS generates significantly more redo than NOCOMPRESS or, even COMPRESS (and load data with direct load)

With "COMPRESS FOR ALL OPERATIONS" database calls the code to try to compress the current block for all operations. The undo for such compression is a before block image.Hence the redo with "COMPRESS FOR ALL OPERATIONS" includes extra redo for the UNDO (before images) of blocks.

So even if the effect of the attempt to compress the block is minimal undo will have to be dumped (before image) for that attempt.


This behavior is specific for 11g (and onwards) as COMPRESS FOR ALL OPERATIONS is not available on pre-11g releases.


To view full details, sign in with your My Oracle Support account.

Don't have a My Oracle Support account? Click to get started!

In this Document

My Oracle Support provides customers with access to over a million knowledge articles and a vibrant support community of peers and Oracle experts.