UNDO Tablespace size

Hello

We have a production database with size 120 GB (DB Version 11.1.0.6), and our UNDO Tablespace size is 30 GB.

For the last 4 days, the use of UNDO tablespace is more than 85%.

We have disabled the AUTOEXTEND for the UNDO Tablespace.

So that the UNDO RETENTION is calculated dynamically by Oracle itself and the value is now

TUNED_UNDORETENTION
-------------------------------------
339183

Please suggest how to solve this problem.

Thank you!

Salvation;

Please see:
New feature in Oracle 10 G - cancel retention Auto Tuning [311615.1 ID]

Respect of
HELIOS

Tags: Database

Similar Questions

  • How to UNDO tablespace size?

    As legend. Thank you!

    An UNDO tablespace sizing requires three data items.

    (UR) UNDO_RETENTION in seconds
    (UPS) Number of undo the blocks of data generated per second
    (DBS) Overhead varies on position and size of the file (db_block_size)

    The necessary cancellation space is calculated as:

    UndoSpace = HEART * (UPS * DBS)

    read the Doc ID 262066.1 it has retail formula.

  • Undo tablespace in oracle 10g

    Hi all;

    Hello!

    I'm confused about undo tablespace size.

    Under query showing my undo tablespace size is 120Mo.

    but DBA_TABLESPACE_USAGE_METRICS view showing the undo tablespace size is 4194302

    > > Check free space

    SQ > select t.tablespace, t.totalspace as ' TOTAL_SPACE (MB).

    round ((t.totalspace-fs.freespace), 2) as "USED_SPACE (MB)",
    FS. FreeSpace as "FREE_SPACE (MB).
    round (((t.totalspace-fs.freespace) /t.totalspace) * 100, 2) like "% used (s),"
    round ((fs.freespace/t.totalspace) * 100, 2) as "% free" of
    (select round (sum (d.bytes) /(1024 * 1024)) as totalspace,)
    tablespace dba_data_files d.tablespace_name d
    Group d.tablespace_name) t,.
    (select round (sum (f.bytes) /(1024 * 1024)) as freespace,)
    tablespace dba_free_space f.tablespace_name f
    Group of f.tablespace_name)
    FS where t.tablespace = fs.tablespace order of t.tablespace.


    TABLESPACE TOTAL_SPACE (MB) USED_SPACE (MB) FREE_SPACE (MB) % used free %

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

    EXAMPLE                                    100             68             32         68         32

    240 230 10 SYSAUX 95,83 4.17

    480 475 5 98.96 SYSTEM 1.04

    UNDOTBS1                                   120            120              0        100          0

    1005 75 930 USERS 7.46 92.54

    SQL > select * from dba_tablespace_usage_metrics, where nom_tablespace like '% UNDO;

    NOM_TABLESPACE USED_SPACE TABLESPACE_SIZE USED_PERCENT

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

    UNDOTBS1                              440        4194302 .010490422

    This is because:

    Tablespace_size in DBA_TABLESPACE_USAGE_METRICS takes the maximum file size for CanGrow tablespace that matches maxblocks in dba_data_files.

    This is not the same value you can get from dba_data_files.

    DBA_TABLESPACE_USAGE_METRICS shows essentially the maximum size to which a data file can grow. And DBA_DATA_FILES (+ DBA_FREE_SPACE) the current size of the tablespace.

    Watch more document MOS (My Oracle Support):

    Difference in size of dba_data_files Tablespace and dba_tablespace_usage_metrics/V values $ Filespace_usage (Doc ID 455715.1)

  • MAX limit for segment undo undo tablespace

    Hello Experts;

    Where tick No, max of segments of cancellation in the Oracle database?
    Is limited and depends on the SIZE of the DB or UNDO tablespace size?
    Thanks in advance...

    969352 wrote:
    What?

    dba_data_files - I thought that from here we can not get undo_segments County!

    not serious... Thank you...

    You started this thread, ask questions about the size of UNDO limit; which is a direct function of DBA_DATA_FILES.

    Then you changed question about County segment UNDO. which is a direct function of DBA_SEGMENTS.

    so take your decisions about what question should be answered.

  • Undo tablespace recreation

    Hi all

    I use oracle 9i running in solaris 9.I having a called undotbs1 undo tablespace that is size approximately 8.5 GB and

    the UNDO_RETENTION setting * 10800 * I want to reduce to 2000 and I want to create a tablespace, undo size about 3 GB and the value in the default undo for the database tablespace.

    change the system undo_retention = 2000 scope = both set
    create the undo tablespace undotbs2 datafile 'posted' size 3 G
    ALTER system set undo_tablespace = undotbs2 scope = both

    Drop tablespace undotbs1 including content and data files

    Is there a problem if I... I ask because my current undo tablespace size is 8.5 GB?

    Thanks and greetings
    Yvon Das

    >
    change the system undo_retention = 2000 scope = both set
    create the undo tablespace undotbs2 datafile 'posted' size 3 G
    ALTER system set undo_tablespace = undotbs2 scope = both

    Drop tablespace undotbs1 including content and data files

    Is there a problem if I... I ask because my current undo tablespace size is 8.5 GB?
    >
    It won't be a problem, but you must change a step you gave.
    After the ALTER SYSTEM you will not be able to drop the old table space until it disconnects.

    Display deleted mosaic then you will need to have two tablespaces to cancel online and that means a sufficient for both disk space.
    >
    The database is online, while the switch operation is performed and user transactions can be executed while this command is running. When the switch operation completes successfully, all transactions started after the beginning of the switching operation are assigned to the transaction tables in the tablespace new undo.

    The switch operation does not wait for transactions in the old undo tablespace to commit. If there is any pending transactions in the old undo tablespace, the old undo tablespace concludes an offline pending (status). In this mode, existing transactions can continue to run, but undo records for new user transactions cannot be stored in this undo tablespace.

    An undo tablespace can exist in this pending offline mode, even after the switch operation. A cancellation pending offline tablespace cannot used by another instance, nor can it be moved. Finally, after all the active transactions have committed, the undo tablespace automatically goes to offline mode offline pending
    >

    See switching Undo tablespace in the Guide DBA 9i
    http://docs.Oracle.com/CD/B10501_01/server.920/a96521/undo.htm#9117

  • UNDO tablespace fills

    My undo tablespace fills due to no deletions by the jdbc thin client sessions.
    How can I solve this problem permanently?

    The undo tablespace size is 5.5 GB

    I am facing a complete problem of the undo tablespace
    Here are the sessions that may be causing the problem.


    Select s.sid,
    s.Serial #.
    s.sql_id,
    s.prev_sql_id,
    s.SCHEMANAME,
    s.OSUSER,
    s.Program,
    USED_UBLK, USED_UREC from v$ session s, v$ transaction t where order of s.taddr = USED_UREC t.addr;

    3909 30842 fgcp0qn1bqzx9 XLTDB5 xltwrk5 JDBC Thin Client 504 45257
    5133 53593 fgcp0qn1bqzx9 XLTDB5 xltwrk5 JDBC Thin Client 07 54482
    4525 35108 fgcp0qn1bqzx9 XLTDB10 xltwrk10 JDBC Thin Client 2381 192853
    4428 38484 fgcp0qn1bqzx9 XLTDB1 xltwrk1 JDBC Thin Client 8682 634540


    For this sql id: fgcp0qn1bqzx9 there are more than 14 executions k / hour.

    This is the query for this sql id:
    / * TJAPI_SubTrxTransient_deleteTrb1SubTrxTransient_0 * / REMOVE FROM TRB1_SUB_TRX_TRANSIENT

    Some other details
    ++++++++++++
    Oravle version: 11.1.0.7
    OS: SunOS
    ++++++++++++

    Details of the message from the database pl and OS versions. From 10 g 2, cancellation will still appear to be 'full' - which is normal.

    Doc 413732.1 - Full UNDO Tablespace in 10gr 2 MOS

    HTH
    Srini

  • It will frequently commit resolve ora-30036 (cannot extend the undo tablespace)

    I use 11.2.0.3 database. I confused on the use of validation to resolve ora-30036.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace) .

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    We would commit determination ORA-30036 in my case? If not why? Is there a better solution to solve it.


    When I say commit frequent, I won't commit after each line, I just want to commit after may be million lines, so that my active cancellation extend turn into cancellation remaining will extend and Oracle will be able to use it in case of pressure of space.


    Note:

    UNDO_MANAGEMENT: AUTO

    UNDO_RETENTION: 2700

    Undo tablespace retention is NOGAURANTEE.

    I have the script in migration once that has many updates and I'm getting ORA-30036 (unable to extend segment by 4 in the "UNDOTBS" undo tablespace).

    Our undo tablespace in NO mode autoextend and like this is just a one time event, we will not increase it.   He is currently 6 GB.

    Why don't you increase it?

    You must use the correct size of UNDO necessary for the work that will be done.

    A lot of shops to create a for big lots new UNDO tablespace and then switch to it for batch processing. Once the task is completed, they switch back to the normal UNDO. That prevents the normal RETURN of autoextending far where it is normally necessary:

    ALTER SYSTEM SET UNDO_TABLESPACE

  • 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

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

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

  • Undo tablespace increasing

    Hello

    my version of the database is 11.2.0.1.0

    My undo tablespace was approximately 36 GB and 4 GB was about free.

    But now the size decreases and it is falling fast. What I would do. I increased it by another 2 GB. How to monitor it so that I can capture it without resizing again.
    Please guide me.

    Thanks in advance.

    to understand correctly read
    http://blog.oracle48.nl/Oracle-database-undo-space-explained/

  • Undo tablespace continues to grow

    Hello
    My undotbs grows to 14g (even if I have my undotbs actul size 9g) I try to resize the data files, but
    This may not work.

    So, I guess for this task

    >
    -Create a new as undo tablespace:
    SQL > create undo tablespace UNDOTBS2 datafile "< full file path >" size < small >;

    -Change the parameter UNDO_TABLESPACE
    SQL > alter system set UNDO_TABLESPACE = UNDOTBS2;

    -Remove UNDOTBS1
    SQL > drop tablespace UNDOTBS1 including content and data files; >

    but my question is, is he worthy of delete the undotbs1 whose having a lot of data and if I deleted
    These data (undotablespace), I won't be able to completely recover?

    db_version:10.2.0 (Linux)

    There is procedure to drop undo tablespace. If you already increase first then I suggest you to study why his is growing? Check with developers, to monitor the database

  • How craete undo tablespace mode standby

    Hello

    How craete undo tablespace physical standby.

    My version of oracle: 11.2.0.2 on RHEL 5. 6

    951368 wrote:
    Sorry... I should have been clearer...

    The question I have is: my first is a node 3 CARS and I created the same 3 physical standby node, now we had a 4th node on our Eve, Eve allowed me to add all the parameters required as instance cluster #, thread # 4th node, but I was arrested to the creation of a for node 4 undo tablespace. What is the procedure? do I need to create primary or is there a way I can create directly to standby?

    Thank you

    Hello

    So, you have 3 primary nodes and I wanted to add 4th node on hold?

    Create tablespace undo 4th primary help
    SQL > create undo tablespace "undotbs4" data file 'xxxxx' size xxxx;

    The primary will not affect this cancellation as any instances should be pointing to this new cancellation.

    In the day before on the node 4 set "undo_tablespace" at undotbs4.

    See you soon

  • 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

  • extending undo tablespace

    Hello world!

    I used this sql to check the status of my storage space.
    SELECT /* + RULE */  df.tablespace_name "Tablespace",
           df.bytes / (1024 * 1024) "Size (MB)",
           SUM(fs.bytes) / (1024 * 1024) "Free (MB)",
           Nvl(Round(SUM(fs.bytes) * 100 / df.bytes),1) "% Free",
           Round((df.bytes - SUM(fs.bytes)) * 100 / df.bytes) "% Used"
      FROM dba_free_space fs,
           (SELECT tablespace_name,SUM(bytes) bytes
              FROM dba_data_files
             GROUP BY tablespace_name) df
     WHERE fs.tablespace_name (+)  = df.tablespace_name
     GROUP BY df.tablespace_name,df.bytes
    UNION ALL
    SELECT /* + RULE */ df.tablespace_name tspace,
           fs.bytes / (1024 * 1024),
           SUM(df.bytes_free) / (1024 * 1024),
           Nvl(Round((SUM(fs.bytes) - df.bytes_used) * 100 / fs.bytes), 1),
           Round((SUM(fs.bytes) - df.bytes_free) * 100 / fs.bytes)
      FROM dba_temp_files fs,
           (SELECT tablespace_name,bytes_free,bytes_used
              FROM v$temp_space_header
             GROUP BY tablespace_name,bytes_free,bytes_used) df
     WHERE fs.tablespace_name (+)  = df.tablespace_name
     GROUP BY df.tablespace_name,fs.bytes,df.bytes_free,df.bytes_used
    ORDER BY 4 DESC;
    It shows that my undo tablespace has only 3% of space left.

    I simply run this SQL command, but the result is always the same.
    SQL> alter database datafile 'c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO.DBF' autoextend on maxsize 50M;
    
    Database altered.
    I mistakenly thought that the size of the existing file is less than 50 M.

    But then, realized the unused (3%) is 50 M.

    How can I increase the size of the file now.

    Please guide me.

    The command that I published will have a negative impact?

    Thanks in advance.

    Nith

    Hello

    What is your current undo tablespace now?
    You can use the ALTER DATABASE statement. DATAFILE statement to resize or extend a data file
    you issue this:

    SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on maxsize 50 M;

    If it stops when it reaches 50 m.

    You can try below:

    SQL > alter database datafile ' c:\ORACLE\DATA\PRODUCTION\DATAFILE\O1_MF_UNDO. DBF' autoextend on next 1 m maxsize unlimited;

    You must set the maxsize value according to your availability of storage.

    BR,
    mrak

Maybe you are looking for

  • obsolete Firefox WARNING flash even if display is not

    When I visit the pages with flash content, it tells me that flash is out of date in the top bar of warning then I click on "check for updates" firefox thingy but when checking for plugin, it tells me that adobe flash IS already up to date What is goi

  • Color of icons on the sidebar in el capitan

    How do you get the color icons in the sidebar in El Capitan? The greys are unnecessary. It is very difficult to distinguish between them without color. They are too small, too consistent and too gray.

  • USB-6211

    Hi, recently, I ordered the DAQ USB 6211, I wonder how do I connect a quadrature encoder to the DAQ meter, I would like to only use a single meter, pin 1-4, my encoder has two channels only, CH A and CH B. Best regards;Jamal

  • slowdown of acquisition (includes simulation)

    I use a NOR-5124 to acquisition of data in burst mode.  I noticed that it slows down considerably over time.  I deleted the main parts of the code, its replacement by the simulated for acquiring data and the slowdown is still involved.  I am running

  • WRT54G not able to save the changes

    Hello For some time I had to reset it to get back on the net is sometimes it and the modem so that it connects. I went and turned off my wireless a few week ago and it worked, now if I open the web page and make a change and click Save it hang to the