Question about compression of the table

I manage several databases 10g and have been invited to compress tables in several storage spaces. I am familiar with the use of compression. I read Oracle documentation on the statement ALTER TABLE... MOVE the COMPRESSION control, but have many questions. Can anyone recommend a good white paper, or other documents on the best way to compress tables with existing data? Thanks in advance for your advice!

Hello

Please find enclosed a few whitepapers on Compression:

[http://www.oracle.com/technology/products/bi/db/10g/pdf/twp_data_compression_10gr2_0505.pdf]

[http://www.trivadis.com/uploads/tx_cabagdownloadarea/table_compression2_0411EN_01.pdf]

Of course, you can also check out the documentation, Oracle (the Guide of Directors of the chapter on Tables).

Don't forget that there are some limitations on the Compression.

Hope this can help.
Best regards
Jean Valentine

Tags: Database

Similar Questions

  • Interruption of the compression of the table

    Hi all

    Could someone describe to me what happens if I interrupt the compression of the table on a halfway?

    Everything will be compressed a half table or all previos actions will be supported roller?

    It doesn't work that way you. This,

    orclz >

    orclz > alter table emp store compress line advanced;

    Modified table.

    orclz >

    is just a DOF, instant and does not compress anything. You must reorganize the table to achieve any compression.

  • OGG-01028 object with the number of the object 80673 is compressed. Compression of the table is not supported.

    (1) I received an email like this:

    Event_alert

    2013-09-17 22:00:16 ERROR OGG - 01028 Oracle GoldenGate Capture for Oracle, ext_1.prm: object with the number of the object 80673 is compressed. Compression of the table is not supported.

    2013-09-17 22:00:16 ERROR OGG - 01668 Oracle GoldenGate Capture for Oracle, ext_1.prm: PROCESS ABENDING.

    (2) I have not found the OBJ

    SQL > select OBJECT_ID, OBJECT_NAME from dba_objects where object_id = 80673;

    no selected line

    (3) change a few times the process EXT recover;

    (4) my excerpt settings

    Cat ext_1.prm

    EXTRACT ext_1

    Ogg, ogg PASSWORD USERID

    TRANLOGOPTIONS EXCLUDEUSER ogg

    SETENV (NLS_LANG = AMERICAN_AMERICA. ZHS16GBK)

    -SETENV (NLS_LANG = AMERICAN_AMERICA. AL32UTF8)

    EXTTRAIL ./dirdat/t1

    DYNAMICRESOLUTION

    TABLE YBK.*;

    This is a bug that has been fixed

    Excerpt from abending with Table of Compression is not supported, even if the database has no tables compressed. (Doc ID 1510691.1)

    event text: Oracle GoldenGate Capture for Oracle, ext_1.prm: object with the number of the object 86173 is compressed. Compression of the table is not supported.

    tableexclude *. DBMS_TABCOMP_TEMP *.

  • Question about membership in the same table

    Hi guys,.

    I try to get all students with their respective level code and major, I don't get everyone on my list. Can some help me with my query?

    Thank you!
    select s.name, s.id, d1.level_code UG, d1.major UG_MAJOR, d2.level_code GR, d2.major GR_MAJOR
    from degree d1, degree d2, student s
    where s.id = d.id
    and s.id = d2.id
    and d.id = d2.id
    and d2.level_code = 2
    and d.level_code = 1
    
    create table degree (id number,
                    level_code number,
                    major varchar2(30))
    
    create table student(id number, name varchar2(30));
     
    insert into student values(123, 'John');
    insert into student values(456, 'Rich');
    insert into student values(789, 'Amy');
    insert into student values(910, 'Pete');
    
    insert into degree values(123, 01, 'Economics');
    insert into degree values(123, 02, 'History');
    insert into degree values(456, 01, 'Math');
    insert into degree values(456, 02, 'Acctg');
    insert into degree values(789, 02, 'Law');
    insert into degree values(910, 01, 'Music');
    
    
    OUTPUT:
    
    ID     NAME    UGRAD_CODE        UGRAD_MAJOR         GRAD_CODE     GRAD_MAJOR
    123   JOHN    01                        ECONOMICS                02                     HISTORY
    456   RICH     01                        MATH                         02                      ACCTG
    789   AMY                                                                  02                      LAW
    910   PETE    01                        MUSIC
    Published by: user5737516 on May 15, 2012 09:49

    I need to show only one line per student but would show their undergraduate degree and grad so to join the table to itself

    Published by: user5737516 on May 15, 2012 09:51

    Published by: user5737516 on May 15, 2012 09:55

    Hello

    The query you posted is the right idea. He made the inner joins, where lines are included in the game only if they appear in all the tables of results. There is nothing of Amy d1 and nothing on Pete in d2, so they are not included.
    Just change your query to make the outer joins, so that all students will be included or not, they have a game in d1, and whether or not they have a game in d2, like this:

    SELECT    s.name
    ,        s.id
    ,        d1.level_code          AS ug
    ,       d1.major          AS ug_major
    ,        d2.level_code          AS gr
    ,       d2.major          AS gr_major
    FROM             student    s
    LEFT OUTER JOIN  degree         d1  ON   d1.id         = s.id
                                     AND  d1.level_code  = 1
    LEFT OUTER JOIN  degree     d2  ON   d2.id         = s.id
                                     AND  d2.level_code  = 2
    ;
    

    Thanks for posting the CREATE TABLE and INSERT statements; It's very useful!
    You should always put your version of Oracle, too. He could not relevant in this case. The above query will work in Oracle 9 or higher.

  • Question about compression in essbase ASO

    I have a few questions about to define a dimension of compression in Essbase ASO apps:-

    1. is it a good idea to have the size of compressor in app Essbase ASO.

    2. I read somewhere that said it would not be good idea to have the compression period dimension where months YTD neighbourhoods and quarters of the year. So should we put compression on any other dimension dynamic calc and roll ups and have less none of level 0 members stored.

    3. I have observed that when we level 0 export from an ASO application with compressed size vs ASO application with no compressed dimension, there is a difference in size of data export file. I'm not able to understand why it is so. I understand the difference between the size of data (.dat file) between Tablet app vs app uncompressed file, but do not understand the difference when the data is exported to a .txt file.

    Thank you

    (1) compression dimension is not mandatory, but it contributes to the performance. The compression dimension is a dynamic dimension. We need the column headers in a data load file. Ideal compression is achieved if the number of leaf-level members are divisible by 16.

    (2) ASO tuning is an art as much as a science.  The best choice depends on the distribution of data in the database.  and it's different in each database.  Read all the information and then test the various options.  Try it with time as the compression and then try with the next best dynamic dimension defined as dimension of compression.  I've linked a doc tuning which is version 7, but has a very detailed discussion of the dimensions of compression.

    http://www.Oracle.com/technetwork/middleware/bi-Foundation/4822-tuning-Essbase-ASO-WP-133014.PDF

    (3) the format of the header (layout) of the export may be different when you use compression vs when you are not using compression.  It will certainly be different if you use another dimension for compression.  I expect the size of the file to edit when the compression setting is changed.

  • Question about subjects, books and tables of contents

    I have a question about the subjects, books and tocs. I have a project that someone else created, and my task is to create a new topic and add it to the table of contents. I created the topic, but when I generate CHM project it does not appear in the table of contents. I tried to update the table of contents. What I think (I guess) could be the problem, is the 'links to the topics', when I see the links to the topics in other areas (old) they seem to have a link to the main book, but the new one is not mine. Could you help me? Thank you!!!

    It seems that you have a manual table of contents page, rather than using the table of contents of CHM.

    The toc.htm topic that you see in your list of topics is probably where you will need to add your new topic.

    If the table of contents was already populated when you inherited the project, I suspect the previous author was using it just to keep track of the topics they had added manually to the topic toc.htm - added the CHM topic in summary you did mark the column of the table of contents in the list of topics like '' Yes. '' then add to the toc.htm manual is not. Hope that makes sense.

    P.S. Just guess that it is installing what I can see in the screenshot. It is quite unusual, so I hope I'm right.

  • Question about to browse the lines of a viewobject

    I want to iterate over the lines of a viewobject. So, I use the following code snippet to do:

            String amDef = "model.service.TestAM";
            String config = "TestAMLocal";
            ApplicationModule am = Configuration.createRootApplicationModule(amDef, config);
            ViewObject vo = am.findViewObject("EmployeesView1");
            RowSetIterator iterator = vo.createRowSetIterator(null);
            iterator.reset();
     while(iterator.hasNext())
            {
                Row currentRow = iterator.next();
      System.out.println("Value: " + currentRow.getAttribute(1));
            }        
            
     iterator.closeRowSetIterator();
     Configuration.releaseRootApplicationModule(am, true);
    

    Now, I had a question about this code snippet. He get all records from the table of data to the model layer, that is, to the application server? If so, what part of the code for this? vo.createRowSetIterator maybe?

    Your example of code appears that I wasn't there. The default iterator and one that you get by vo.createRowSetIterator are different.

    And do not forget to close the iterator, you created as you lose in other resources.

    Timo

  • compressing all the tables in my diagram

    How to compress all my tables in my schema, if already compress, ignore?

    Oracle 10G

    Thank you!

    SQL or PL/SQL

    Kodiak_Seattle wrote:
    OK, what about this?

    DECLARE
    table-name user_tables.table_name%TYPE;

    CURSOR cursor1 IS SELECT table_name FROM user_tables where compression = "DISABLED";

    BEGIN
    Cursor1 OPEN;

    LOOP
    Fetch cursor1 INTO table-name; -pick up the names of Tables that are not compressed
    OUTPUT WHEN cursor1% NOTFOUND;
    ALTER table table_name move compress
    END LOOP;

    NARROW Cursor1;
    END;

    begin
    for t in (SELECT table_name FROM user_tables where compression='DISABLED') loop
      execute immediate 'alter table ' || t.table_name || ' move compress';
    end loop;
    end;
    
  • where to post a question about iTunes on the iPhone?

    I have a question about a problem with iTunes on the iPhone (iOS), but I do not see a 'Community' with this title (or anything close;  I have no idea what "iTunes U" means).

    For lack of a better idea, I just posted to the community "iTunes for Mac", but I don't think that's true.

    Please let me know where I should post to an iTunes on iPhone issue.  Thank you.

    It should probably be posted in the community Using iPhone Apple Support communities. I'll ask a host spend your question in iTunes for Mac, if it has not already been moved.

    EDIT: Just read your message, and I think it's probably better where it is (because you need help syncing your songs via iTunes on your Mac). He should be fine here, but if the moderators believe that he should be somewhere else, they will move for you.

  • Question about ActionBar on the first screen of the application

    Hi, I have a question about the actionbar behavior in the first screen of the application

    index.htm pushes immediately main.htm with actionbar. ActionBar clicks and responds correctly until I have add overflow on some buttons.

    When I click on the button of overflow, the overflow is displayed at the bottom of the page, the top of the overflow is put in correspondence with the upper part of the actionbar so buttons actionbar overflowing content is not visible.

    I reproduce this problem with the sample application.

    This is expected behavior? Is there a way around it?

    I was able to reproduce the problem and have connected it

    https://github.com/BlackBerry/bbUI.js/issues/329

  • compression of the table

    Hi guys,.

    I try to compress the table. Then I connect via Oracle SQL Developer > right click > storage > compress. All right.

    But does not change the size of the table.

    Y at - it a command to say: 'start compression for my table1 now?

    More than 50,000 rows in my table.

    Thank you!

    Compression of the data in a table does NOT change the size of the table.

    It increases just the available space in the table.

    Oracle shall never voluntarily return disk space after that she acquired it.

    Oracle is designed to reuse free space.

    Are what problem you trying to solve?

  • Question about backing up the Lenovo factory

    Hi, I have an E530, I have a question about the Lenovo factory back, I'm a little unsure of the difference between the bootable media and just backup data.

    Is the bootable media just the equivalent to a disk of windows 7?

    the option data backup all currently installed on your laptop?

    I tried with the two checked options the other day and I got to the point where he solicited for disc DVD - RW 6 so I cancelled because I didn't know how much in total he would do, would be nice if he told me so I could better prepare.

    Also, if I was ever to use the data disks, would you boot from the startup disk you did first then also boot from CD 1 of the data disks?

    Hi James,

    We create these disks to customers of all time.  In our case we have Win 7 Pro, pre-loaded.  Win 8 discs are already included with the device.

    The process of factory recovery disks will create a set of disks [the E530 in the USA, to 4 DVD - Yes it would be nice to know how much to advance] will allow you to restore your machine out of the box.  The first disc it creates is a boot disk - you start from this when you start the recovery process - that's all it is. No file data/images for the restore process.  Other disks contain image files needed for restoration.  This does not save the user data. It is a different process.

    Since you started & cancelled the process, I'm not sure that it will allow you to re - burning the discs.  Because of the MS license restrictions, you are allowed to burn discs once.  We got all the way on the last drive and had the process fail [we don't know why - maybe bad disc?] and we cannot redo records because he thinks that we have successfully created their.  So, we have to call Lenovo support and ask them to send us a set of disks in Windows 7.

    I hope this helps...

    Al

  • Question about mismanagement of the effects in the construction of sequence

    Hi all

    I read the BPEL 2.0 document and met a question about management failures and the normal flow of control in the < sequence > construction.

    For example, in the following code fragment:

    <>sequence
    < call...
    < catch faultName = gt; a.
    < / call >
    < receive... >
    < / sequence >

    If fault one is taken and processed by error handler, when the fault handling ends at will are receive > activity start or jumped?

    According to the document: < receive > will begin when < call > complements, but the 'complete' includes the 'ends in vain", (i.e. a fault is stuck inside the < call > and dealt with)?

    Hope you can help me and thank you very much.

    Published by: user8301699 on April 9, 2009 19:04

    Hello

    You have reason, 'full' includes the 'ends in vain", (i.e. a fault is taken inside the and treated).

    Hope this answers your Q.

    See you soon
    Rémy Pucha

  • Question about graphics on the Satellite A200-1VO card memory

    Hello
    How do you assign more memory to the graphics card on laptop Satellite A200-1V0?
    Thank you

    Hello

    in your case it s not possible to change the size of graphics by yourself, memory as graphics memory in your machine is shared with main memory, so if you upgrade main memory and graphics memory should increase. But this question is governed by the chipset and the user has no influence on it.

    Welcome them

  • Questions about to determine the size of the array of data storage with flexibility

    I try to use the CVI function below to load data from .csv file to the table that I was intending to use later:

    filereturnvalue = FileSelectPopup ("c:\\Users\\Desktop\\FileDirectory", "*.csv", "", 'Select the data file', VAL_LOAD_BUTTON, 0, 0, 1, 0, LoadFilePath);

    FileToArray (DATAArray, VAL_CHAR, LoadFilePath, MaxDataSize, 1, VAL_GROUPS_TOGETHER, VAL_GROUPS_AS_COLUMNS, VAL_ASCII);

    For the data table "predetermined", it is quite straightforward, because the size of the table is already set.  However, I wonder if there is anyway I could use CVI directly import data and determine the size of the array on the fly?  Which means that the user need not know the length of the data, and it could be determined then to import the file.

    Hello

    for ASCII files, you can do so in any first read the file and counting the newline characters, something like:

    int file_handle;
    int index;
    int size = 0;
    char line_buffer [80];

    If (OpenFile (...) > 0)
    {
    While (ReadLine (...) > 0)
    {
    size ++;
    }
    }
    CloseFile(f) (file_handle);

    This way you can determine the number of rows you have, but you must have an idea of how long a line may be, one number per line or 32000 because you must specify the size of your line_buffer.

    In the next step you analyserions monotube for occurrence of your column separator (say a ;) to determine the number of columns (separators found + 1).

Maybe you are looking for

  • Print wirelessly without internet

    Hi all I am trying to achieve something that I don't know if its possible... I have a HP DESKJET 3050 a J611 series and I installed in a wireless network with a router, I have been havin that is not connected to the internet. In this network, I have

  • IBRD read hexadecimal data

    using Bird reading data of the curve in SONY/TEK_370A test instrument, but the result is not correct. According to the Bird, the buffer is defined as type string, but the curve data are hexadecimal. CAN IBRD function hex reading using the buffer of t

  • What is XP Anti Spyware 2011, causing performance problems in XP

    What is the anti-spyware XP 2011? My computer bascially closed and would not allow me to do something and when I tried to search on the internet it would just continue to flow to the top on the xp anti spyware 2011 and that my computer has been attac

  • Need help connecting 2 routers

    Hello, I was scratching around the search for a solution to my problem for a few weeks now. I have 2 routers (connected according to the picture below) - I have it set up so that I can collect access logs (one of the routers is bit I found that can c

  • DVR is no longer able to send an email

    Hello. I have a WRT54G connected to a modem, DSL, 660R Zytel.  Before my deliverance, the modem has been configured as a router and my DVR CCTV has managed to send me an email.  I've reconfigured the modem to be a bridge with the installer in the por