Basic vs Advanced Compression in Oracle 11g

Hi,
We are going to install Oracle 11gR2 in one new database server. Since the database will be used for Data Warehouse purposes and our company has rejected to pay licenses for "Oracle Advanced Compression", I wanted to know which options of "Basic Compression" are suitable for us, if we want to compress the biggest tables in our environment.
Thanks in advance for your feedback.
Regards,
Rubén

Hi;
OAC mean you need to pay extra money to oracle. We are using basic compression in our env. Please check this search. Check first 4 links which is explain already how&what basic compress
PS: This is installation related forum site. For your similar issue please use Oracle Discussion Forums » Oracle Database » General Questions forum part
Regard
Helios

Similar Messages

  • Advaced compression in oracle 11g

    Hi,
    We are migrating databases from oracel 10g to 11g and we are using advance compression, i have few question please help me to understand
    1. if i enable compression on tables is index also get compressed if not how i can enable compression on indexes
    2.For table compression i will take the DDL of tables from oracle 10g databases and i create the tables in oracle 11g with COMPRESS FOR ALL OPERATIONS is this the right approach
    Appreciated the inputs
    thanks

    Hi,
    I checked for one of the table ALTER TABLE MOVE COMPRESS FOR ALL OPERATIONS after upgrading to 11g from 10g and rebuild the index
    SQL> select index_name,COMPRESSION,STATUS from dba_indexes where table_name='POSITION_CUBE';
    INDEX_NAME                     COMPRESS STATUS
    TEST                           DISABLED VALIDstill compress column in dba_indexes show disabled
    so i need to compress index also , how i can achive this
    Thanks

  • Question about advance compression in Oracle 11gR2

    Hi,
    I am on Oracle 11gR2 on Solaris 10. I want to run the oracle advance compression advisor for my database and get compression ratios for the tables, how can I do it? I am looking for a sample command to run this advisor package (dbms_compression) from sqlplus.
    Can someone please suggest.
    Thanks,
    Nirav

    Thanks SriniChavali and Stefan. I can't make more answer "Helpful' so I couldn't do that for your answers! Here is my point. In Jonathan's blog i see this remarks:
    "Sadly it seems that “compress for OLTP” (formerly “compress for all operations”) doesn’t compress for all operations, it compresses only for inserts, and the benefits it has over basic compression are that (a) it leaves 10% of the block free for updates, and (b) it doesn’t require direct path inserts to trigger compression. Given the limitations on how it works you may find that the problems it brings might make it something you want to avoid.... this is at this link: http://allthingsoracle.com/compression-in-oracle-part-3-oltp-compression/
    To date I’ve only heard complaints about OLTP compression (there’s an element of self-selection there as no-one ever calls me to look at their system because it’s running so well and has no problems). A common thread in the complaints I have heard, though, is about the significant amount of row migration (once it has been noticed), the extra CPU, and ”buffer busy waits”.
    Compression for OLTP is (according to the manuals) supposed to be able to compress during updates – but it doesn’t (at least, as far as I can tell); this means that you can easily end up suffering a large number of row migrations on updates, which can result in extra random I/Os, buffer busy waits, and increased CPU and latch activity.
    If you can work out a good strategy for using OLTP compression, though, think carefully about making a choice between freelist management and ASSM – there seem to be some undesirable side effects that appear when you mix OLTP compression with ASSM."
    Note that I am not that technical and I hope I have not mis-quoted. I am trying to figure out if this is a good option or not and seeing some findings that it may not be so good and seeing at some other places notes that it is indeed very good.
    Best regards

  • Existing table compression in oracle 11g

    Hi,
    We have a achema of 45gb in oracle 11g and need to compress the tables as it is rarely used,
    please can you tell me what are the option available to compress the tables.
    Thanks

    Thanks for the update.
    I was able to compress the other tables which are very less in size and i am able to find one lobsegment which is 37GB
    so how i can use compression on the LOBSEGMENT as i could not found any document for this
    i found one document in metalink says that
    "To achieve LOB compression, you need to specify LOB column storage as SECUREFILE.  With BASICFILE option, you can not use COMPRESSION for LOB column"
    SQL> select owner, segment_name,segment_type , bytes/1024/1024 MB from dba_segments where owner='WEBSPR' order by 4 desc ;
    OWNER                     SEGMENT_NAME              SEGMENT_TYPE                      MB
    WEBSPR                    SYS_LOB0000012869C00002$$ LOBSEGMENT                     37760
    and my existing lobsegment metadata is like below
    LOB ("DATA") STORE AS (
      TABLESPACE "WEBSPR_DATA" ENABLE STORAGE IN ROW CHUNK 8192 PCTVERSION 10
      NOCACHE LOGGING
      STORAGE(INITIAL 65536 NEXT 1048576 MINEXTENTS 1 MAXEXTENTS 2147483645
      PCTINCREASE 0 FREELISTS 1 FREELIST GROUPS 1 BUFFER_POOL DEFAULT))
    and my lob column is either SECUREFILE nor BASICFILE so is there any other method to compress the existing LOBSEGMENT
    Appreciated for the inputs.Thanks

  • Use or not to use table compression in Oracle 11g (11.2)?

    Hi All,
    I was trying to explore the difference between COMPRESS FOR ALL OPERATIONS, COMPRESS FOR DIRECT_LOAD OPERATIONS and NOCOMPRESS, for a table in Oracle 11.2.
    I know, we can go thru documentation and make a decision.
    Still I have run some very simple tests here.
    Case 1. Create table with COMPRESS FOR DIRECT_LOAD OPERATIONS and then update few records
    Case 2. Create table with COMPRESS FOR ALL OPERATIONS and then update few records
    Case 3. Create table with NOCOMPRESS and update few rows
    I know, Case 1 is a real dummy, but still I did that to see difference between Case1 and Case2.
    --  ---------- CASE 1 --------
    SQL> create table aaa
      2  nologging
      3  compress for direct_load operations
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.00
    SQL> select count(*) from aaa ;
      COUNT(*)
         50317
    Elapsed: 00:00:00.11
    SQL> update aaa set created=sysdate where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:05.43*
    SQL> commit;
    Commit complete.
    Elapsed: 00:00:00.04
    SQL>
    --  ---------- CASE 2 --------
    SQL>
    SQL> create table bbb
      2  nologging
      3  compress for all operations
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.01
    SQL> select count(*) from bbb ;
      COUNT(*)
         50318
    Elapsed: 00:00:00.20
    SQL> update bbb set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:05.31*
    SQL> commit;
    Commit complete.
    Elapsed: 00:00:00.04
    SQL>
    SQL>
    --  ---------- CASE 3 --------
    SQL> create table ccc
      2  nologging
      3  nocompress
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:01.84
    SQL> select count(*) from ccc ;
      COUNT(*)
         50319
    Elapsed: 00:00:00.15
    SQL> update ccc set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    *Elapsed: 00:00:00.06*Case1 and Case2 took 5.43 and 5.31 seconds respectively. Case 3 took 0.06 seconds.
    Difference is drastic.
    Am I doing wrong kind of test (lets be honest)?
    Should we not use compression for OLTP systems (or any systems with reasonable updates)?
    Apart from allowing to drop a column, what is the difference between COMPRESS FOR ALL OPERATIONS and COMPRESS FOR DIRECT_LOAD OPERATIONS ? where/how can I see that difference?
    Thoughts please.
    Thanks in advance.

    Hi,
    I have realised that I am using the syntax which is deprecated in 11.2.
    So I am doing the same test with
    COMPRESS BASIC
    COMPRESS FOR OLTP
    instead of
    COMPRESS FOR DIRECT_LOAD OPERATIONS (deprecated)
    COMPRESS FOR ALL OPERATIONS (deprecated)
    But the results are same. Even if I do COMPRESS FOR OLTP, my update is taking 5.4 seconds which is not very different from COMPRESS BASIC
    -- --------- CASE 1 ---------------
    SQL> create table aaa
      2  nologging
      3  compress basic
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.46
    SQL>
    SQL> select count(*) from aaa ;
      COUNT(*)
         50318
    Elapsed: 00:00:00.11
    SQL>
    SQL> update aaa set created=sysdate where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:05.48
    -- ---------- CASE 2 ---------------
    SQL> create table bbb
      2  nologging
      3  compress for oltp
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:02.01
    SQL>
    SQL> select count(*) from bbb ;
      COUNT(*)
         50319
    Elapsed: 00:00:00.12
    SQL>
    SQL> update bbb set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:05.25
    -- ---------- CASE 3 ---------------
    SQL> create table ccc
      2  nologging
      3  nocompress
      4  as
      5  select * from all_objects ;
    Table created.
    Elapsed: 00:00:01.81
    SQL>
    SQL> select count(*) from ccc ;
      COUNT(*)
         50320
    Elapsed: 00:00:00.10
    SQL>
    SQL> update ccc set created=sysdate  where owner='SYS' and object_type='VIEW';
    3485 rows updated.
    Elapsed: 00:00:00.04Any thoughts??

  • Database growth following index key compression in Oracle 11g

    Hi,
    We have recently implemented index key compression in our sap R3 environments, but unexpectedly this has not resulted in any reduction of index growth rates.
    What I mean by this is that while the indexes have compressed on average 3 fold (over the entire DB), we are not seeing this with the DB growth going forward.
    ie We were experiencing ~15GB/month growth in our database prior to compression, but this figure doesnt seem to have changed much in the 2-3months that we have implemented in our production environments.
    Our trial with ACO compression seemed to yield reduction of table growth rates that corresponded to the compression ratio (ie table data growth rates dropped to a third after compression), but we havent seen this with index compression.
    Does anyone know if a rebuild with index key compression  will it compress any future records inserted into the tables once compression is enabled (as I assumed) or does it only compress whats there already?
    Cheers
    Theo

    Hello Theo,
    Does anyone know if a rebuild with index key compression will it compress any future records inserted into the tables once compression is enabled (as I assumed) or does it only compress whats there already?
    I wrote a blog about index key compression internals long time ago ([Oracle] Index key compression), but now i noticed that one important statement is missing. Yes future entries are compressed too - index key compression is a "live compression" feature.
    We were experiencing ~15GB/month growth in our database prior to compression, but this figure doesnt seem to have changed much in the 2-3months that we have implemented in our production environments.
    Do you mean that your DB size still increases ~15GB per month overall or just the index segments? Depending on the segment type growth - maybe indexes are only a small part of your system at all.
    If you have enabled compression and perform a reorg of them, you can run into one-time effects like 50/50 block splits due to fully packed blocks, etc. It also depends on the way the data is inserted/updated and which indexes are compressed.
    Regards
    Stefan

  • Oracle Advance Compression Deletion Performance issue in 11g R1

    Hi,
    We have implemented OAC in our datawarehouse environment to enable table and index compression. We tested in our Test machine and we gained almost 600GB due to advance compression without any issues and all the informatica loads are running fine. And hence we implemented the same in our production but unfortunately two sessions which are involving deletion of data are taking more time (3 times of actual timing) for completion which affects our production environment.
    The tables creating issue are all non partitioned tables.
    I need to know whether Oracle Advance Compression will decrease delete performance? and is there any way to disable advance compression on those particular tables?
    Our environment details:
    DB earlier version: 11.1.0.6
    DB current version : Oracle 11.1.0.7
    Applied PSU: 11.1.0.7.6
    Operating system: Solaris 5.9
    Syntax used for compression:
    ALTER TABLE TABLE_NAME MOVE COMPRESS FOR ALL OPERATIONS;
    Thanks in Advance.

    Hi,
    Thanks for your reply.
    The note is for update performance issue and also I have applied necessary patches for improving update performance.
    The update sessions are all working fine. only the deletion sessions are creating problem.
    Could someone help me out to clear this problem.
    Thanks,
    VBK

  • Oracle spatial data compression (using advance compression).

    What are the bast practice for oracle spatial to compress data using advance compression).
    ver. 11.2.0.3

    Details about Advanced Compression can be found in:
    Oracle E-Business Suite Release 12.1 with Oracle Database 11g Advanced Compression (Doc ID 1110648.1)
    Is Advanced Compression Supported In The E-business Suite ? (Doc ID 1368152.1)
    https://blogs.oracle.com/stevenChan/entry/using_advanced_compression_with_e-business_suite
    Thanks,
    Hussein

  • Oracle Advanced Compression Option - Effect On RMAN Backup

    My client is interested in introducing Oracle's Advanced Compression capabilities into their 11g landscape. My questions are related to the effects RMAN Compression has on backup infrastructures. I need to understand the impact/reduction in Data Domain or tape that can be expected.
    1. What has been the experience with implementing RMAN Compression? Are there any lessons learned you can share?
    2. There are three levels of compression -- LOW, MEDIUM & HIGH. What compression ratios have you seen for any/all of these levels?
    3. Have you experienced any effects on server performance or any impact on database and backup functionality, when RMAN Compression is running?
    I would appreciate any insights you can share.

    Our main purpose for buying this option was OLTP compression. Just by this you can save tons of space(ofcourse it depends upon the type of data).
    With RMAN , in maximum compression mode ,your CPU usage will go high so make sure not to schedule the backup with heavy activities on the database.
    Page 10- 14 will help.
    http://www.oracle.com/technetwork/database/performance/global500acotwp0511final-396808.pdf

  • Oracle 11g table compression feature

    Is anybody using Oracle 11g's compression feature in production? I read a whitepaper on this and also read some forums/threads on this topic and so far I haven't read anything negative yet, that doesn't meant that there isn't anything that could have an adverse affect. I wanted to check with you guys out there to see if anyone is really using is this feature in production and see if there are any affects on the performance or any disadvantages of using this compression feature. I have tested this on one my major tablespace and I did see a big difference in the reduce size on the tablespace but I am still hesitated to put this into production. I would like to hear from you guys to see what you guys think?

    I have tested this on one my major tablespace and I did see a big difference in the reduce size on the tablespace but I am still hesitated to put this into production.Nothing better than testing the solution before you can put into real.
    http://www.oracle.com/technetwork/articles/oem/11g-compression-198295.html

  • Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?

    Is it possible to perform network data encryption between Oracle 11g databases without the advance security option?
    We are not licensed for the Oracle Advanced Security Option and I have been tasked to use Oracle Network Data Encryption in order to encryption network traffic between Oracle instances that reside on remote servers. From what I have read and my prior understanding this is not possible without ASO. Can someone confirm or disprove my research, thanks.

    Hi, Srini Chavali-Oracle
    As for http://www.oracle.com/technetwork/database/options/advanced-security/advanced-security-ds-12c-1898873.pdf?ssSourceSiteId… ASO is mentioned as TDE and Redacting Sensitive Data to Display. Network encryption is excluded.
    As for Network Encryption - Oracle FAQ (of course this is not Oracle official) "Since June 2013, Net Encryption is now licensed with Oracle Enterprise Edition and doesn't require Oracle Advanced Security Option." Could you clarify this? Thanks.

  • Oracle 11g for windows7 home basic 64bit version

    Where can i find oracle 11g server for windows7 home basic 64bit version...

    Kapardhi wrote:
    Where can i find oracle 11g server for windows7 home basic 64bit version...Oracle 11gR2 is certified on Windows 7 x64 - Professional, Enterprise, and Ultimate editions -- http://docs.oracle.com/cd/E11882_01/install.112/e24283/toc.htm#BGBEEBAD
    You can download 11gR2 from http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
    Thanks,
    Hussein

  • Upgrading Oracle soa suite 10.1.3.1 to 10.1.3.4 by Basic and Advance instal

    Hi,
    i have installed oracle soa suite 10.1.3.1 basic installation and needs to upgrade to 10.1.3.4 . I searched in google some suggested
    1) install database 10g xe or some version 10.2+
    2) to run irca.cmd script for creating dehydration store
    3) Install oracle soa suite basic installation 10.1.3.1
    4) Before applying patch run sql scripts
    5) apply patch to upgrade to 10.1.3.4
    Here i have one doubt in basic installation oracle lite database will be installed by default then how do i relate external database to soa suite in basic installation . Is it possible ?
    If we use default database oracle lite for upgrade to 10.1.3.4 and i think it will ask for orabpel and oraesb used id and pwd when we are running the sql scripts which i am not aware of?
    and do i still need to run irca.cmd script for creatinv schemas.
    I am so confused here i just want to know the steps of upgrade in basic and advance soa installation.
    Any answer will be very much appreciable.
    will be so keenly waiting for your answer.
    Thanks,
    Ahmed.

    Yes there is some additional steps
    if you are doing clustering this should be your bible
    http://download.oracle.com/docs/cd/E10291_01/core.1013/e10294/toc.htm
    to install 64bit have a look at these references
    http://download.oracle.com/docs/cd/B31017_01/getstart.htm
    Metalink note 465159.1
    cheers
    James

  • Oracle 11g Advanced PL/SQL 1Z0-146

    Dears,
    Good Day
    I spent a lot of time to search on Material Guides to prepare to (Oracle 11g Advanced PL/SQL 1Z0-146) Exam.
    Please anyone have free Materials or free useful sites tell me about it.
    Waiting your kind response.
    Thank you&
    Best Regards

    Oracle certification related questions are better answered at {forum:id=459}

  • Oracle Advance Compression

    Hi All,
    I am new to Oracle. I need to implement Oracle Advance compression in my dataware house database.
    My DB version is 11.1.0.7.0 I applied the latest patchset updates to include the patches that are needed for Oracle Advance compression.
    My doubt is , Is it necessary to shut down the database before enabling the table compression and index rebuilding?
    please clarify me.
    Thanks
    VBK

    No you will not need to bounce the database.
    However to get the compression on existing data you will need to reload the table and/or table partition.

Maybe you are looking for

  • Error with ABAP proxy

    Hi all, I have an ABAP proxy - XI - Webservice scenario, in the XI side we are getting error saying input data not coming in. How to check weather proxy is triggering the actual payload or data? There has been a change in the WSDL from the Webservice

  • Memory errors after Array is created SATA drive

    Hello, I am trying to setup a 655 Max board with a SATA drive.  Once I define an array, I get Memory errors. I am testing this using the Microsoft memory dest boot CD.  As soon as I delete the array from the drive, the memory test is able to work suc

  • Network Hotsync - Error Starting TCP Listen?

    I've had no trouble using Network Hotsync in the past. Now whn I try to enable it using Hotsync Manager on the PC I get an error message: "Error Starting TCP Listen" Everything looks fine in the SETUP dialog....as soon as I try to select "Network" in

  • How can I prevent a negative cash discount?

    The logic being used to determine a cash discount for an invoice billing document is:  Total Cost of Materials u2013 Total Freight Cost - Base Value.  Base Value x Cash Discount % = Calculated Cash Discount.  Base Value u2013 Calculated Cash Discount

  • Where can I get detailed documentat​ion on the 'IVA' vision vi's created by NI Vision Assistant

    I use the NI Vision Assistant a lot.  Usually I ask it to create a vi automatically from the script.  However, the resulting vi contains several 'IVA' vi's that are completely undocumented (from what I can see).   Where can I get more info on these?