Compression in oracle 9i!!

Dear Friends
Have any one tested the compression for Oracle 9i tables in the production, and if yes, can you share the pros and cons of that!!
cheers

Pros ... save space.
Cons ... uses CPU.
Issue ... does the overall savings in I/O and utilization of CPU result in a net improvement in performance? Sometimes yes, sometimes no. Your results will depend on your server, your application, and your usage.
The answer is something you can only derive by testing in a realistic environment.
Were I you I'd be focusing on getting out of legacy software into something fully supported during the current millennium. Then, without hesitation, I can state that there are substantive advantages to the
proper use of compression in tables, indexes, and lobs.

Similar Messages

  • Compression for oracle database and index compression during import of data

    Hi All,
    I have a query , in order to import into oracle database and also have compression and index compression , do we have some kind of load args for r3load and also do we have to change the tpl file ?

    Hello guy,
    I did this kind of compression within migration project before.
    I performed index compress first and then export -> import with table compress.
    One thing you should take care, delete nocompress flag from TARGET.SQL (created by program SMIGR_CREATE_DDL, program SMIGR_CREATE_DDL created pure non-compression objects for these considered non-standard tables). For table columns > 255, we should not delete this flag.
    Regarding to the index compress in source system, please check the following notes:
    Note 1464156 - Support for index compression in BRSPACE 7.20
    Note 1109743 - Use of Index Key Compression for Oracle Databases
    Note 682926 - Composite SAP note: Problems with "create/rebuild index"
    Best Regards,
    Ning Tong

  • 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

  • PDF Compression in Oracle Reports

    We are testing Oracle Reports 6.0.8.13.1 that came as part of
    Oracle 9iAS (v 1.0.2.2.1) on Windows 2000. When we generate a
    PDF report , we do not see any compression of the pdf file
    taking place and the generated pdf report is using pdf version
    1.1. The database that is in use is Oracle 8i which is on a
    different box.
    Isnt the pdf version that is used in Oracle 9iAS Reports service
    supposed to be pdf version 1.4.
    Is there anything wrong with this reports server installation or
    are there any other settings/pre-requisites to get pdf
    compression in Reports to work. Also please see my earlier
    posting today
    Thanks in advance.
    R. Adarsh

    There is no PDF compression with Reports 6.0.8 and iAS 1.0.2
    This is a new feature of the upcoming product release iAS V2
    Reports 9i which will use PDF 1.4

  • 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

  • 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

  • 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??

  • RMAN compression in Oracle 10g R2 Standard

    Hi,
    We're currently using Oracle 10g R2 Standard Edition on our production databases. I'm revising our backup strategy and I am very interested in RMAN compressed backupsets.
    However, can you use the standard compression feature of RMAN in Standard Edition? Or do you need to upgrade to Enterprise Edition? I couldn't find this information in the Oracle documentation.
    Please shed some light on this issue. Many thanks in advance.

    Hi,
    I don't think compressing the backupsets is forbidden with a SE license : it is not listed as an unavailable feature. Check note 465465.1 and contact your sales representative if you have similar doubts.
    Best regards
    Phil

  • 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

  • Is there any support for data transfer compression in oracle XE?

    Hi
    Thank you for reading my post.
    I am wondering whether it is possible to ask database and JDBC driver to use some sort of compression for data transfer?
    I want to reduce the network workload as much as possible.
    Thanks

    AFAIK, Not directly from Oracle.

  • Disabling pdf Compression in Oracle 9iAS Reports

    I need to disable Oracle 9iAS Reports pdf compression which is
    automatically turned on while running a report. I need to
    disable the pdf compression for some internal benchmarking . I
    read that it can be turned off or varied with command line
    options. Any idea how it can be done.
    Also any further info on Reports pdf compression or docs will be
    helpful.
    Thanks in advance,
    R. Adarsh

    There is no PDF compression with Reports 6.0.8 and iAS 1.0.2
    This is a new feature of the upcoming product release iAS V2
    Reports 9i which will use PDF 1.4

  • 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

  • How do I used HTTP compression with Oracle Business suite

    Hi Team,
    We having problem with accessing Oracle EBS for large number of users from over the network. At the peak time network bandwidth getting flooded. Can we used any kind of software compression mechanism to reduced network bandwidth .
    Thanks & Regards,
    Mahesh

    Please see these docs.
    Oracle E-Business Suite 11i and 12 PC Client Performance [ID 557259.1]
    Installing and Configuring Web Cache 10g and Oracle E-Business Suite 12 [ID 380486.1]
    Thanks,
    Hussein

  • Compress large oracle dump file

    Hi all,
    I need to bring a large export dump file across the network which takes very long time. Is there any way with in Oracle 10g that I can compress this large dump files.
    Thanks in Advance.

    You can use any compress tools to zip your dump file. gzip, bzip etc.
    Oracle dump file usually yield pretty good compress ratio. most time close to 90%

  • Oracle 10g: Table Compress

    Guys,
    I was reading an article about table compression that I was reading for data warehousing environment.
    http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_data_compression_10gr2_0505.pdf
    I didnt understand couple of things like
    Oracle’s compression algorithm is based upon eliminating duplicate values in each block - what does eliminating duplicate values in each block mean
    ALTER TABLE ... MOVE COMPRESS works in 10g what is its equivalent in Oracle 9i.
    Also is there a concept of table compression in Oracle 9i
    Any inputs/suggestions would help
    Thanks

    what does eliminating duplicate values in each block meanThat a compression method. Have only once the same info. That doesn't drop from the table duplicate rows. Important phrase is here :
    "Duplicate values in all the rows and columns in a block are stored once at the beginning of the block, in what is called a symbol table for that block. All occurrences of such values are replaced with a short reference to the symbol table."
    Also is there a concept of table compression in Oracle 9iThere is such thing :
    http://download-uk.oracle.com/docs/cd/B10501_01/server.920/a96540/statements_73a.htm#2128735
    Nicolas.

Maybe you are looking for

  • Droid RAZR maxx hd glass

    Having a problem with a brand new phone sucks. No one knows what to do. I recently purchased a DROID RAZR Max HD and the employee put a screen protector on for me in the store. I removed it a week later because he screwed up. After I removed it the g

  • IDOC Sales process

    Hi ABAPers     I am new to IDOC i want to send sales order to IDOC i created Sales order how we can able to send that to IDOC and tell me the config process also step-by-step with screen shots Regards Ravi

  • Debugging bluetooth applications

    hi, im trying to debug the BluetoothDemo (J2ME Wireless Toolkit 2.2, client/server image download) but i dont know how. im using studio mobility 6. the application is running fine but no matter where i set a breakpoint. - the debugger does not stop a

  • Package Load Failure VS 2008 Architect & 11.1.0.6.20

    I have a virtual machine running Windows Server 2003, IIS, and Visual Studio 2008 Team Architect. When I try to install "ODAC 11.1.0.6.20 with Oracle Developer Tools for Visual Studio" I get an error "Could not start the OracleMTSRecoveryService serv

  • HCM Forms config

    While configuring the Form scenario for HCM processess and forms In the option Create form scenario -> Form Fields-while defining the Form Fields there is an option called Value Type where if we select the option "Value Help for Specified Backend Ser