Moving to advanced compression (11gR2)

Hi all!
I'm planning to migrate some schemas from a 10.2.0.4 database to an 11.2 database using datapump.
At the same time i want to store the data in compressed format (compress for oltp - using advanced compression).
What is the best way to achive this?
I have tried a couple of different ways...
1) Pre-create all tablespaces with compress.
and then import with transform=segment_attribute:n:table
Then all tables are imported with compression, but all objects ends up in the default tablespace for that schema, since the attribute removes the "tablespace" clause from the export file. This is not feasible since i have many partitions in different tablespaces.
2) Pre-create all tablespaces with compress.
and then import with transform=storage:n:table
Then the tablespace clause is included but so is the NOCOMPRESS clause... so all tables are uncompressed after import.
3) Pre-create all tablespaces with compress.
Create a sqlfile with content=metadata_only and then edit the sqlfile replacing NOCOMPRESS with COMPRESS FOR OLTP.
Then do an import with content=data_only
This will give me the result i want, but is quite time consumuing..
Is there another way i can do this, by just pre-creating tablespaces with compression and do regular import?
Thank you very much in advance!

that is pretty much option 3 you are suggesting, no?
i'm creating a sqlfile with metadata only, but i have to remove the uncompress keyword from that file since table properties overrides the tablespace properties.
I was looking for an easier way, but maybe i just have to do it that way.

Similar Messages

  • 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

  • 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

  • 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

  • Which tables are suitable for advanced compression in R12.1.1 vision db

    I want to use advanced compression in our R12.1.1 test env and I want to know which R12 tables are suitable for that?(I want make a script for compressing our VISION DB automatically)
    for example, table like GL% and ... ?
    some table contain long/long raw data_type ,so if I compress all tables in a tablespace(like APPS_TS_TX_DATA) ,filter long/long raw table will became a time-cosuming job..
    thanks

    Hi,
    for example, table like GL% and ... ?I believe this is no direct answer to your question as this depends on the number/type of records you have in your tables, and this varies from one organization/environment to another. You could calculate the size of the tables and decide which tables need compression by yourself.
    some table contain long/long raw data_type ,so if I compress all tables in a tablespace(like APPS_TS_TX_DATA) ,filter long/long raw table will became a time-cosuming job..Please see if these links help.
    Early Benchmarks: Using Advanced Compression with Apps 12
    http://blogs.oracle.com/stevenChan/2008/11/early_benchmarks_using_advanced_compression_with_ebs.html
    Using Advanced Compression with E-Business Suite Databases
    http://blogs.oracle.com/stevenChan/2008/10/using_advanced_compression_with_e-business_suite.html
    New Whitepaper: Options for Reducing E-Business Suite Database Sizes
    http://blogs.oracle.com/stevenChan/2008/12/whitepaper_options_for_reducing_ebs_database_size.html
    Regards,
    Hussein

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

  • Comparision of Advanced compression with Compression using Network Device

    Has anyone compared the compression ratio that Oracle's advance compression provides with a WAN optimization solution from CISCO or BIGIP )f5) - I will appreciate if you could share your results.

    I have not. That said Oracle compression and WAN optimization both use on data patterns for their compression. These algorithms are mature at this point and
    I don't believe either has an advantage.
    The rumor is Oracle is going to do more with Hardware Compression in the near future as the bottleneck appears to be brown round.
    Best Regards
    mseberg

  • To turn off advanced compression

    The customer does n't have the additional license for 11g features such as advanced compression, active dataguard and in-memory cache. They are not using those features, so want to make sure that they are not risking any exposure for licensing by leaving those listed as 'true' in v$options.
    Could someone please provide the steps to turn off these features.

    >
    I wanted to know if it is summarized in any document so i can ask the customer to refer that.
    They are not using those features, so want to make sure that they are not risking any exposure for licensing by leaving those listed as 'true' in v$options.
    >
    No it is not.
    Even it there was documentation Oracle support is the only authorative source for licensing terms and conditions. You should refer the customer to them for confirmation of any possible exposure.

  • HOW to enable oracle advance compression for EXIST partitioned table

    Hi All,
    I have to enable oracle advance compression for existing table which PARTITION BY RANGE then SUBPARTITION BY HASH.
    ORacle version: 11.2.0.2.0
    Please provide me any relevant doc or any exp.
    Thanks in advance.

    could not see any text for how to enable oracle advance compression for EXIST partitioned table.RTFM.
    From the resource above:
    How do I compress an existing table?
    There are multiple options available to compress existing tables. For offline compression, one could use ALTER TABLE Table_Name MOVE COMPRESS statement. A compressed copy of an existing table can be created by using CREATE TABLE Table_Name COMPRESS FOR ALL OPERATIONS AS SELECT *. For online compression, Oracle’s online redefinition utility can be used. More details for online redefinition are available here.
    "

  • Comparision of Advanced compression for DG with WAN optimization solutions

    Has anyone compared the compression ratio that Oracle's advance compression (for Data Guard) provides with a WAN optimization solution from CISCO or BIGIP (f5) - I will appreciate if you could share your results.

    I have not. That said Oracle compression and WAN optimization both use on data patterns for their compression. These algorithms are mature at this point and
    I don't believe either has an advantage.
    The rumor is Oracle is going to do more with Hardware Compression in the near future as the bottleneck appears to be brown round.
    Best Regards
    mseberg

  • Is UTL_COMPRESS a part of Oracle Advanced Compression?

    Hi,
    I am planning to use UTL_COMPRESS for some need to compress an file. But heard it is a part of Oracle Advanced Compression and we don't have license for that and cannot be used.
    Can any one have any idea whether it is a part of Ora Adv Compression or not?
    Thanks in advance,
    Pradeep.

    Two different things? Oracle Advanced Compression http://www.oracle.com/technology/products/database/oracle11g/pdf/advanced-compression-whitepaper.pdf
    And utl_compress - a package provides an API to allow compression and decompression of binary data (RAW, BLOB and BFILE).

  • 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

  • Compression 11gR2

    Hi Guys,
    I wondering if anyone would be able to enlighten me to any functionality enhacements in 11gR2 in terms of increased compression ratios ?
    I am currently squeezing 5.6:1 using all the tricks possible and am keen to understand if I will be able to enhace this further with 11gR2. ideally i would like to get north of 15:1.
    Would really appreciate any insight into where Oracle is taking their compression algorithms.
    Thanks in Advance.
    BV

    I was hoping there would be some announcements about 11gR2 but during the Ace briefing we were told that the "big news" would not be the new database but something else ... that something else being the Exadata Storage Server.
    So I am limited in what I can say but keep your eyes open for announcements about 11gR2 when they come. It is going to be a spectacular release. In my opinion worthy of being named 12c.

  • An advanced compressing software for video confrencing

    I have recently developed a video confrencing software and I am using H264 codec for comprassion which helped me to connect 6 people at a time .
    but I understand that I need a more advanced codec that is capable of compression to a much higher degree
    that can help me to connect tens of people or possibly over hundred people at a time and offcourse this compressing software should work with flash.

    However, on the new iMac and os 10.8.2 it does not allow installing programs via discs
    Sure you can!
    The OS comes set with “Gatekeeper” activated.  This is designed to force you to purchase software through the App Store.
    Most people I know disable gatekeeper, that way you can install software from anywhere.
    Many software developers offer downloads on thier own web stores.  If you download software directly from the developer, not from the Apple App store.  Gatekeeper is simple to override for an individual app.
    Personally, I find gatekeeper to be “junior high school” I have disabled it completely.
    Open System Preferences > Security and Privacy > General, and choose "Anywhere" under "Allow applications downloaded from". You may have to press the padlock at the bottom left corner of Security and Privacy pane before being able to select Anywhere
    http://www.akaipro.com/gatekeeper

Maybe you are looking for

  • Doubt in RSRT regarding generate query.

    Hi All, I have a doubt in transaction code RSRT (Query monitor). Under the tab environment, there are 2 options. 1) Generate queries. 2) Gen.Queries directly as shown below. i.e in RSRT> Environment> Generate Query and   RSRT> Environment> Gen. Query

  • I lost all my events for my iCal - how do I recover?

    Last night I went to load an event and my calendar was gone.  All the other shared calendars are there just mine is gone.  It is also missing from my iPhone.  I tried a week old Time Machine back up - no luck.

  • TS2755 How do I turn of imessage when i no longer have the iphone!?

    How do I turn of imessage when i no longer have the iphone it was activated on? so frustrating dont get any messages from iphone friends also it seems like there is no solution to this problem and to make it worse apple cant help without a serial num

  • Issue with AppData and ProgramData

    Hi, I've been having some issues with my Appdata folder. When I launch Visual Studio I get the error: "The 'Visual Studio Component Model Host Package' package did not load correctly. The proble may have been caused by a configuration change or by th

  • Installing OS9 onto G4 Digital Audio

    Hi, I was directed here to get better help with this topic. As the title says, I want to install OS9 onto my Digital Audio G4 tower but having little success. I have ttried various discs (9.0, 9.1, 9.2) and none let me install the OS. The best I can