Average daily database growth

Hi All,
How can I find the average daily growth of a database for the last one year?
Database version:11.2.0.2
OS:HP-UX

We generally use this query in our environment - Try this
select tsname as "Tablespace", 
       tsize as "Curr Size(Mb)",
       tused as "Used (Mb)",
       tfree as "Free (Mb)",
       TMax as "Max Size (Mb)",
       val1 as "Delta 1hr",
       val2 as "Delta 1dy",
       val3 as "Delta 1wk",
       val4 as "Delta 1mnt",
       round((tused / tMax)*100,2) as "%Used of Max",
       round(((tused+val3) / tMax)*100,2) as "%UsedMax_+1wk",
       round(((tused+val4) / tMax)*100,2) as "%UsedMax_+1mnt",       
case when ( (   (tused+val3)/tMax)*100 < 80) then 'NORMAL'
     when ( (   (tused+val3)/tMax)*100 between 80 and 90) then 'WARNING'
else 'CRITICAL' end "Status +1Wk",
case when ( (   (tused+val4)/tMax)*100 < 80) then 'NORMAL'
     when ( (   (tused+val4)/tMax)*100 between 80 and 90) then 'WARNING'
else 'CRITICAL' end "Status +1Mnth"    
from
select tsname,
round(tablespace_size*t2.block_size/ 1024/1024,2) TSize,
round(tablespace_usedsize*t2.block_size/1024/1024,2) TUsed,
round((tablespace_size-tablespace_usedsize)*t2.block_size/1024/1024,2) TFree,
(select sum(decode(b.autoextensible,'YES',b.maxbytes, b.bytes))/1024/1024
  from dba_data_files b
  where b.tablespace_name = t2.tablespace_name
  group by b.tablespace_name) TMax,
round(val1*t2.block_size/1024/1024,2) val1,
round(val2*t2.block_size/1024/1024,2) val2,
round(val3*t2.block_size/1024/1024,2) val3,
round(val4*t2.block_size/1024/1024,2) val4
from
(select distinct tsname,
t1.snap_id,
rtime,
tablespace_size,
tablespace_usedsize,
tablespace_usedsize-first_value(tablespace_usedsize) 
over (partition by tablespace_id order by t1.snap_id rows 1 preceding) val1,
tablespace_usedsize-first_value(tablespace_usedsize) 
over (partition by tablespace_id order by t1.snap_id rows 24 preceding) val2,
tablespace_usedsize-first_value(tablespace_usedsize) 
over (partition by tablespace_id order by t1.snap_id rows 168 preceding) val3,
tablespace_usedsize-first_value(tablespace_usedsize) 
over (partition by tablespace_id order by t1.snap_id rows 720 preceding) val4
from (select t1.tablespace_size, t1.snap_id, t1.rtime,t1.tablespace_id, 
             t1.tablespace_usedsize-nvl(t3.space,0) tablespace_usedsize
     from dba_hist_tbspc_space_usage t1,
          dba_hist_tablespace_stat t2,
          (select ts_name,sum(space) space 
           from recyclebin group by ts_name) t3
     where t1.tablespace_id = t2.ts#
      and  t1.snap_id = t2.snap_id
      and  t2.tsname = t3.ts_name (+)) t1,
dba_hist_tablespace_stat t2
where t1.tablespace_id = t2.ts#
and t1.snap_id = t2.snap_id) t1,
dba_tablespaces t2
where t1.tsname = t2.tablespace_name
and t1.snap_id = (select max(snap_id) from dba_hist_snapshot)
and t2.contents = 'PERMANENT');

Similar Messages

  • How to determine database growth for new B1 instalation

    Hello B1 people,
    I'm working on the capacity planning of my new business one project and must know how to determine database growth. Does anyone did something like that before?
    Wich tables should I consider?
    Thanks in advance.

    Hello Gabriel,
    I think it is difficult to make any predictions about database growth because this depends on the volume of your business transactions, the number of users, the continuity of your master data...
    For example a small number of users can create a lot of transactions (accounting, logistics) with big documents like sales orders with more than 100 items, or a lot of users who primarily look up things but only create small transaction won't create too much data and thus influence database growth in totally different ways.
    You should collect information about the volume of daily business to make any forecasts.
    If you start with an empty database, the first big growth will be when you upload your master data, but if only few business transactions follow, you shouldn't use that first increase for your calculation.
    Is this your very first B1 installation, or do you already have B1 systems running? If you use the EWA service on a running B1 installation on a regular basis, then you will get a good impression of database growth and transaction volume but you should only use this as a basis for your calculation if the business of the new installation is similar to already running company's.
    Hope that helps,
    Sandra

  • Scripts To Check Database Growth in Oracle 10g

    Hi All,
    I need your help developing a script to find out the database growth in Oracle 10G on daily, weekly and monthly basis.
    In our production database tablespace growth is huge and we are adding data files frequently. Management is asking about the database growth report and I need to present it. Is there any such script which will suffice the purpose.
    My database version is 10.2.0.5.
    Please help.
    Regards,
    Arijit

    1000103 wrote:
    Hi All,
    I need your help developing a script to find out the database growth in Oracle 10G on daily, weekly and monthly basis.
    In our production database tablespace growth is huge and we are adding data files frequently. Management is asking about the database growth report and I need to present it. Is there any such script which will suffice the purpose.
    only the report that you create
    How do I ask a question on the forums?
    SQL and PL/SQL FAQ

  • Huge database Growth

    Hello Guys,
    We have been observing very huge database growth in PRD environment.
    We have to add atleast 25GB datafile weekly to TS PSAPSR3.
    I had a look at DB02 for TOP SIZES and TOP GROWTH.
    Owner     Name     Partition     Type     Tablespace     Size(MB)     Chg.Size/day     #Extents     #Blocks     Next Extent(MB)
    SAPSR3     LIPS          TABLE     PSAPSR3     21367.000     364.433     520     2734976     2.500
    SAPSR3     BSIS          TABLE     PSAPSR3     16460.000     277.667     442     2106880     10.000
    SAPSR3     CE11000          TABLE     PSAPSR3     16360.000     262.500     441     2094080     10.000
    SAPSR3     VBFA          TABLE     PSAPSR3     15402.000     265.133     425     1971456     10.000
    SAPSR3     GLPCA          TABLE     PSAPSR3     15171.000     259.867     425     1941888     10.000
    SAPSR3     FAGLFLEXA          TABLE     PSAPSR3     13738.000     232.667     399     1758464     10.000
    SAPSR3     ACCTIT          TABLE     PSAPSR3     12788.000     215.067     384     1636864     10.000
    SAPSR3     ARFCSDATA          TABLE     PSAPSR3     12350.000     410.400     380     1580800     2.500
    SAPSR3     RFBLG          TABLE     PSAPSR3     11433.000     194.667     363     1463424     2.500
    SAPSR3     CE41000_ACCT          TABLE     PSAPSR3     11177.000     184.000     360     1430656     10.000
    SAPSR3     VBAP          TABLE     PSAPSR3     9663.000     156.433     336     1236864     10.000
    SAPSR3     VBRP          TABLE     PSAPSR3     8308.000     140.800     313     1063424     2.500
    SAPSR3     FAGL_SPLINFO          TABLE     PSAPSR3     7960.000     135.200     308     1018880     20.000
    SAPSR3     MSEG          TABLE     PSAPSR3     7936.000     134.400     307     1015808     10.000
    SAPSR3     BSIS~0          INDEX     PSAPSR3     7488.000     132.267     300     958464     2.500
    SAPSR3     VBFA~0          INDEX     PSAPSR3     7304.000     123.533     299     934912     2.500
    SAPSR3     DBTABLOG          TABLE     PSAPSR3     7303.000     83.200     300     934784     10.000
    SAPSR3     COEP          TABLE     PSAPSR3     6991.000     119.467     293     894848     10.000
    SAPSR3     CE41000          TABLE     PSAPSR3     6144.000     91.733     279     786432     10.000
    SAPSR3     FAGLFLEXA~3          INDEX     PSAPSR3     6028.000     104.533     278     771584     2.500
    SAPSR3     FAGL_SPLINFO_VAL~0          INDEX     PSAPSR3     5702.000     98.133     273     729856     2.500
    SAPSR3     FAGLFLEXA~0          INDEX     PSAPSR3     5568.000     98.133     270     712704     2.500
    We have daily sales order of around 12000.
    I want to know why it growing at such alarming pace or atleast find the Transactions which are causing huge inserts and updates.
    Regards
    Abhishek

    Hi Abhishek,
    In addition to the above, a very interesting area to work upon periodically is Data Volume Management.
    SAP has released 6.3 version of this guide.
    Click on this link
    https://websmp101.sap-ag.de/~sapidb/011000358700005044382000E
    This guide covers almost all tables which have considerable data growth and what preventive actions can be taken to keep the total database size under control. Basically, this guide covers, Prevention, Aggregation, Deletion, Archiving areas.
    Coupled with the guide's recommendations with good space management activities like table reorgs would definitely keep the system away from performance issues due to database size.
    This is an on-going project at some customer places.
    Br,
    Venky

  • Reg: DB2 Database growth

    Dear Friends,
    I want how do show database growth daily wise and monthly wise and Module wise?
    Like
    MM, FICO, SD, PP, QM and etc.
    How do i show DB growth? wheather any standard reports are there in SAP?
    Regards
    kesav

    > I want how do show database growth daily wise and monthly wise and Module wise?
    The "module wise" is very difficult to archive. To what would you relate a material master data? MM? SD?
    > How do i show DB growth? wheather any standard reports are there in SAP?
    Check transaction DBACOCKPIT.
    Markus

  • Acrobat Pro 6 Average Daily Production and Math.round problem

    Acrobat Pro 6 Average Daily Production and Math.round problem
    (Production.0) (154) (whole units) . (Production.1) (90) (fractional) / (divided by) 31 (days) results in (Average.0) (4)(whole units) . (Average.1) (10) (fractional) using :Math.round.� Noticed that 154 (whole units) . 85 through 99 (fractional) also show 4.10. (without Math.round : 5.00)
    Method:
    �Production.0� (whole units) . �Production .1� (fractional) / Days = (Average Daily Production) (�Average.0� (whole units) . (Average.1) (fractional)
    � Production.0 (value not calculated)�, � Production 1 (calculated) (event.value = util.printx("0099", (event.value)).substr(-2,2); � �Average.0 (value not calculate)�, and �Average.1 has following calculation:
    var punits = this.getField("Production.0");
    var pfrac = this.getField("Production.1");
    var average = 0.0;
    average = (punits.value + pfrac.value / 100) / this.getField("Days").value;
    this.getField("Average.0").value = average - average % 1;
    this.getField("Average.1").value = util.printx("0099", Math.round((average % 1 * 100))).substr(-2,2);
    �Math.round� appears to be a problem. Also, could you explain the purpose of �0099� . Anyway, why would 154.85 through 154.90 divided by 31 give 4,10. Also, their must be a better way, to find the average daily production. All you have to do is divided the production (whole. fractional) by the days, and display the average daily production as (whole. fractional). Any suggestions??

    There are a many loose ends in your question.
    First, I have never seen before a variable type called 'var'. Is it a java primitive or a class?
    Next, I cannot seem to find any class that has the printx method.
    When it comes to substr(-2,2), I get confused. First, I thought that it was a method of the String class, but I only got as far as substring(beginIndex, endIndex).
    If you really must break the production and average into pieces, try this:
    float average = (punits + pfrac/100) / days;
    int avg_units = (int)average;
    int avg_frac = (int)( (average - avg_units) * 100 );My guess is that util.printx("0099", x) formats x having two optional digits and two mandatory digits, showing 0-99 as 00-99, but allows to show numbers with three and four digits.
    154.85/31 = 4,9951612903225806451612903225806
    154.99/31= 4,9996774193548387096774193548387
    If you round the fraction of theese numbers multiplied by 100 ( = 99.51.. and 99.968...) you get 100, and this will be the output of printx. My guess for "4.10" is that substr(-2,2) returns the two first characters of the string, because the start index should not be zero. (According to java docs, substring throws an exception on a negative index, so what kind of class are you really using ??????)

  • Average Daily Balance Report

    Hi Guru,
    My SAP version is 4.5B. I would like to check is there any standard SAP program I can use to generate Average Daily Balance(ADB) in this version ?
    Hope to hear from you.
    Regards
    Andrew Tay

    Hi,
    Average Daily Balance Report is not available in SAP standard. If you want to create one more new report then
    create a Function Specification for the selection screen and output screen. Collect all the fields details with table name and mention the logic of the report and give it to ABAPER so that he/she can write a Technical Specification on the basis of
    your Functional Specification.
    Thanks & Regards
    R.K

  • How to monitor the database growth?

    Dear All,
    How to monitor the database growth in SAP.
    Is there any t.code available to check the same.
    advance thanks,
    Sundar  C
    Note: suitable answers will get maximum reward points.

    Hai,
          You can check the database growth using tcode -db02.
    and also use tcode-db02old(if the SAP is Netweaver2004s version)  and click on space statistics for monitoring the datbase growth,
    Thanks and Regards,

  • Daily database backup runnig on RAC 10.2.0.3 with two Solaris nodes & ASM

    Hello,
    I'm confused about making daily incremental RMAN backup of a database runnig on Oracle RAC 10.2.0.3 on two Solaris nodes and ASM.
    Databases cannot be stopped for backup and point in time recovery is needed.
    Please correct me if I am doing wrong:
    1) Backup must be Weekly database Level 0 and Daily database Level 1 is appropriate.
    2) Is best to use a Flash Recovery Area (FRA) - I've setup one on a separate ASM volume. I have enough space to do the backup on FRA.
    3) I am confused about the number channels I need to use. Do I need to use separate RMAN backup channels for each node or I can just leave the default:
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    4) Below are the RMAN scripts I plan to use for
    - Weekly database backup Level 0:
    #!/usr/bin/ksh
    echo BACKUP FULL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup incremental level 0 database TAG bkp_level0_200906010;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    - Daily database backup Level 1:
    #!/usr/bin/ksh
    echo BACKUP INCREMENTAL: $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append
    $ORACLE_HOME/bin/rman target / nocatalog log ${LOGFILE} append << eof
    run {
    backup incremental level 1 database TAG bkp_level1_20090611;
    SQL 'alter system archive log current';
    backup archivelog all;
    delete noprompt obsolete;
    exit;
    eof
    I'm I doing things wrong?

    Show also the parameter I have set for RMAN:
    node1:oracle$ rman target /
    Recovery Manager: Release 10.2.0.3.0 - Production on Tue Jun 9 23:46:05 2009
    connected to target database: ORCL (DBID=1198388159)
    RMAN> show all;
    RMAN configuration parameters are:
    CONFIGURE RETENTION POLICY TO REDUNDANCY 7;
    CONFIGURE BACKUP OPTIMIZATION ON;
    CONFIGURE DEFAULT DEVICE TYPE TO DISK; # default
    CONFIGURE CONTROLFILE AUTOBACKUP ON;
    CONFIGURE CONTROLFILE AUTOBACKUP FORMAT FOR DEVICE TYPE DISK TO '%F'; # default
    CONFIGURE DEVICE TYPE DISK PARALLELISM 1 BACKUP TYPE TO BACKUPSET; # default
    CONFIGURE DATAFILE BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE ARCHIVELOG BACKUP COPIES FOR DEVICE TYPE DISK TO 1; # default
    CONFIGURE MAXSETSIZE TO UNLIMITED; # default
    CONFIGURE ENCRYPTION FOR DATABASE OFF; # default
    CONFIGURE ENCRYPTION ALGORITHM 'AES128'; # default
    CONFIGURE ARCHIVELOG DELETION POLICY TO NONE; # default
    CONFIGURE SNAPSHOT CONTROLFILE NAME TO '/u01/oracle/product/10gr2/db/dbs/snapcf_orcl1.f'; # default
    Showing some instance parameters on node1:
    SQL> show parameter recovery;
    NAME                                 TYPE        VALUE
    db_recovery_file_dest                string      DGFRA+
    db_recovery_file_dest_size           big integer 300G
    recovery_parallelism                 integer     0
    SQL> show parameter archive;
    NAME                                 TYPE        VALUE
    archive_lag_target                   integer     0
    log_archive_config                   string
    log_archive_dest                     string
    log_archive_dest_1                   string
    log_archive_dest_10                  string      location=use_db_recovery_file_
    dest
    log_archive_dest_2                   string
    log_archive_dest_3                   string
    log_archive_dest_4                   string
    log_archive_dest_5                   string
    log_archive_dest_6                   string
    NAME                                 TYPE        VALUE
    log_archive_dest_7                   string
    log_archive_dest_8                   string
    log_archive_dest_9                   string
    log_archive_dest_state_1             string      enable
    log_archive_dest_state_10            string      enable
    log_archive_dest_state_2             string      enable
    log_archive_dest_state_3             string      enable
    log_archive_dest_state_4             string      enable
    log_archive_dest_state_5             string      enable
    log_archive_dest_state_6             string      enable
    log_archive_dest_state_7             string      enable
    NAME                                 TYPE        VALUE
    log_archive_dest_state_8             string      enable
    log_archive_dest_state_9             string      enable
    log_archive_duplex_dest              string
    log_archive_format                   string      %t_%s_%r.dbf
    log_archive_local_first              boolean     TRUE
    log_archive_max_processes            integer     2
    log_archive_min_succeed_dest         integer     1
    log_archive_start                    boolean     FALSE
    log_archive_trace                    integer     0
    remote_archive_enable                string      true
    standby_archive_dest                 string      ?/dbs/arch

  • Average daily requirements in MD04

    Hi gurus,
    Can anybody please help me in understanding in how the system is calcualting the average daily requirements for the following settings of the coverage profile.
    Period indicator - Weeks (W)
    Number of periods - 12
    Type of period length - 1 (work days -factory calendar)
    Range of coverage in the first period:
    Min - 17, Target - 20, Max - 30.
    and rest of all the fields are empty in the coverage profile and also there for some materials which have this coverage profile attached have the service level at 99.9% on the materila master, I do not know if this informaiton might help us in debugging the calculation.
    Now here 17, 20 and 30 do they mean days or weeks?
    The requiremetns for the next 12 weeks are as follows (including this week)
    W 50/2010 (this week ends today) - 4360
    W 51/2010 (week of 20dec - only working days as per factory calendar are, 20, 21 and 22)-1248
    W 52/2010 (no requiremetns) - 0
    W 01/2011 - 2354
    W 02/2011 - 1542
    W 03/2011 - 5038
    W 04/2011 - 1520
    W 05/2011 - 4000
    W 06/2011 - 1856
    W 07/2011 - 2950
    W 08/2011 - 3150
    W 09/2011 - 5110
    W 10/2011 - 2550
    But the system is coming up with average daily requirements as follows in the same order as above
    W 50/2010 - 676.082
    W 51/2010 - 590.906
    W 01/2011 - 578.033
    W 02/2011 - 600.400
    W 03/2011 - 617.367
    W 04/2011 - 586.200
    W 05/211 - 607.467
    W 06/2011 - 588.475
    W 07/2011 - 594.441
    W 08/2011 - 576.983
    W 09/2011 - 569.356
    W 10/2011 - 513.288
    There are no holidays in the year 2011 weeks except saturday and sunday. Which are already accounted for in the calendar. Replies are greatly appreciated. PLease help and exaplain how the system is coming with abvoe average daily reqs in MD04
    Thanks
    Anusha

    Average daily requirements
    since you have given weeks it will first sum the next 12 weeks requirements.
    Now next it will calculate how many days are there in the next 12 weeks based on  your Type of per lenght and day per period setting as per your range of coverage profile.( Config OMiA)
    Now system will do the maths ( total requirements/Total days) - which will give you the per day average daily requirement .
    This is how the system calculates.
    Once it calcuates this then based on the number of days of stock you need to maintain it will increase the stock at the end of the period.
    kindly check with the above and let us know your feedback
    reg
    dsk

  • Average Daily Sales-Calc

    I am trying to create a member calc on an account. The account is Average daily sales. I want to average my sales for Level zero of time only for 42 days. The calendar day is my lev 0 of time. The problem I am running into is my calc is dynamic and takes forever to pull in Excel. CalcAvgsales=IF (@ISLEV(Time, 0))     @AVGRANGE (Skipnone,Sales, @CURRMBRRANGE (Time,Lev,0,-41,0));     ELSE     #Missing; ENDIFI would like to make this account stored but not sum up the lev 0 of time to lev 1 for the average daily sales account.

    This calc could be stored but if you did so, it would be easier to do it in a calc script as you have to consider calculation order problems.Something like this should work although is not tested (hoping essbase.com won't mess up formatting too much)... Calc All; (or whatever calc to ensure Sales is calculated at all levels)Set updatecalc off;"Average Sales"(if(@islev(Period,0))@AVGRANGE (Skipnone,Sales, @CURRMBRRANGE (Period,Lev,0,-5,0));else#missing;endif)Hope this helps.

  • Average Daily Requirement for a Material

    I'm looking for a function module or BAPI that will calculate the average daily requirement for a material.  Please point me in the right direction where I can obtain this calculation.
    Thanks

    I found this thread while performing a search.  While it is old, I thought it a good idea to provide the solution in case others are looking for the answer in the future.  Use FM MD_STOCK_REQUIREMENTS_LIST_API.  Table MDSUX will contain the average daily requirement as well as other useful data like target stock.

  • Average Daily Balancing

    I have a requirement for a business unit to run on average daily balancing in GL. I have several other business units which do not require this. They can share chart of accounts and are all in the one currency. What is the recommendation in moving forward in r11 and r12, should I be looking at a different ledger for the average daily balancing business unit, or should I have just one? I presume having just one would cause much grief in performance due to not really requiring daily balances for 75% of my whole business.

    I have a requirement for a business unit to run on average daily balancing in GL. I have several other business units which do not require this. They can share chart of accounts and are all in the one currency. What is the recommendation in moving forward in r11 and r12, should I be looking at a different ledger for the average daily balancing business unit, or should I have just one? I presume having just one would cause much grief in performance due to not really requiring daily balances for 75% of my whole business.

  • How to check Database Growth for a DB on ASM?

    Hi there
    I have been using the following script to check the database growth (for DBs on Filesystem):
    SELECT b.tsname tablespace_name ,
      MAX(b.used_size_mb) cur_used_size_mb ,
      ROUND(AVG(inc_used_size_mb),2)avg_increas_mb
    FROM
      (SELECT a.days,
        a.tsname ,
        used_size_mb ,
        used_size_mb - LAG (used_size_mb,1) OVER ( PARTITION BY a.tsname ORDER BY a.tsname,a.days) inc_used_size_mb
      FROM
        (SELECT TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY') days ,
          ts.tsname ,
          MAX(ROUND((tsu.tablespace_usedsize* dt.block_size )/(1024*1024),2)) used_size_mb
        FROM dba_hist_tbspc_space_usage tsu ,
          dba_hist_tablespace_stat ts ,
          dba_hist_snapshot sp,
          dba_tablespaces dt
        WHERE tsu.tablespace_id    = ts.ts#
        AND tsu.snap_id            = sp.snap_id
        AND ts.tsname              = dt.tablespace_name
        AND sp.begin_interval_time > sysdate-7
        GROUP BY TO_CHAR(sp.begin_interval_time,'MM-DD-YYYY'),
          ts.tsname
        ORDER BY ts.tsname,
          days
        ) a
      ) b
    GROUP BY b.tsname
    ORDER BY b.tsname;And I think it always gave me good results until I ran this script on a DB (10.2.0.5) on ASM.
    Is it because databases on ASM are maintaied differently OR is it that most proabbly there has been no activity on this database in the last 7 days? I even ran this query for last 90/180-days and it still returned me following results:
    TABLESPACE_NAME                CUR_USED_SIZE_MB AVG_INCREAS_MB
    SYSAUX                                   574.38            .36
    SYSTEM                                   514.69              0
    DATA                                    1593.25              0
    IDX                                         .06              0
    UNDOTBS1                                  69.06          -3.84
    USERS                                     96.13              0Thanks in advance!

    I have no reason to believe tablespaces under ASM are maintained differently, so the most likely explanation is change in DB activity.
    What is your AWR retention? The default is 7 days, so if yours is set at the default then running the query for 90/180 days would not give you more information.
    If you want to get useful output from your scripts, you might need to adjust the AWR retention and your SYSAUX tablespace respectively.
    If the DB is monitored by Oracle Enterprise Manager(OEM), you can do tablespace forecasting based on the metrics collected by OEM. I did a presentation about this (NYOUG,VirtaThon) a while back:
    http://iiotzov.files.wordpress.com/2011/08/iotzov_oem_repository.pdf
    http://iiotzov.files.wordpress.com/2012/05/oem-repository-a-second-look.doc
    Iordan Iotzov

  • Problem in calculating the Average Daily Requirement

    Hello all,
    I didn't understand how the system calculates the average daily requirement in Dynamic Safety Stock process. The following process flow in given in SAP notes to find how the system calculates the average daily requirement:
    1. The system uses the defined parameters to determine the number of days used for calculating the average daily requirements. If the period is defined as a week, the period length as standard days (5 days) and the number of periods as 2, the system divides the total of the requirements by 10 days.
    2. The system then calculates the total of the requirements for this period.
    The system takes into account all requirements in the current period, even requirements that lie in the past but are still in the current period. For example, if the planning run is carried out in the middle of the month, then those requirements that were planned at the beginning of the month are also included in the calculation of the average daily requirements.
    3. The average daily requirement is calculated using the formula:
    Requirements in the specified number of periods / Number of days within the total period length
    I have run MRP on 02/23/2009 and the following results are generated in stock requirement list of the component part:
    Date     Dependent Requirement     MMSA Schedule Lines Quantity
    3/3/2009     10     31
    3/11/2009     20     20
    3/31/2009     30     30
    4/14/2009     40     49
    4/22/2009     50     50
    4/29/2009     60     60
    5/11/2009     70     55
    5/21/2009     80     80

    Hi,
    In addition to my previous reply,
    If you did following setting -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - blank
    The system will calculate the safety stock for 7 days for each period; i.e., 7*3=21 and it will generate plnd orders as
    week1 = 51
    week2 = 14+21 = 35
    week3 = 10+21 = 31
    week4 = 30+21 = 51
    If you want to restrict your calculation till 2 periods then make following settings -
    Range of coverage in first period -
    min - blank
    tgt - 7
    max - blank
    number of periods - 2
    Range of coverage in second period -
    Make all blank
    Range of coverage in the rest of the horizon -
    min - blank
    tgt - 3
    max - blank
    It means for first two weeks the safety stock will be 21 (equivalent to 7 days) and for rest of the horizon it will be 3*3 = 9 (equivalent to 3 days)
    The Plnd orders will be -
    week 1 = 51
    week 2 = 35
    week 3 = 14+9 = 23
    week 4 = 30+9 = 39
    and so on.
    Regards,
    Amol

Maybe you are looking for