Last updated on MARCH 27, 2014
Applies to:Enterprise Manager - Core Platform - Version: 10.2.0.5 to 10.2.0.5 - Release: 10.2 to 10.2
Oracle Server - Enterprise Edition - Version: 184.108.40.206 to 220.127.116.11 [Release: 11.1 to 11.2]
Information in this document applies to any platform.
Checking compression information on a table created with advanced compression enabled (compress for all operations), which is available only from 11g onwards, Grid Control just reports compression as pre-11g (compress for direct load).
Such behavior is reported in Enterprise Manager Grid Control (EMGC) 10.2.0.5, which is supposed to be able to manage 11g databases and advanced compression.
Testcase to reproduce this behavior
* Create a compress-for-all-operations table. That step can be done at EMGC or in SQLPlus:
CREATE TABLE "SYS"."TEST_COMPRESS" ( "COL1" VARCHAR2(100)) COMPRESS FOR ALL OPERATIONS;
* Check compression for this table on database, and it shows COMPRESS=ENABLED and COMPRESS_FOR=OLTP, so it was created successfully
SELECT TABLE_NAME, COMPRESSION, COMPRESS_FOR FROM DBA_TABLES WHERE TABLE_NAME='TEST_COMPRESS';
* Trying to get DDL script for that table at EMGC just reports "COMPRESS FOR DIRECT_LOAD OPERATIONS":
CREATE TABLE "SYS"."TEST_COMPRESS" ( "COL1" VARCHAR2(100)) TABLESPACE
"SYSTEM" PCTFREE 10 PCTUSED 40 INITRANS 1 MAXTRANS 255 STORAGE ( INITIAL 64K
FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT) LOGGING COMPRESS FOR
Checking the table information, we can see that the OMS shows:
Compression Enabled on direct-path INSERT operations only
Sign In with your My Oracle Support account
Don't have a My Oracle Support account? Click to get started
Million Knowledge Articles and hundreds of Community platforms