How much undo/Redo will be generate ?

Dear Experts,
(Oracle 10gR2,Windows 2003 Server)
We are going to shink some segments(Recommended by Segment Advisor) with total allocated size around 500G (say 5 segments there ). As shrink space need huge amount of undo/redo space, could you please suggest me how to estimate undo/redo and/or temporary space requirement for this operation( Locally managed, ASSM).
Thanks&Regards
Sunil Kumar
Edited by: sunil kumar on 04-Apr-2011 02:24

sunil kumar wrote:
We are going to shink some segments(Recommended by Segment Advisor) with total allocated size around 500G (say 5 segments there ). As shrink space need huge amount of undo/redo space, could you please suggest me how to estimate undo/redo and/or temporary space requirement for this operation( Locally managed, ASSM).
Interesting question - and Aman has pointed you to a generic note I wrote about undo/redo space.
Off the top of my head I think I'd look at it like this:
Size of used space BEFORE shrink - predicted size of used space AFTER shrink = total size of rows moved
total size of rows move / average row length = total number of rows moved.
Then apply the comments in the note for each row, remembering that a "move" of a row is a delete/insert, and don't forget to allow for the indexes on the row. An remember that since the object is very large the cost of random reads of INDEX blocks may be the most signficant performance problem.
Regards
Jonathan Lewis

Similar Messages

  • How can i know how much undo a session is generating?

    Sometimes i have more undo that usual, and i need to know who is responsible of the undo generation.

    Nothing required .Are you sure?
    http://download-uk.oracle.com/docs/cd/B19306_01/license.102/b14199/options.htm#CIHHIGBI
    excerpt:
    "The Oracle Diagnostic Pack provides automatic performance diagnostic and advanced system monitoring functionality. The Diagnostic Pack includes the following features:
    Automatic Workload Repository
    In order to use the features listed above, you must purchase licenses for the Diagnostic Pack. The Diagnostics Pack functionality can be accessed by Enterprise Manager links as well as through the database server command-line APIs. The use of either interface requires a Diagnostic Pack license."
    http://download-uk.oracle.com/docs/cd/B19306_01/server.102/b14211/autostat.htm#i35169
    excerpt:
    "5.2.3 Automatic Workload Repository Views
    Typically, you would view the AWR data through Oracle Enterprise Manager screens or AWR reports. However, you can view the statistics with the following views:
    DBA_HIST views"
    Gints Plivna
    http://www.gplivna.eu

  • While running the query how much time it will taken, I want to see the time

    Hi Folks
    I would like to know ... While running the query how much time it will be taken, I want to see the time? in WEBI XI R2.....
    Plz let me know  the answer.......

    Hi Ravi,
    The time a report runs is estimated based on the last time it was run. So you need to run the report once before you can see how long it will take. Also it depends on several factors... the database server could cache some queries so running it a second time immediately after the first time could be quicker. And there is the chance of changing filters to bring back different sets of data.
    You could also schedule a report and then check the scheduled instance's status properties and view how long a report actually ran.
    Good luck

  • HT4623 I found an update ios6 in my iphone settings and then I tapped on  install ,but it is going on and nothing is displaying .Only apple logo is displaying  frequently.It has been happening  for 13 hours.my question is how much time it will take to upd

    Can anybody help in my concern below
    I found an update ios6 in my iphone settings and then I tapped on  install ,but it is going on and nothing is displaying .Only apple logo is displaying  frequently.It has been happening  for 13 hours.my question is how much time it will take to update ios

    Read this: iOS 4: Updating your device to iOS 5 or later
    ... oh I think it is a 3gs or a 3
    This makes a difference. What does it say in Settings > General > About?

  • How much UNDO does a query need?

    It seems that due to a gigantic delete, I am running out of UNDO. How can I see exactly how much undo a query needs?
    Searching on the web, I found this:
    select sq.sql_text sql_text, t.USED_UREC Records, t.USED_UBLK Blocks, (t.USED_UBLK*8192/1024) KBytes from v$transaction t,
    v$session s,
    v$sql sq
    where t.addr = s.taddr
    and s.sql_id = sq.sql_id
    and s.username = 'blah'
    , which is fine, but it seems to be returning results for only running queries. In other words, when the delete query I am investigating is executed, the above select returns no rows. Is there a way to modify it to return also queries that have been executed?
    Any help is welcome.
    Message was edited by:
    user622271

    Hi,
    It seems that you need to make an outer join between v$sql and v$session views [s.sql_id = sq.sql_id(+)] ... For more information is if this [url http://forums.oracle.com/forums/thread.jspa?messageID=1756927&#1756927]thread can help you.
    Cheers
    Legatti

  • PROMOTIONS: how to know how much the customer will save

    Hi again!
    I have a promotion set up of the type "buy this T-Shirt together with this Bag and save $99,99" and would like to show on the screen how much the costumer will save.
    Example: Buy this together: T-Shirt + Bag for $500 ( SAVE $30! )
    How can I calculate HOW MUCH the costumer will save should he buy those items together?
    So far I've been drifting around without luck... Tried classes like:
    - ItemPricingEngine
    - ItemDiscountCalculator
    - BulkItemDiscountCalculator / BulkItemDiscountCalculator
    Any guesses?
    thanks,
    lucas.
    Edited by: 881684 on Sep 22, 2011 9:31 AM
    Edited by: 881684 on Sep 22, 2011 9:32 AM
    Edited by: 881684 on Sep 22, 2011 9:32 AM

    You ll need to parse the pmdl rule of the promotion to get the required attributes out of it, and probably write a custom api to calculate that.
    For reference
    Re: Retrieval of Qualifier Quantity in Promotion
    So you ll need to get the qualifier, target and the adjuster and do a calculation in your api to show the savings.

  • HT5815 The most important piece of info about an update I need is how much data does it require. I am travelling and using prepaid data. I cannot even consider an update until I know how much data it will use. Please provide this information.

    The most important piece of info about an update I need is how much data does it require. I am travelling and using prepaid data. I cannot even consider an update until I know how much data it will use. Please provide this information.

    http://www.apple.com/feedback/macosx.html

  • How much money i will get, if i tell you a new bug in Firefox 8

    how much money i will get, if i tell you a new bug in Firefox 8, i found a new bug in Firefox 8, i tested this bug on chrome but their is no issue with this .

    About the only way you could get money is by reporting a serious or critical security vulnerability that has not been reported before.
    http://www.mozilla.org/security/bug-bounty.html
    http://www.mozilla.org/security/bug-bounty-faq.html

  • How much memory space will left in iphone 4 if i update it to ios 7?

    How much memory space will left in iphone 4 if i update it to ios 7?

    A little less than is left now.

  • I haven't done an update since 24.0 because my computer is running out of memory. How much MORE memory will I need to get up to version 28.0?

    I haven't done an update since 24.0 because my computer is running out of memory. How much MORE memory will I need to get up to version 28.0?
    My computer is really old.
    It is running out of memory.
    I haven't done a firefox update since 24.0 because I think it will explode my computer.
    I see that v28.0 takes 200MB.
    How much more is this than what is already loaded for my v24.0?
    Will it just add the extra pieces, or will it require a free block of 200MB (which my computer does not have)?
    I don't want to crash and lockup my computer because I try to install something that is too big for the remaining memory.
    Thanks.

    You should updated to Firefox 28, Firefox updates don't take any new space they just replace the existing files.
    There are some things you can do to clean up your hard drive to free up space however, http://arstechnica.com/civis/viewtopic.php?p=21178060 and http://support.microsoft.com/kb/956324, also uninstall programs you don't use anymore and delete files you don't need anymore.
    You should also start saving up for a new machine, Windows XP is being dropped from support by Microsoft in a few days, which means it will no longer be safe to use on the internet.

  • How much free space will be left after import ?

    Hallo. I need to replace all schemas on integration server using those on production server. I want to know how much free space will be left on /data at integration server after this kind of refresh. Both databases are Oracle 9 so I will use exp/imp. Here is how I do it. Could you check if I think good? On target server there is 72 GB free space on /data.
    Filesystem Size Used Avail Capacity Mounted
    /dev/vgsmxdata/lvsmxcopy 194.74G 122.56G 72.18G 63% /data
    Overall size of schemas to be exported from SOURCE_DB is 150 GB. The same schemas on TARGET_DB takes 90GB. So difference is 60GB. Free space in datafiles in TARGET_DB is 30GB. Does it mean that in first place the free space in datafiles will be filled and after that datafiles would be extended? That would mean that a database would extend to 150GB and free space on /data would be 40 GB after refresh. Am I right?
    SELECT 'TOTAL :'||SUM(ALLOCATED_MB),
    'USED :'||SUM(USED_MB) USED,
    'FREE :'||SUM(FREE_SPACE_MB)
    FROM (SELECT SUBSTR (df.NAME, 1, 40) file_name, df.bytes / 1024 / 1024 allocated_mb,
    ((df.bytes / 1024 / 1024) - NVL (SUM (dfs.bytes) / 1024 / 1024, 0)) used_mb,
    NVL (SUM (dfs.bytes) / 1024 / 1024, 0) free_space_mb
    FROM v$datafile df, dba_free_space dfs
    WHERE df.file# = dfs.file_id(+)
    GROUP BY dfs.file_id, df.NAME, df.file#, df.bytes
    ORDER BY file_name);
    SOURCE_DB@Server1
    TOTAL(MB) :170860.984375
    USED(MB) :152777.859375
    FREE(MB) :18083.125
    TARGET_DB@Server2
    TOTAL(MB) :121634,984375
    USED(MB) :92853,109375
    FREE(MB) :28781,875
    Edited by: Przemek P on Oct 9, 2012 10:48 AM

    Przemek P wrote:
    Hallo. I need to replace all schemas from one server to another. I want to know how much free space will be left on /data after this kind of refresh. Both servers are Oracle 9 so I will use exp/imp. Here is how I do it. Could you check if I think good? On target server there is 72 GB free space on /data.
    Filesystem Size Used Avail Capacity Mounted
    /dev/vgsmxdata/lvsmxcopy 194.74G 122.56G 72.18G 63% /data
    Overall size of schemas to be exported from SOURCE_DB is 150 GB. The same schemas on TARGET_DB takes 90GB. So difference is 60GB. Free space in datafiles in TARGET_DB is 30GB. Does it mean that in first place the free space in datafiles will be filled and after that datafiles would be extended? That would mean that a database would extend to 150GB and free space on /data would be 40 GB after refresh. Am I right?
    yes

  • I Have Logic 9. How much disk space will LP X add?

    Hi,
    just curious... I have LP 9 on my computer, and my disk is getting, well, fuller (250G or so left). How much disk space will be taken if install LP X next to LP 9? Am I correct that LP X will re-use the old libraries and just adds new content to it? Just curious how much my HD will shrink...
    For the time being, I want to keep LP9 alongside LP X for old projects with 32 bit plugins.
    Thnx, Jaap

    Well... I took the plunge... it seems that the additional content is around 20...25 GB.
    When I first installed LP X and opened one of my LP 9 projects, the instruments sounded like toy instruments. LP X obviously didn't "know" yet that the HQ samples were already on my harddisk. After I started downloading the additional content LP X apparantly checked what it needed, and suddenly my old projects sounded fine.
    Jaap

  • How much table space will be alloctaed per user

    hi all,
    when a user is created how much table space will be allocated by default per user the oracle server or is there any default size fixed by the dba.
    thanks and regards,
    sri ram.

    Untill the administrator doesn't specify QUOTA or grant UNLIMITED TABLESPACE to user Oracle account doesn't have available space in any tablespace, event in default:
    SQL> create user new_user identified by new_user
      2  default tablespace users;
    User created.
    SQL> grant create session, create table to new_user;
    Grant succeeded.
    SQL> conn new_user/new_user
    Connected.
    SQL> create table t(x int);
    create table t(x int)
    ERROR at line 1:
    ORA-01950: no privileges on tablespace 'USERS'
    SQL> conn / as sysdba
    Connected.
    SQL> alter user new_user quota 1M on users;
    User altered.
    SQL> conn new_user/new_user
    Connected.
    SQL> create table t(x int);
    Table created.

  • How can you tell how much space is being used up by your iTunes...I am trying to figure out how much space I will need to transfer my iTunes library to an iPod and which iPod to select?

    How can you tell how much space is being used up by your iTunes...I am trying to figure out how much space I will need to transfer my iTunes library to an iPod and which iPod to select?

    Start up iTunes, and select Music, then click Songs.
    Down at the bottom of the iTunes window, it will tell you how much space your library occupies.

  • How much video time will a 32gb ipad air record? (in 1080p)

    How much video time will a 32gb ipad air record? (in 1080p)

    At 1080p About 4 hours worth of video.

Maybe you are looking for

  • Type PO by item in Sourcing Cockpit (new field)

    Hi Dear Experts, I need your help again. I`m working with extended classic scenario (SRM 5.0 and R/3 4.7) I have a big issue in my process: I need to choose the type of PO by item in sourcing cockpig, but that needs to be done manually by the user, b

  • How to make PAN field as mandatory in vendor master

    Hi, In second screen of xk01one application toolbar named CIN details is there. In CIN details->withholding tax tab PAN filed is there. I want to make this field as mandatory. How can i do that. please please help me.

  • AS3 loading multiple legacy AS2 accessing _level0..2

    I am building a Flex application that loads other Flex and Flash applications. The problem comes in with the legacy Flash applications, there are explicit references to _level0, 1, & 2 throughout the code base. Historically, the Flash application has

  • Import Mailbox Missing Some Messages

    Hi, I am trying to move my local mailboxes in Mail from a Macbook Pro with OSX 10.5 to a Macbook Pro with OSX 10.7.  I backed up each mailbox on the old computer using Mailbox > Archive Mailbox within Mail.  I then copied those files from the old com

  • Funny reactions to bugs in tpsvrdone (strange Tuxedo behaviour)

    *** SAMPLE *** Try the following funny experiment: 1) Write the tuxedo server which in tpsvrdone crashes somehow. Something like extern "C" void tpsvrdone() char *c = 0; // Let's dump core... *c = 'a'; 2) Boot this server (and specify in tuxconfig RE