DBMS_SPACE(9i) for tablespace growth trend..?

Hello,
for 10G, dbms_space.object_growth_trend() can expect table's growth....
for 9i (9.2.0.6 in Sun9) database, is there any friend has experience know how to do for the following purpose:
1. How to expect tablespace growth? say, to accommodate new data for the next 30 days we have to increase tablespace A by X GB, tablespace B by Y GB, … etc
2. How to expect database level growth? say, we need XXX GB more to accommodate new data for the year YYYY
3, Is there any way to Initialize (if possible) Segment Advisor with the information about segment trends we have already collected in 9i
Thank you in advance
Jerry

Hi..
AFAIK in 9i you can't find the Subprograms like object_growth_trend() package in dbms_space.
How to expect tablespace growth? I think that you will have to maintain a sheet of the tablespace usage.Daily you will need to maintain the tablespace size, used and free size of tablespace.Ans after few days of observation you can predict the approximate amount of size being filled up in a day.
You can use the below query to know the used and the free space in the tablespace.
select df.tablespace_name tspace,
    df.bytes/(1024*1024) tot_ts_size,
  (df.bytes/(1024*1024) -sum(fs.bytes)/(1024*1024)) Used_ts_size,
  sum(fs.bytes)/(1024*1024) free_ts_size,
        round(sum(fs.bytes)*100/df.bytes) free_pct,
  round((df.bytes-sum(fs.bytes))*100/df.bytes) used_pct1
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
order by 1
2. How to expect database level growth? Again same, you need to maintain a sheet for it.Use the below query
select sum(bytes/1024/1024/1024) Physical_size_gb from dba_data_files;
select sum(bytes/1024/1024/1024) Actual_size_gb from dba_segments; 3, Is there any way to Initialize (if possible) Segment Advisor with the information about segment trends we have already collected in 9iNo.
HTH
Anand
Edited by: Anand... on Jan 6, 2009 4:17 AM

Similar Messages

  • Tablespace growth monitoring script

    Hi,
    I am done with tablespace growth monitoring script.
    But I doesnot know how to configure it in WINDOWS to send alert MAIL.
    Is there any utility for mail configuration in windows.
    Please suggest any solution ASAP.
    Regards,
    Thiru

    It is called OEM alerts. I think we can have configuration in oracle eneterprise manager grid control for automated warnings for tablespace growth. You just have to read below link :
    http://download.oracle.com/docs/cd/B19306_01/server.102/b25159/monitor.htm#i1007180
    Something near to :
    Enterprise Manager Configuration--Management Services and Repository--Agent
    Regards
    Girish Sharma

  • Growth trend report segment analysis using 10g dbconsole.

    Hi,
    I need to analyse the growth of the table. So when looked online i found a way to go for the growth trend report segment analysis which is available under database control-> Administration tab -> schema section->tables->segments tab.But i cannot see anything of the sort segments tab when i searched after going to the tables page in the dbconsole. Can anyone please advice where can i get the growth trend report segment analysis in dbconsole?

    The database is 10gR2 on windows envirnoment

  • Is there a way to generate the growth trend report in EM or using SQL

    Hi,
    I want to have some sort of tool to generate the growth trend of the database.
    I have tried
    col TIMEPOINT format a30
    select * from table(dbms_space.OBJECT_GROWTH_TREND ('&Schema','&TABLE_NAME','TABLE'));
    but above is only for one table and it do not show much old data like last year or how the table will look like next year or 3 months later.
    I believe Enterprise manager or Grid Control will have something to serve my purpose which I am not aware of.
    Once again my question is:
    We have databases (9, 10, 11) which are there from years and want to know that how it have grown and how it will grow in future. It will be good if we have more granularity in the tool. If there is any external tool Non Oracle then let me know as well.
    Any help is greatly appreciated.
    --Harvey.
    Edited by: Harvey on Jan 14, 2011 10:33 AM
    Edited by: Harvey on Jan 14, 2011 3:26 PM

    Hey guys .. i was researching trying to find information about some kind of growth analysis reporting tool and since i couldn't find anything that i like i created some Unix scripts that send automated reports showing growth analysis graphics. I use Chart apis from Google to generate the graphics on the client side. Check it out.
    The script will load the data in a daily basis and send the report at the end. The space needed is about 512M depending on the amount of objects and it's stored in a tablespace defined during the configuration of the process.
    http://cesalo.wordpress.com/2011/01/17/google-chart-api-and-oracle-database-growth-reports
    --Cesar                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                   

  • How to create ONE graph with a growth trend ($ and %)?

    I would like to create a graph with a growth trend.
    The graph should have figures on one side reflecting $ values and on the other % growth.
    I cannot make a trend on the same graph and usually spend ages adding another graph to show the trend. I end up making 2 graphs instead of one.
    Please refer to the following really basic graph that will give you an idea.
    ex : http://www.tellurideareahomes.com/images/graph1.jpg
    Can anyone show how to do that?

    What you want requires a bit of trickery.
    Chart the bar graph
    Chart the trend
    then move the trend one above the bar one after setting its background to none.
    If this workaround is not OK for you,
    _Go to "Provide Numbers Feedback" in the "Numbers" menu_, describe what you wish.
    Then, cross your fingers, and wait _at least_ for iWork'09 (possibly for iWork '99)
    Yvan KOENIG (from FRANCE mercredi 19 novembre 2008 11:18:45)

  • DB Growth Trend

    Hi
    How i can cutomize below query to get monthly growth trend of db for the past year.
    SELECT TO_char(creation_time, 'RRRR Month') , SUM(bytes)/1024/1024 FROM sys.v_$datafile WHERE creation_time > SYSDATE-365 GROUP BY TO_CHAR(creation_time, 'RRRR Month');
    Something like
    Jan 2008 5GB
    Feb 2008 7GB
    Dec 2008 8 GB
    Thanks
    Raj

    I would search the `Net for some examples or read the documentation.
    Here is a link on the LAG/LEAD Analytics: http://www.oracle-base.com/articles/misc/LagLeadAnalyticFunctions.php
    Another link on regression functions: http://www.java2s.com/Tutorial/Oracle/0400__Linear-Regression-Functions/Catalog0400__Linear-Regression-Functions.htm
    Hope this helps!

  • Tablespace growth in DB02

    Hi,
    is there by any chance to veiw my all the tablespace growth for the last 2 months from db02 transaction.
    Thanks
    Sarat chandra

    <a class="jive_macro jive_macro_thread" href="" __jive_macro_name="thread" modifiedtitle="true" __default_attr="2105685"></a>
    Duplicate post
    Read and Follow the forum rules

  • Tablespace growth  from db02 transaction.

    Hi,
    is there by any chance to veiw my all the tablespace growth for the last 2 months from db02 transaction.
    Thanks
    Sarat chandra

    Dear Sarat,
    You can check out in the following way:
    DB02
    Space -> History -> Tables and Indexes
    Filters =
    Tablespace = *
    Table abd Index *
    Table or index size > *
    order by growth and data will be dispalyed.
    This would resolve your purpose.
    Regards,
    Abhishek

  • Past Tablespace Growth Each month

    Hi All,
    Is their any script to find past tablespace growth for each month.
    Regards

    user13364785 wrote:
    Hi All,
    Is their any script to find past tablespace growth for each month.
    RegardsHow about read the docs:
    http://lmgtfy.com/?q=tablespace+growth+query

  • Unusual Temp Tablespace Growth

    Hi ,
    We have noticed unsual temp tablespace growth when concurrent users are accessing OLAP cube through BI Bean crosstabs.
    On an average 3 to 4 GB temp tablespace is consumed for each new user. OLAP cube has 7 dimensions and 1.2 million records and is fully precalculated.
    This causes the system to fail as a result of temp tablespace getting full.
    Can somebody please let me know what can be the root causes?.
    Thanks in advance.
    Harry

    Hi there,
    It is not unusual for OLAP queries to make significant use of temp tablespace. 3-4GB doesn't sound unreasonable to me. The actual amount used depends on factors such as the type of activity and the number of users.
    There is a brief description of how OLAP uses temp tablespace here :- http://download.oracle.com/docs/cd/B28359_01/olap.111/b28124/admin.htm#sthref442
    Note the lower than standard setting 'EXTENT MANAGEMENT LOCAL UNIFORM SIZE 256K' - if you are not already using this setting then you may find that it lowers temp space usage as the default setting is usually 1024K or even 4096K
    I hope this helps
    Stuart

  • ORA-01536: space quota exceeded for tablespace 'SYSTEM'

    Hi All,
    Please help me to understand the below issue. I am trying to create a table as below. Connected as APPS user.
    SQL>create table test_ts(id number) tablespace APPS_TS_TX_DATA
    ORA-00604: error occurred at recursive SQL level 1
    ORA-01536: space quota exceeded for tablespace 'SYSTEM'
    ORA-06512: at line 2
    Below are the details of the user
    SQL>select * from user_ts_quotas
            where  tablespace_name = 'APPS_TS_TX_DATA'
    TABLESPACE_NAME     BYTES     MAX_BYTES     BLOCKS     MAX_BLOCKS
    APPS_TS_TX_DATA     929038336     -1     113408     -1
    SQL>select * from user_ts_quotas
            where  tablespace_name = 'SYSTEM'
    No Rows Returned.

    Hi,
    Thanks for the response. There is no QUOTA defined for SYSTEM user, so it is UNLIMITED, No?
    Below are the details of "SYSTEM" tablespace. Is there any issue with this?
    TABLESPACE_NAME           BLOCK_SIZE  INITIAL_EXTENT       NEXT_EXTENT           MIN_EXTENTS            MAX_EXTENTS         
    SYSTEM                  8192               16384         16384                1                     505

  • Explain statspack values for tablespace & file IO

    10.2.0.2 aix 5.2 64bit
    in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
    For Tablespace IO I have the following.
    PRODGLDTAI
    466,879 130 3.9 1.0 8,443 2 0 0.0
    For File IO I have the following for each file within this tablespace.
    PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
    113,530 32 2.6 1.0 1,302 0 0 0.0
    PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
    107,878 30 1.6 1.0 1,898 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
    114,234 32 5.8 1.0 2,834 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
    131,237 36 5.2 1.0 2,409 1 0 0.0
    From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
    What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time?

    10.2.0.2 aix 5.2 64bit
    in the Tablespace IO Stats & File IO Stats section of statspack and awr reports can someone help to clear up a little confusion I have with the value for AV Reads/s & AV Rd(ms). I'll reference some values I have from one of my reports over a 1 hour snap shot period, with the first three columns being reads, av rd/s, av rd(ms) respectively for both sections.
    For Tablespace IO I have the following.
    PRODGLDTAI
    466,879 130 3.9 1.0 8,443 2 0 0.0
    For File IO I have the following for each file within this tablespace.
    PRODGLDTAI /jdb10/oradata/jde/b7333/prodgldtai04.dbf
    113,530 32 2.6 1.0 1,302 0 0 0.0
    PRODGLDTAI /jdb14/oradata/jde/b7333/prodgldtai03.dbf
    107,878 30 1.6 1.0 1,898 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai01.dbf
    114,234 32 5.8 1.0 2,834 1 0 0.0
    PRODGLDTAI /jdb5/oradata/jde/b7333/prodgldtai02.dbf
    131,237 36 5.2 1.0 2,409 1 0 0.0
    From this I can calculate that there were on average 129.68 reads every second for the tablespace and that matches what is listed. But where does the av rd(ms) come from? If there are 1000 milli-seconds in a second and there were 130 reads per second, doesn't that work out to 7.6 ms per read?
    What exactly is av rd(ms)? Is it how many milli-seconds it takes on average for 1 read? I've read in the Oracle Performance Tuning doc that it shouldn't be higher than 20. What exactly is this statistic? Also, we are currently looking at the purchase of a SAN and we were told that value shouldn't be above 10, is that just a matter of opinion? Would these values be kind of useless on tablespaces and datafiles that aren't very active over an hours period of time?

  • RDF ORA-05136 error space quota exceeded for tablespace

    Hi,
    I'm having a hard time finding the root cause of this error. My users have unlimited space and the tablespace has a starting 10gb space and expands with 1gb increments. This happens when I try to insert an array of triples where the objects are clobs.

    Hi User,
    Direct From the Manual,
    ORA-01536: space quota exceeded for tablespace 'string'.
    Cause: The space quota for the segment owner in the tablespace has been exhausted and the operation
    attempted the creation of a new segment extent in the tablespace.
    Action: Either drop unnecessary objects in the tablespace to reclaim space or have a privileged
    user increase the quota on this tablespace for the segment owner.

  • RMAN Backup specially for tablespaces

    Hi@everybody,
    we have a Oracle 11gR2 (11.2.0.3.0) Server, based on RedHat 6, running in our company. For the Backups i'm using RMAN with a script. In that script this code specially creates the backup:
            run {
                allocate channel oem_backup_disk1 type disk;
                backup incremental level ${level} cumulative as COMPRESSED BACKUPSET tag '${tag}' database;
                backup as COMPRESSED BACKUPSET tag '${tag}' archivelog all not backed up;
                release channel oem_backup_disk1;
    ${level} is for 0 or 1, full backup or incremental backup. ${tag} is the name for the backup. This script is for the hole database. But now i want to change that script to tablespace level. We have some "test" tablespaces, where a backup is not needed. I just found that one:
    backup tablespace TEST tag='BACKUP_TEST';
    But now i'm not shure how i can implement that into my script.
    Can you guys help me?
    Thanks and best regards,
    David

    I've just to ask again to understand it right:
    In RMAN - Console i just exclude the tablespaces that should not be backed up with:
    CONFIGURE EXCLUDE FOR TABLESPACE Tbs1, tbs2, tbs5;
    And then RMAN knows, when he is doing a backup of the database, he will exclude that tablespaces that i've told him? Thats awesome! And easier to handle!
    EDIT: I've tested this on my Oracle Test server and it works! Thanks a lot for the answers!

  • Reg: AUTO Exend for tablespaces

    Hi,
    I want to have a discussion with the AUTO EXTEND option for Tablespaces in oracle 9.2.0.4.0.
    Actually i am having one INDEX or USERS tablespace and for eg if index is having 15 datafiles till now and 15th datafile in that INDEX is running with AUTO EXTEND option.
    I created with a SIZE of 3000mb and next extent as 500 mb.When the space is filled with 3000 mb, i believe it will be using the NEXT EXTENT 500 mb.
    So here what i want if that NEXT Extentis also filled and upto how much space and to how much extend this AUTO EXTEND OPTION will be useful.
    What is the MAX size for this AUTO EXTEND and where it will grow if those spaces are filled ?
    When can I add another datafile for that without causing any problem ?
    I am having another doubt on these datafiles already filled i.e 14 datafiles which
    are stored in database ? How long those datafiles in tha INDEX tablespace will be useful for future ...as we are going on adding the datafiles at some extent space problem will come .So how to analyse that and what are the precautions we have to take?
    Sorry if am asking any basic or silly question over here....
    Please Clarify my above confusion....
    Thanks in Advance...
    suresh.

    Suresh
    Extend will allocate max space of your hard disk

Maybe you are looking for