Monitor Database Growth

Hello,
I just took over the role as a junior DBA in a new organization and would like to found out how much our db's have grown in the past year. Unfortuneatly the last DBA did not monitor growth over time. Is there a way to determine how much the entire database has grown from one point in time to another without having monitored the growth? Our database versions range from 7 to 10g.

hi,
look at this thread
Re: DB growth!
this looks at reporting database growth/shrinkage at monthly intervals
regards
Alan

Similar Messages

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

  • 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

  • Monitor Table growth stats

         Is it possible to setup technical monitoring to monitor table growth statistics like top 10 growing tables etc?
    if yes, how?
    any info please?

    Hi Krishna,
    Kindly follow SAP doc E2E Reporting: Database Growth - Overview - System Reporting in SAP Solution Manager - SAP Library
    Hope this will help you.
    Regards,
    Gaurav

  • 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

  • Monitor database in restrict mode

    hello everybody,
    is there a way to see session activity information in Top Activity window when database is in restricted mode? Monitored database, OMS and agent are all 10.2.0.3.
    So far I have tried to grant restricted session to dbsnmp but it didn't help.
    thx for any suggestion

    hi Alan,
    I have tried to connect as sysdba to database but it shows no data. I also reconfigured the database target properties to be monitored through sys (as sysdba) but didn't work either.
    Slavek

  • Co-location of persistent chat and monitoring databases on Standard Edition server

    Hello, I've seen all kinds of different answers to this question around the web with conflicting answers.
    We have a basic IM/Presence only install of Lync 2013 and now want to deploy Monitoring and Persistent Chat roles.
    As per this blog, it states you can co-locate all of these on one FE server.
    http://windowspbx.blogspot.ca/2012/07/aaa-donotpost-install-lync-standard.html
    Which does match what this TechNet article states:
    http://technet.microsoft.com/en-us/library/gg398131.aspx
    However, in the Blog, it says you need to install Full SQL Server 2008 in order to collocate, yet this goes against what TechNet says is possible, in that you can have all databases in one instance:
    Each SQL instance can contain only a single back-end database (for an Enterprise Edition Front End pool), single Monitoring database, single Archiving database, single persistent chat database, and single persistent chat compliance database.
    I guess my question is, can I simply install Monitoring and Persistent Chat using the same default SQL Server 2012 instance that was installed along with the Front End Standard Edition server (RTC instance)? Or should I create a new instance? Or do I need
    to install a new SQL Server 2012 somewhere on a different server altogether?
    Thanks!

    Hi,
    Lync standard edition server has SQL express database by default to host RTC instance. Monitoring server required SQL reporting services, SQL express does not have reporting components part of it. Hence, you required full SQL version for monitoring
    and archiving deployment.
    Technically, you can install full SQL server on the standard edition server itself. But , it is not recommended in production environment. It's good idea to install SQL server on a dedicated server for hosting monitoring and archiving database.
    Thanks
    Saleesh
    If answer is helpful, please hit the green arrow on the left, or mark as answer. Blog : http://blogs.technet.com/b/saleesh_nv/

  • Monitor database connections in a database pool

    Hi,
    Do you know how I can monitor database connections in a database pool.. ? I am using Jboss container.
    The purpose is to monitor connections that are closed and refresh them.
    Thanks,

    There a firewall.. across which my application makes connections to the database.. the firewall times out due to the inactivity. and my application dies.
    I was thinking may be I could check for the database connections in a pool and then one that is not being used for a long time .. close it and again refresh the connection.
    Please Advise...

  • Can Grid Control on Windows monitor databases on UNIX?

    If I install Grid Control on a Windows pc can I use it to monitor databases on UNIX?

    There are two reasons I have to reboot the box.
    1.You know, Windows always needs "update and reboot".
    2.Sometimes I got the EM error message "Count of targets not uploading exceeded the critical threshold " from all hosts, but I am sure all hosts and agents were working normally.
    After receiving errors, I found the grid control can't show the right chart on the performance tab.
    Then I reboot the box and everything works fine again.

  • 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

  • Estimating database growth

    Hi All,
    My Requirement: I am trying to estimate the database growth of the R3 PRD system inorder to comeup with some statistics on how much needs to be archived.
    I right now know the size of the database which is some X TB. We are adding data at the rate of some 100-150 GB every month.
    How can i come up with an estimate of what could be the possible size of the data base at the end of fiscal years 2007,2008 in order to roughly estimate what should be the extent of archiving?
    Thanks
    Janani

    Hi Janani,
    very tricky process.... anyway estimate is always an 'estimate', what i mean is actuals will be different. here is how i did it...
    Have at hand the following:
    - present size X TB
    - yearly growth
    put it in an excel sheet and calculate the expected growth for coming years... in my calculations i assume that DB growth will be 125% in the successive years.
    if you are already using archiving, then you might want to calculate based on archiving also... so take into consideration the (assumed) percentage of data which can be archived in an year... say 20% and calculate the savings... add to that the space required for storing the archive files, which are compressed ofcourse.
    apart from this, you may take into consideration the QA, DEV systems, mirrors, DR systems etc which will add up to the storage space.
    did i make it confusing?
    regards,
    naveen

  • Sybase database growth statistics lost after reboot

    Hi all gurus,
    I would to check database growth in dbacockpit of ASE database (Database SDI, Space, Show growth); but the DB has only statistics since the start of Database (2 days ago for maintenance), so do I have to assume that we lost all previuos statistics? Or we can view also the previous?
    Thanks a lot,
    SP

    It seems that I have solved the problem with the character set. It's not really something that I understand but it works: I have changed the startup script that is used in /etc/init.d/rc5 to start the server. I changed the shell for the script. It was not working when I used #/bin/bash or #/bin/sh but it works when I use #/bin/csh.

  • Live cache database growth

    Dear all,
    How can be we get the database growth of livecache database for a period of time?
    Please guide me the path to find these values.
    Thanks n Regards,
    KK

    Hello,
    "How can be we get the database growth of livecache database for a period of time?
      Please guide me the path to find these values."
    1. Please let us know if you need the general statistics of the database growth or please collobarate more about your question.
        The Fill level of the database (for example, the size of the data volumes, number of permanently and temporarily used pages) statistics is collected by the DB analyzer every 15min. You could use the DB analyzer & check the statistics in DBAN_FILLING.csv
    file which is created every day, if the DB analyzer is activated.
       Please review SAP Note 530394 (Bottleneck Analysis with Database Analyzer).
    See the MAXDB library documentation:
    http://maxdb.sap.com/doc/7_7/default.htm -> Tools -> Database Analyzer <  then go to More information: Database Analyzer Log Files >
    2. Please let us know the version of the database.
    Thank you and best regards, Natalia khlopina

Maybe you are looking for

  • Problem with jsp and tomcat

    Hi , I am trying to retrieve data from mysql server using Tomcat webserver of java web services developers pack. i wrote an html page that sends the account_no and password of my program to a JSP page which retrieve data from MySQL server to check wh

  • Help on print button for interactive report

    Hi, I have created an interactive report and have also added a print button on the button of the report (unfortunately forgot how I did it). Say my column on the reports was Col_No, Col_First_name, Col_Last_name and a print button when I pressed a wo

  • HOW ADD TEXT TO PHOTO

    I HAVE ELEMENTS 6.  BEEN TTRYING TO ADD TEXT TO PHOTOS TO NO AVAIL. THIS IS HOW I HAVE BEEN DOING IT. TELL ME WHERE I AM NOT DOING IT RIGHT.     I DBL CLICK ON THE PHOTO TO BRING IT UP,   THEN I CLICK FULL EDIT,     THE I GET THE "T" FOR HORIZONTAL A

  • Migrate word documents from external system to SharePoint 2007 site

    Hi All, I have a requirement wherein I have to migrate around 2500 word documents from one of the system to SharePoint system. Please note that my client is using MOSS version of SharePoint. Also some excel files are embedded in to some of the word d

  • Role - Resource - Task Assignment

    All, We have a requirement where a cProjects task may spread along for, say, 6 months. Resource needs to work on this task for only 2 days per month, every month (say) (Work - 12 days). When the role is staffed for 6 months, this resource will not be