Compression getting disabled when performing Update on partitioned tables

Hi All,
I am on Oracle Database 11g Enterprise Edition Release 11.2.0.3.0.
My question is related to Oracle Compression.
I have a sub-partitioned table enabled with Basic Compression. In enabled compressed state, I am updating few columns of this table(Normal Update command and Merge as well) but the end result shows increase in the table size and the compression is still in ENABLED state. Post that, if I compress the sub-partition explicitly the table comes back to its original size.
Is it a bug? I read a white paper on 11g itself, that compression remains enabled in case of all DML operations, then why this behaviour?
Thanks,
Ishan

Ishan,
taking a look at http://docs.oracle.com/cd/E11882_01/server.112/e25494/tables.htm#CJAGFBFG It seems that the distinction between OLTP and basic compression is sometimes a little bit vague ("Operations that permit compression include: ..."), but I can also find the statement "Rows inserted without using direct-path insert and updated rows are uncompressed." So I would say it's not a bug but a limitation of the feature. Updates just don't mix well with compression.
Martin

Similar Messages

  • Compaq 510 touchpad - gets disabled when power cord is disconnected. i.e. in battery mode

    compaq 510 touchpad & keyboard - gets disabled & is not working.This happens only when power cord is disconnected from the mains.i.e. in battery mode.External USB mouse works fine.Updated & tried re-installing drivers, but still the problem exists.Please suggest a solution.!!!

    Hi,
    Schindi285460 wrote:
    My Pavilion zd 7379ea will only start up in battery mode. AC adapter appears OK with a firm green LED, so external power supply may not be the issue here? When I'm starting up (with what's left on the battery), both the charging LED and the AC LED are constantly blinking. When turned off, the battery LED is firm, and battery appears to be charging (but which obviously is not the case).  Occasionally, when computer is turned off, the AC LED is lit with a firm light.
    One odd thing I noted before this happened was that the computer ran on AC only when my HP printer was connected to one of the USB ports (no battery inserted). If I disconnected the printer USB cord, the computer just died immediately; it was like the computer was powered by the printer. Later I also discovered that the same cord (where it connected to the printer) had melted from extreme overheating. I tried to update the USB drivers for each port but it didn't change things. I also tried to connect a different printer to get the computer started but it didn't work this time. I'd be extremely grateful for any comments that may solve this power supply issue (and if possible explain the stuff with the printer connection).
    S/N{removed for privacy]; P/N PH989EA#AK8
    You unplugged a USB device while the notebook was still booted into Windows and on? 
    Normally that won't cause any issues but , If you did that you may have damaged your  system board's Southport chip.
    USB is not a plug n' play port like SATA  and eSATA are.
    Here is a link to the maintenence manual for your laptop series.
    Is your notebook still within warranty? By the processor components listed in the manual,I believe it is probably not.
    best regards,
    erico
    ****Please click on Accept As Solution if a suggestion solves your problem. It helps others facing the same problem to find a solution easily****
    2015 Microsoft MVP - Windows Experience Consumer

  • Troubleshooting of 370 A tektroniks curve tracer. Output get disabled when we increase the current to the device.how to troubleshoot?

    Output get disabled for Tektronics 370 A curve tracer when i apply current to the device from curve tracer. Please give me some iea to troubleshoot the problem.

    hello,
    i don't have tools needed but , i see one thing is that you enqueue 
    every time you are greater 3 that means about every 2-3 ms so consumer is really   sought
    is it really what you want ?
    may be you want to start on a treshold so you can use a treshold fonction 
    if i don't make mistake your square is 10 hz and the daq is configured 25000 sample 25000 hz
    so you aquire 1s of signal every 100ms , there is something to correct
    make tests and tell us
    Regards
    Tinnitus
    CLAD / Labview 2011, Win Xp
    Mission d'une semaine- à plusieurs mois laissez moi un MP...
    RP et Midi-pyrénées .Km+++ si possibilité de télétravail
    Kudos always accepted / Les petits clicks jaunes sont toujours appréciés
    Don't forget to valid a good answer / pensez à valider une réponse correcte

  • My Yahoo and Norton toolbars were disabled when I updated today and they did not reset. They no longer appear in the drop down view menu. How do I reset them?

    I was asked to update my Firefox today. The prompts said the yahoo and norton toolbars would be disabled during the update and ENABLED after. They did not reset and do not appear in view drop down menu. How to I reset the toolbars? I am a novice user please be as simple as possible.

    Add-ons are Disabled after Updating Firefox
    * https://support.mozilla.com/en-US/kb/Add-ons%20are%20disabled%20after%20updating%20Firefox
    Check and tell if its working.

  • Why doesn't the older updater version get deleted when you update the Ipod

    I just downloaded the iPod Updater 2006-01-10 and updated my new iPod.
    Which caused me to have 3 updaters on my PC I was able to delete iPod Updater 2005-09-23 but when I try to delete iPod Updater 2005-02-07 it will not delete. I used the add/remove programs to delte the first one. And I deleted the setup icon for that one too.

    Well I don't have an answer to that but yeah I also did noticed when I updated to the new iPod updater and I had to remove it too; just wanted to say that incase you thought it wasn't normal

  • Performance between two partitionned tables with different structure

    Hi,
    I would like if there is a difference between two partitionned tables with different structure in term of performance (access, query, insertions, updates ).
    I explain myself in detail :
    I have a table that stores one value every 10 minutes in a day (so we have 144 values (24*6) in the whole day), with the corresponding id.
    Here is the structure :
    | Table T1 |
    + id PK |
    + date PK |
    + sample1 |
    + sample2 |
    + ... |
    + sample144 |
    The table is partionned on the column date, with a partionned every months. The primary key is based on the columns (id, date).
    There is an additionnal index on the column (id) (is it useful ?).
    I would like to know if it is better to have a table with just (id, date, value) , so for one row in the first table we'll have 144 rows in the future? table. The partition will already be on the columns (id, date) with the index associated.
    What are the gains or loss in performance with this new structure ( access, DMLs , storage ) ?
    I discuss with the Java developers and they say it is simpler to manage in their code.
    Oracle version : Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
    Thanks & Regards
    From France
    Oliver
    Edited by: 998239 on 5 avr. 2013 01:59

    I mean storage in tablespaces and datafiles on disk.
    Can you justify please and give me concrete arguments why the two structures are equivalent ( except inserting data in T(id, date,value))
    because i have to make a report.i didnt say any thing like
    two structures are equivalent ( except inserting data in T(id, date,value)i said
    About structure : TABLE1(id, date, value) is better than TABLE1(id, date, sample1, .... sample144)because
    1) oracle has restriction for numbers of column. Ok you can have 144 columns now but for future if you must have more than 1000 columns , what will you do?
    2) Restrictions on Table Compression (Table compression is not supported for tables with more than 255 columns.)
    3) store same type values on diffrent columns is bad practise
    http://docs.oracle.com/cd/B28359_01/server.111/b28318/schema.htm#i4383
    i remember i seen Toms article about this but now i cant find it sorry ((( if i found i will post here

  • Problem in bulk update on partitioned table

    Hi,
    As per my old discussions on my huge table t_utr with 220 million rows,
    I'm running a bulk update statement on the table which may update 10 to 10 million rows in a single update statement.
    The problem is that when the statement has to update more number of rows, the update statement take more time.
    Here I want to know, when a update statement has to update more rows, will it impact the performance?
    Regards
    Deepak

    > I'm running a bulk update statement on the table
    which may update 10 to 10 million rows in a single
    update statement.
    Bulk updates does not make SQL statements execute any faster.
    > The problem is that when the statement has to update
    more number of rows, the update statement take more
    time.
    It is not a problem, but a fact.
    > Here I want to know, when a update statement has to
    update more rows, will it impact the performance?
    You have a car capable of traveling 120km/h. You drive from point A to point B. These are 10 km apart. It takes 5 minutes.
    Obviously when you travel from A to Z that are a 1000 km apart, it is going to take a lot longer than just 5 minutes.
    Will updating more rows impact performance? No. Because you cannot compare the time it takes to travel from point A to B with the time it takes to travel from point A to Z. It does not make sense wanting to compare the two. Or thinking that a 1000km journey will be as fast to travel than a 10km journey.
    Updating 10 rows cannot be compared to updating 10 million rows. Expecting a 10 million row update to be equivalent in "performance" to a 10 row update is ludicrous.
    The correct question to ask is how to optimise a 10 million row update. The optimisation methods for a large update is obviously very different than those of a small update. E.g. 5 I/Os per row updated is insignificant when updating 10 rows. But is very significant when updating 10 million rows.

  • Insert performance issue with Partitioned Table.....

    Hi All,
    I have a performance issue during with a table which is partitioned. without table being partitioned
    it ran in less time but after partition it took more than double.
    1) The table was created initially without any partition and the below insert took only 27 minuts.
    Total Rec Inserted :- 2424233
    PL/SQL procedure successfully completed.
    Elapsed: 00:27:35.20
    2) Now I re-created the table with partition(range yearly - below) and the same insert took 59 minuts.
    Is there anyway i can achive the better performance during insert on this partitioned table?
    [ similerly, I have another table with 50 Million records and the insert took 10 hrs without partition.
    with partitioning the table, it took 18 hours... ]
    SQL> select * from table(dbms_xplan.display);
    PLAN_TABLE_OUTPUT
    Plan hash value: 4195045590
    | Id | Operation | Name | Rows | Bytes |TempSpc| Cost (%CPU)| Time |
    | 0 | SELECT STATEMENT | | 643K| 34M| | 12917 (3)| 00:02:36 |
    |* 1 | HASH JOIN | | 643K| 34M| 2112K| 12917 (3)| 00:02:36 |
    | 2 | VIEW | index$_join$_001 | 69534 | 1290K| | 529 (3)| 00:00:07 |
    |* 3 | HASH JOIN | | | | | | |
    | 4 | INDEX FAST FULL SCAN| PK_ACCOUNT_MASTER_BASE | 69534 | 1290K| | 181 (3)| 00:00
    | 5 | INDEX FAST FULL SCAN| ACCOUNT_MASTER_BASE_IDX2 | 69534 | 1290K| | 474 (2)| 00:00
    PLAN_TABLE_OUTPUT
    | 6 | TABLE ACCESS FULL | TB_SISADMIN_BALANCE | 2424K| 87M| | 6413 (4)| 00:01:17 |
    Predicate Information (identified by operation id):
    1 - access("A"."VENDOR_ACCT_NBR"=SUBSTR("B"."ACCOUNT_NO",1,8) AND
    "A"."VENDOR_CD"="B"."COMPANY_NO")
    3 - access(ROWID=ROWID)
    Open C1;
    Loop
    Fetch C1 Bulk Collect Into C_Rectype Limit 10000;
    Forall I In 1..C_Rectype.Count
    Insert test
         col1,col2,col3)
    Values
         val1, val2,val3);
    V_Rec := V_Rec + Nvl(C_Rectype.Count,0);
    Commit;
    Exit When C_Rectype.Count = 0;
    C_Rectype.delete;
    End Loop;
    End;
    Total Rec Inserted :- 2424233
    PL/SQL procedure successfully completed.
    Elapsed: 00:51:01.22
    Edited by: user520824 on Jul 16, 2010 9:16 AM

    I'm concerned about the view in step 2 and the index join in step 3. A composite index with both columns might eliminate the index join and result in fewer read operations.
    If you know which partition the data is going into beforehand you can save a little bit of processing by specifying the partition (which may not be a scalable long-term solution) in the insert - I'm not 100% sure you can do this on inserts but I know you can on selects.
    The APPEND hint won't help the way you are using it - the VALUES clause in an insert makes it be ignored. Where it is effective and should help you is if you can do the insert in one query - insert into/select from. If you are using the loop to avoid filling up undo/rollback you can use a bulk collect to batch the selects and commit accordingly - but don't commit more often than you have to because more frequent commits slow transactions down.
    I don't think there is a nologging hint :)
    So, try something like
    insert /*+ hints */ into ...
    Select
         A.Ing_Acct_Nbr, currency_Symbol,
         Balance_Date,     Company_No,
         Substr(Account_No,1,8) Account_No,
         Substr(Account_No,9,1) Typ_Cd ,
         Substr(Account_No,10,1) Chk_Cd,
         Td_Balance,     Sd_Balance,
         Sysdate,     'Sisadmin'
    From Ideaal_Cons.Tb_Account_Master_Base A,
         Ideaal_Staging.Tb_Sisadmin_Balance B
    Where A.Vendor_Acct_Nbr = Substr(B.Account_No,1,8)
       And A.Vendor_Cd = b.company_no
          ;Edited by: riedelme on Jul 16, 2010 7:42 AM

  • Trigger format to perform updates on another table

    Hello there,
    I am struggling to write a trigger that performs updates on table B when rows in my table A are updated , can anybody give me any general pointers in that direction?

    Duplicate thread:
    Will this trigger code work?
    (this one is earlier, but at least the other one has some code).

  • Updating a Partitioned Table

    Hi
    I have a partitioned table with 1000 million records with avg 20 million records in each partition
    and I want to update the entire table.
    The way I am updating the table is for e.g.
    UPDATE /*+ PARALLEL(A,8) BKG_FAC A
    SET
    A.BKG_FLAG = DECODE(A.BKG_FLAG, NULL, 'N','Y'),
    A.BKG_ITEM = DECODE('ABC','123','DEF','456','999')
    WHERE PART_KEY BETWEEN 1 AND 5     -- stPart and endPart
    AND SUBSTR(ebt.ROWID, 15, 1) BETWEEN STARTCHAR AND ENDCHAR;     
    Passing STARTCHAR AND ENDCHAR so that it splits the rows into 8 parts based on distinct rowid's.
    It works fine with the non partitioned tables.
    Looks like it is issuing lock on the entire table and only one partition is being executed at a time so it is taking long time to come out.
    Could some one shed some light on this and suggest best/fast way to do it.
    Thanks,
    Chandu.

    Yes I do with the following command in my procedure.
    EXECUTE IMMEDIATE 'ALTER SESSION ENABLE PARALLEL DML';

  • Norton and Comcast tool bars were disabled when I updated to Firefox v4. When will this be fixed?

    After installing Firefox v4 my Comcast and Norton tool bars were disabled, Firefox could not find an update and deemed them not compatible with v4. Do you have any information on getting this corrected. Right now I have no protection from Norton when using the internet via Firefox.

    Symantec need to update their Firefox add-ons so that they are compatible with Firefox 4. They have indicated that for Norton 360 they plan to release an update to Norton 360 to support Firefox 4 in early May - http://us.norton.com/support/kb/web_view.jsp?wv_type=public_web&docurl=20100720113635EN&ln=en_US
    I do not know about the time scale for updates for other Norton products. Pending the update by Symantec, if you want to use the Norton add-ons you will need to downgrade to Firefox 3.6.
    You will need to contact Comcast about their plans to make their toolbar compatible with Firefox 4.
    If you want to downgrade to Firefox 3.6 first uninstall Firefox 4, but do not select the option to "Remove my Firefox personal data". If you select that option it will delete your bookmarks, passwords and other user data.
    You can then install the latest version of Firefox 3.6 available from http://www.mozilla.com/en-US/firefox/all-older.html - it will automatically use your current bookmarks, passwords etc.
    To avoid possible problems with downgrading, I recommend going to your profile folder and deleting the following files if they exist - extensions.cache, extensions.rdf, extensions.ini, extensions.sqlite and localstore.rdf. Deleting these files will force Firefox to rebuild the list of installed extensions, checking their compatibility, and reset toolbar customizations.
    For details of how to find your profile folder see https://support.mozilla.com/kb/Profiles

  • Microsoft Access - error when performing updates

    Hi,
    I am creating a Java application that edits databases using a GUI. I am having problems when it comes to editing Access Databases. Every so often, when the user tries to perform an update like add an attribute the database throws the following exception...
    java.sql.SQLException: [Microsoft][ODBC Microsoft Access Driver] The database engine could not lock table 'Books' because it is already in use by another person or process.
    This exception does not make sense since i DO NOT HAVE ANY OTHER APPS OPEN USING THIS DATABASE. Also it allows me to make some changes before throwing this exception.
    I dont get this problem when editing Postgres Databases.
    I am using the ODBC:JDBC drivers for connection to the access database. Could it be a problem with this driver.....
    (I posted this topic on JDBC forum but go no response...hoping for better luck here)
    Wide :)

    Couple of ideas......
    1) are you releasing your connections, statements and resultsets after use ? Best to wrap your code in at least a try - finally block.
    In finnally call resultSet.close(), statement.close() and connection.close() when you're finished. Maybe your db connections aren't being released.
    2) if autocommit was off, then previous uncommitted statements might conflict/lock the table ?
    regards,
    Owen

  • Why does the eprint service on my HP Photosmart 7510 get disabled when it is powered off?

    I bought this printer in January this year and I've had issue with the ePrint service not staying enabled when the printer turned off. Because of this I'm expereincing the following issues.
    1. Efax is not working correctly. I can send faxes, but I cant recieve them. Also whenever I press fax on the printer it asks me to enable ePrint. 
    2. I can't print from my phone and other remote location.
    3. The printer sometimes shuts down on its own and never finishes the shut down process.
    4. When I check efax.com I can see the faxes we've recieved, but I can't see that any faxes have been sent. 
    5. I can see that faxes that were sent on the printer, but I can't see that anything has been recieved. 
    The printer is working great as a normal printer, but I kind of what to use all the ePrint services.  
    Here is the details on the printer. 
    Product Name: HP Photosmart 7510 e-All-in-One - C311a
    Product Model Number: CQ877A
    Firmware Version: VEP1CN1137CR
    Total Page Count: 521
    Country/Region: USA
     [Personal Information Removed]

    I hope you are having a great and sorry to learn that you are having this issue;
    Since I could not check what version of the laterst firmware,  I hope you don't mind doing the following in your printer:
    Updating the All-in-OneFollow these steps to enable automated Web Services updates, and to update the product firmware.
    Important : The HP product must connect to a wireless network with an active Internet connection to receive updates. However, the product does not need to be connected to a computer.
    On the upper left side of the HP product control panel, touch the Web Services icon ( ). The product control panel displays the Web Services screen.
    Touch Settings . The product control panel displays the Settings menu.
    Touch Product Updates .
    Touch Check for Product Updates Now .
    Wait for any updates to download and run.
    If you using Win XP or later please run this tool to see if you get any errrors Click here
    Is your printer on warranty? if you do not know you can use this tool;  GO HERE.
    Hope this helps and let me know if I can assist you any further I will do my best to provide you assistance;
    RobertoR
    You can say THANKS by clicking the KUDOS STAR. If my suggestion resolves your issue Mark as a "SOLUTION" this way others can benefit Thanks in Advance!

  • How do I get help when no updated browser can load a particular site,"can't find server,"

    In recent weeks, possibly coinciding with updates in Firefox (running 3.6.10), Safari and iTunes, I have only received the prompt, "can't find server" when attempting to connect to the site below. Others can get it on their computers in other places, and my iPhone can access when on 3G, but our network here seems affected because all the computers [All macs, some laptops and some desktops, running on OS 10.5.8] here receive this message. I used to be able to go to this site, a radio station, and stream audio or download podcasts. My ISP ran a ping test to the site's server and said that went through, but the browsers don't seem to be able to make the transformation to anything I can read. What kind of a problem is this? Apple was no help either.

    Well, it's very interesting that without my doing anything else, last Friday, kcrw.com mysteriously APPEARED when I went to it. This happened in Safari, too. It loads and I can stream the audio (with the Flash update). No explanation, really.
    I had checked the protocols, but everything was default. It took all week for the change; so I can't believe that my tinkering (which was really only checking and doing nothing) was the cause of the reappearance.

  • Word 2010 spell check gets disabled after Windows Updates

    Each time the computer receives updates, the proofing settings seem to revert to disabled. The settings getting reset are
     - Check spelling as you type
     - Mark grammar errors as you type
     - Check grammar with spelling
    I only notice the issue in Word and have tried running a repair on Office. Any help is appreciated

    Hi,
    Just checking in to see if the information was helpful. Please let us know if you would like further assistance.
    Thanks,
    Melon Chen
    Forum Support
    Come back and mark the replies as answers if they help and unmark them if they provide no help.
    If you have any feedback on our support, please click
    here

Maybe you are looking for