Need information on objects not expired undo tablespace

We are facing a problem in our database for 3-4 days.

The objects remaining in the database increases day after day. As our ts cancel autoextend enabled, it increases the storage space.

Currently the following is the scenario.

SQL > SELECT DISTINCT STATUS, SUM (BYTES) / 1024/1024/1024 GB, COUNT (*)

2 GROUP OF DBA_UNDO_EXTENTS BY THE STATE;

STATUS GO COUNT (*)

--------- ---------- ----------

61.5925903 10995 REST TO RUN

3.33197021 356 EXPIRED

ACTIVE 18.478515625

Thus, the remaining data 61GB while active is only 478 MB and expired is 3.3 GB.

My questions are

1. How can I check the object or sql query or a program that contains the data to cancel "RUN" so. How can I find the names of these objects?

2. If I turned off autoextend undo ts if this solves the problem and take the new space to cancel from space to cancel remaining?

Help, please.

1. the UNEXPIRED is not bound to a query, but the UNDO for UNDO Tablespace retention period. And the Undo retention is a value set automatically when the parameter UNDO_RETENTION is minium.

The Oracle Documentation says:

For an undo tablespace with the AUTOEXTEND option is enabled, the database tries to honor the specified minimum retention period by UNDO_RETENTION . When space is low, instead of crushing the cancellation information remaining, the self-aggrandizing tablespace' extends. If the MAXSIZE clause is specified for an auto-croissant undo tablespace when the maximum size is reached, the database can begin to replace the cancellation information remaining.

2. Yes this will fix the issue that now the calcution for UNDO retention is different.

Tags: Database

Similar Questions

  • Undo tablespace is enough for the declaration of a deletion

    Oracle 9.2. We need more than 140K delete records from a table. If I use just a statement
    "delete from tablename where xxxx"; and then commit; It will remove 140K records in a statement. My question is if my UNDO tablespace is sufficient for the removal of these many records? My undo tablespace has total maxbytes = 35G and
    user_bytes = 12G. CanGrow.

    My table avg_row_len = 119, so 140 x 119 = 16 K M. Undo tablespace is enough to remove 14oK in a statement.

    My analysis is correct? a better idea?

    I don't want the deletion failed because of not enough undo tablespace.

    Thanks for any advice.
    S.

    One solution.

    Delete the folders in batches, where the rownum <> .

    SS

  • Undo Tablespace is not erasing in 11 GR 2 DB

    Hello

    There are 2 undo tablespace APPS_UNDOTS1 and APPS_UNDOTS2. APPS_UNDOTS2 is not used frequently while APPS_UNDOTS1 is used frequently.
    Problem is that these storage spaces are not deleted automatically. We even tried to bounce the database but no help. There are often increase the size of the tablespace by adding the data file.
    There is no work around for this problem? What should be the impact if we auto expand on these storage spaces?

    Here is the information:

    Operating system platform: IBM AIX 6.1.0.0, 64-bit
    Product: Oracle E-Business Suite R1212
    Database version: 11.2.0.1.0
    Is active RAC: Yes
    Is active ASM: Yes
    Database nodes: 2


    SQL > show Cancel parameter;
    VALUE OF TYPE NAME
    ------------------------------------ ----------- ------------------------------
    UNDO_MANAGEMENT string AUTO
    UNDO_RETENTION integer 900
    undo_tablespace string APPS_UNDOTS1

    SQL > SELECT DISTINCT STATUS, SUM (BYTES), COUNT (*)
    DBA_UNDO_EXTENTS GROUP OF STATUS;

    STATUS SUM (BYTES) COUNT (*)
    --------- ---------- ----------
    EXPIRED 89718784 1294
    RUN 3.2242E + 10 17929
    1773862912 2261 ASSETS

    Cancel the use of TBS:
    Nom_tablespace AVAIL USE % FREE opportunity
    ------------------------------ -------------------------------------
    15120 9875 5245 65.31 APPS_UNDOTS2

    28432 APPS_UNDOTS1 22823.6875 5608,3125 80.27

    Undo retention is dry and there is not sufficient 900 scopes CANCEL remaining, so no idea why Undo SCT is not having erased?


    Kind regards
    Purnima

    Normal and expected - behavior for an explanation see MOS Doc 413732.1 (Full UNDO Tablespace in gr 10, 2)

    Srini

  • I have the iphone 6, since yesterday it does not open a lot of apps, they look just as they open you and then it comes out of the application itself, and I need information in my apps so I can just remove them and reinstall

    I have the iphone 6, since yesterday it does not open a lot of apps, they look just as they open you and then it comes out of the application itself, and I need information in my apps so I can just remove them and reinstall

    Have what troubleshooting you done?  Surely you have tried something before posting here, Yes?

    Hold power and home until is buttons restarts.

  • Transaction is written to the log file and it is not written to undo tablespace. During a failure of the system how oracle rolls back the transaction.

    Hi all

    My question is:

    Transaction is written to the log file and it is not written to undo tablespace.

    During a failure of the system how oracle rolls back the transaction.

    I have already provided the answer, you ignored if well (you seem to only read the responses by people of your country).

    Redo log is always written * first * before * writing to the data block (redo log writing is much more aggressive). So it DOESN 'T MATTER if you lose these scriptures of rollback segment.

    Valuation: rear roller followed by roll forward, using redo log files and/or archive redo log files.

    Sybrand Bakker

    Senior Oracle DBA

  • undo_segments in the undo tablespace

    (1) at least how undo_segments in undo tablespace?

    Is optimal?
    If I increase the size of the undo tablespace, undo_segments counts also have increased!

    Version of DB is 10g

    Hello

     

    The two time oracle maintains exactly 10 segments. (you can see nom_segment begins by _SYSSMU11)

    I'm not clear on what exactly 10 segments. I have undo tablespace of ~ 250 GB with 6676 stored in dba_rollback_segs.

    3) why undo tablespace with the only spaceMo 46,8125 '?


    (4) I mean why he is stiil 450Mo undo_retention even through time or same validation has occurred?

    Just Oracle - Doc

    Once a transaction is committed, the undo data are more necessary for purposes of recovery rollback or transaction. However, for consistent read purposes, long-running queries may require old undo information to produce older images of data blocks. In addition, the success of several Oracle Flashback features can also depend on the availability of the old cancellation information. For these reasons, it is desirable to keep the old information of cancellation for as long as possible.

    Introduction to the management of the automatic cancellation

    With undo tablespace, you would see extended with the status ACTIVE, EXPIRED, extents still to RUN.

    Active cancellation extended are used by transactions and will be always active, because they are needed for the restoration.

    Extensions has expired are not used by transactions, the data contained in these extended is committed and the time UNDO_RETENTION is passed, so it is not necessary for the coherence of reading and can be reused.

    Not expired extensions are extended no assets but honor UNDO_RETENTION. Transactions belonging to these bodies of cancellation are determined, but the retention time has failed, and it may be necessary for the coherence of reading!

    Paste the query result - below

    ! undo_extent_stat.SQL more

    status of collar for a30

    Select the State,

    round (sum_bytes / (1024 * 1024), 0) like MB,.

    Tour ((sum_bytes / undo_size) * 100, 0) as PERC

    Of

    (

    Select the State, sum (bytes) sum_bytes

    of dba_undo_extents

    Status group

    ),

    (

    Select sum (a.bytes) undo_size

    from dba_tablespaces c

    Join v$ tablespace b on b.name = c.tablespace_name

    Join v$ datafile on a.ts # b.ts = #.

    where c.contents = 'UNDO '.

    and c.status = 'ONLINE '.

    );

    Anand

  • Undo Tablespace queries

    Hi all

    I am little confused with reading on the undo tablespace. So I need some clarification

    1. There are 2 undo tablespace in our application. Could someone explain to me how the 2 undo tablespace? I've not found details about it.
    2. both the undo tablespace is used at 100%. Where the the new transaction will go? New operation will force the blocks used to be exceeded if necessary?
    3. what should be the ideal size of the tablespace undo compared to the total storage size?
    4. is the log archive associated with space undotable? If Yes, then when archiving logs getting generated?

    Thank you

    1. in a database of CARS, each Instance must have it's own Undo Tablespace.
    In a database not RAC (single instance), only one Undo Tablespace can be active at any time. The Undo Tablespace would be idle but can be switched by an ALTER SYSTEM SET UNDO_TABLESPACE command.

    2. even if an Undo Tablespace is 'used 100% ' Oracle can expire (and even drop) on old extents and segments that are no longer needed by the value of Undo_Retention. Thus, data undo for older transactions that are committed (more than Undo_Retention period has elapsed since the validation) will be overwritten.

    3. There is no "ideal size. Undo sizing is based on transaction volumes, fluctuations in the volume of transactions, query patterns etc.

    4. No, there is no direct relationship between the two. However, any cancellation that is generated is also written again - that is to say redo Undo catches as it captures changes made to Tables, indexes etc..

    I suggest you read the Oracle documentation concepts to
    http://download.Oracle.com/docs/CD/E11882_01/server.112/e16508/TOC.htm

    Hemant K Collette
    http://hemantoracledba.blogspot.com

  • Problems with UNDO tablespace

    Hello

    DB_VERSION: 10.2.0.4
    OS_VERSION: Windows 2003 server

    SQL > show Cancel parameter

    VALUE OF TYPE NAME
    ------------------------------------ ----------- ----------------
    UNDO_MANAGEMENT string AUTO
    UNDO_RETENTION integer 900
    undo_tablespace string UNDOTBS1

    I know that UNDO tablespace stores the old image of o / old value when the cancellation of the user, the old value is returned to the user throgh UNDO.


    My UNDO tablespace grows up to 24GO as a developer frequently updates the database in the morning and in the evening.

    Basically, it runs a script to offset that includes the INSERT and UPDATE and it is important to extermely.

    Whenever the UNDO SCT is full, I create a new one with autoextend on, what happens if I do not autoextend?

    1. what would be the impact on queries, if I do like above I always created UNDO tablespace with autoextend 2Go on.

    2. What is the best time to drop the old UNDO tablespace?

    Thanks in advance.

    Dear user12000301,

    Firstly the undo tablespace is not just there to roll back the transaction. You can use the for recovery undo tablespace (roll back during the recovery of the instance), coherent reading and also for operations of blowback.

    If you have defined a tablespace undo with the goal of conservation of 15 minutes, but have fixed size then;

    http://download.Oracle.com/docs/CD/B19306_01/server.102/b14231/undo.htm

    +"+
    + The following points explain the exact impact of the undo retention UNDO_RETENTION parameter: +.

    + The UNDO_RETENTION parameter is ignored for a fixed size undo tablespace. The database can overwrite the information to cancel remaining when the tablespace space becomes low. +

    + For a tablespace undo with the option enabled AUTOEXTEND, the database tries to honor the minimum retention specified by UNDO_RETENTION period. When space is low, instead of crushing the cancellation information remaining, the self-aggrandizing tablespace' extends. If the MAXSIZE clause is specified for an auto-croissant undo tablespace when the maximum size is reached, the database can begin to replace the cancellation information remaining. +
    +"+

    Be careful with the settings to cancel it. The size, before you add the new data files in the tablespace, undo or autoextending for your pain, you must consider the DML that caused the growing undo tablespace. Necessaryly should generate redo or cancel? If so, know the total amount of undo blocks through the relevant DML.

    If you have created a with 2 GB undo tablespace and mark as CanGrow that the data file can be up to 32 GB. The DBCA you will create a petit_fichier undo tablespace but you can create another like bigfile and pretend the tablespace default undo for the operation.

    The best time to drop an undo tablespace is to wait at least undo_retention period of time has elapsed to make sure you don't need to have the copy of the coherent image transactions are committed. I think that the solution could be achieved as underlined Chinar but be careful on the active rollback segments in your database. You can also dynamically change the default undo tablespace anytime if the database uses the spfile.

    Hope that helps.

    Ogan

  • I am a student in the United Kingdom, and my account Adobe said that my adobe creative cloud subscription has expired so I can't use the software. However when I access my account through "onthehub" he told me that the same subscription has not expired. P

    I am a student in the United Kingdom, and my account Adobe said that my adobe creative cloud subscription has expired so I can't use the software. However when I access my account through "onthehub" he told me that the same subscription has not expired. Help, please?

    Your subscription to cloud shows correctly on your account page?

    https://www.adobe.com/account.html for subscriptions on your page from Adobe

    If you have more than one email, you will be sure that you use the right Adobe ID?

    .

    If Yes

    Sign out of your account of cloud... Restart your computer... Connect to your paid account of cloud

    -Connect using http://helpx.adobe.com/x-productkb/policy-pricing/account-password-sign-faq.html

    -http://helpx.adobe.com/creative-cloud/kb/sign-in-out-creative-cloud-desktop-app.html

    -http://helpx.adobe.com/x-productkb/policy-pricing/activation-network-issues.html

    -http://helpx.adobe.com/creative-suite/kb/trial--1-launch.html

    -ID help https://helpx.adobe.com/contact.html?step=ZNA_id-signing_stillNeedHelp

    -http://helpx.adobe.com/creative-cloud/kb/license-this-software.html

    .

    If no

    This is an open forum, Adobe support... you need Adobe personnel to help

    Adobe contact information - http://helpx.adobe.com/contact.html

    Chat/phone: Mon - Fri 05:00-19:00 (US Pacific Time)<=== note="" days="" and="">

    -Select your product and what you need help with

    -Click on the blue box "still need help? Contact us. "

  • Concept on Undo tablespace in RAC environment

    Why we need two different Undo tablespace for two different instances in RAC environment. What are the internal mechanisms behind it? No explanation of the concept will be great for me. What will be the scenario if we have same tablespace undo for two instances?

    Thanks in advance.

    Hello

    To reduce CONTENTION and the complexity of the software.aslo oracle instances share not undo tablespace using cancel separate increase the availability of data undo files.

    Note: all instances can still read that cancel all blocks for coherent reading purposes. In addition, any instance can update the any tablespace undo during the restoration of the transaction,

    as long as undo tablespace is not currently used by another instance to cancel generation or a recovery operation.

    HTH

    Tobi

  • Question about Undo Tablespace?

    Hello;

    The necessary size of the undo tablespace is the number and size of the transactions that occur on the database. But I do not need to interview one of these transactions for a schema or table using flashback it is a way to disable transactions writing on a table or schema of undo tablespace?

    Published by: Ecimen on 04.Mar.2013 03:50

    Published by: Ecimen on 03:51 04.Mar.2013

    Ecimen wrote:

    Rob_J wrote:
    OK, it's fine, so what makes you say you build too UNDO? What is the problem you're trying to solve? Or you want to know if you could get back to CANCEL in writing?

    Our log tables generate too much to cancel because we need you connecting all these data (insert and update for the most part)... but we don't care about these log tables, we want to reduce the cancellation written for these tables logs so that we could use more flashback query timestamp older due to more space in the undo tablespace...

    I think I mentioned in my other two answers above that it is not possible to disable the generation of the cancellation, or at least I don't know that there is no way to do it! What you can do, if you are worried about the Undo tablespace grows, it is that make you a tablespace size Undo fixed by controlling the Undo data that are generated. You can use Cancel Advisor of the to do. With the Undo retention period of your proposed, she would like the size of the Undo tablespace tips and you can add about 20-30% extra size and you should be fine. But as I've already said too much, he has No way to stop generating cancellation.

    Aman...

  • Full undo tablespace confusion

    Hi gurus,

    We have a 2 RAC on RHEL 6.2 node (11 GR 2). We have 2 undo tablespace UNDOTBS1 and UNDOTBS2. Who controls the stats of DBA_UNDO_EXTENTS it gives different results. Please help me understand the difference below the query results. Also, if possible any ORA-01555 or ORA-30036?



    On node 1.

    SQL > SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) FROM DBA_UNDO_EXTENTS where nom_tablespace = 'UNDOTBS1' group by status
    2;

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    RUN 57352.1875 6087
    64.25 5 EXPIRED
    ACTIVE 841 35

    1 * SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) FROM DBA_UNDO_EXTENTS where nom_tablespace = 'UNDOTBS2' group by status
    SQL > /.

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    9090,8125 1240 REST TO RUN
    ACTIVE 1374 46
    47323,75-7125 EXPIRED


    SQL > SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) OF DBA_UNDO_EXTENTS group of status;

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    REST TO RUN 66185 7322
    EXPIRED 47380 7129
    ACTIVE 2600 94



    On node 2.

    SQL > SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) FROM DBA_UNDO_EXTENTS where nom_tablespace = 'UNDOTBS1' group by status
    2;

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    57281.4375 6090 REST TO RUN
    1096 45 ASSETS

    SQL > SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) FROM DBA_UNDO_EXTENTS where nom_tablespace = 'UNDOTBS2' group by status
    2.

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    RUN 56404.5625 8362
    ACTIVE 1320 48
    72 2 EXPIRED

    SQL > SELECT STATUS DISTINCT, SUM (BYTES) / 1024/1024, COUNT (*) OF DBA_UNDO_EXTENTS group of status;

    STATUS SUM (BYTES) / 1024/1024 COUNT (*)
    --------- -------------------- ----------
    REST TO RUN 113575 14454
    ACTIVE 2543 93
    EXPIRED 64 1


    Why is there so much difference in the outcome. Help, please

    Kind regards
    Nikhil Mehta.

    Hello
    It's a bug because dependent parameters for undo retention are really time-sensitive and specific to the instance.
    It is difficult to find a perfect "global" solution. Therefore, there is no solution for this.

    Then use the bellow note to determine the correct result.

    * DBA_UNDO_EXTENTS shows incorrect results of different nodes of the PAP [1492313.1 ID] *.

    Kind regards
    Levi Pereira

  • Undo tablespace filled with 95%

    Hi all

    We have R12.1 Instance with RDBMS 11.1.0.7.0.
    Undo table space here is got filled up to 95%, all the data files are not in AUTOEXTEND.

    In this case, I need to add a data file?
    If I add a file of data, is the performance database will be mediocre?

    Please suggest...


    Thank you
    Shaik

    Undo tablespace full when data files are not in mode autoextend is normal. PL see this Doc MOS

    UNDO tablespace full gr 10 2 [ID 413732.1]

    If you stop seeing any error ORA-01555, you don't have to do anything.

    HTH
    Srini

  • Undo tablespace full

    Hi all

    OS: Solaris
    DB: 10 G

    My undotablespace had a lot, I should directly resize it or is there something else I should do first?
    One last thing, if I take the bounce of the database, this will affect cancel it?

    Kind regards
    Sphinx

    If you have room for an other undo tablespace, why not make one you have more? Don't forget, one will not be removed until all transactions using this are made.

    There are a few reasons you may need more to cancel the space: you have people leaving the open sessions, you have poor code that uses too or shot himself in the foot, stand too close, autoextend to cancel gourmand or you really need the space.

    Tom Kyte has recommended to keep enough space around it for annual transactions of large batch if you have those. Unfortunately, this means that you do not have the other stuff stupid user. I take an intermediate point of view, keeping a great cancel (it is about half of my db), even though it is barely used most of the time and kill sessions where I can determine that they should not be left open (in other words, people who rarely run stuff from one day to the next day to ask, since most people don't).

    What are the exact errors are you seeing? If this is the code that self-destructs in the foot, no matter how cancel it y a. search for ora-1555 on asktom if that's what you see. What's your retention, what is your guarantee?

  • Is it possible to have three Undo tablespace for a 2 RAC node?

    Version: 11.2.0.2/RHEL 5.4

    I was under the impression that you need only one UNDO Tablespace for each instance. But, for our 2 bow TIE, I see three Undo tablespace. No idea what is the third for?
    SQL> select tablespace_name,status from dba_tablespaces where CONTENTS = 'UNDO';
    
    TABLESPACE_NAME                STATUS
    ------------------------------ ---------
    UNDOTBS1                       ONLINE
    UNDOTBS2                       ONLINE
    UNDOTBS3                       ONLINE
    
    SQL> select distinct inst_id from gv$session;
    
       INST_ID
    ----------
             1
             2
    
    
    $ olsnodes -n
    thclst214   1
    thclst215   2

    I think it's possible, but a database instance is not able to use an undo tablespace. It is probably an error and you can try to drop the tablespace is not in the GV$ PARAMETER.

    I ran the following on a 2 RAC 11.2.0.1 running node:

    SQL>  select inst_id, name, value from gv$parameter where name = 'undo_tablespace';
    
       INST_ID NAME                 VALUE
    ---------- -------------------- --------------------
             1 undo_tablespace      UNDOTBS1
             2 undo_tablespace      UNDOTBS2
    
    SQL>  create undo tablespace undotbs3;
    
    Tablespace created.
    
    SQL> select tablespace_name, status from dba_tablespaces where contents='UNDO';
    
    TABLESPACE_NAME                STATUS
    ------------------------------ ---------
    UNDOTBS1                       ONLINE
    UNDOTBS2                       ONLINE
    UNDOTBS3                       ONLINE
    
    SQL>  drop tablespace undotbs3;
    
    Tablespace dropped.
    
    SQL> select tablespace_name, status from dba_tablespaces where contents='UNDO';
    
    TABLESPACE_NAME                STATUS
    ------------------------------ ---------
    UNDOTBS1                       ONLINE
    UNDOTBS2                       ONLINE
    
    SQL>
    

Maybe you are looking for

  • How can I protect my broswer iwant only firefov

    There are moments where Bing, chrome and others tried to change my browser. I want to use Firefox only, there are also attempts to change my homepage.

  • Re: 39L4333DG firmware updated to 7.1.90.22.01.1, questions

    Yesterday, my TV did a two steps upgrade to v7.1.90.22.01.1 (I assume that the version is that, as noted later my TV does not check on the TV itself).In two steps, I mean that he first downloaded a whole lot restarted to blue screen, updated and then

  • Laptop HP 2000: problem laptop GPU

    After the upgrade to Windows 10 a few days ago, I realized something.  Games and movies, I ran before the upgrade no longer well perfroming; FPS, decreased dramatically to the point were it makes games unplayable and very bad films.  After doing some

  • Cannot install HP Office Jet 6310 printer all in one

    I have windows 7 Home Premium and I am unable to reinstall my Office Jet after I factory restored my computer a virus. The ref system flags me to tell me that my system will not support this printer/scanner/fax. I need to Windows 98, Me, 2000 or XP.

  • Creative cloud for us who work in offline mode

    HelloWe (me and my team) are in need of a solution for the creative cloud pop-ups. We are working offline connection and need something to get rid of these pop-ups. Thank you.