Monitor tablespace space usage, excluding UNDO

Hi
I tried to setup a monitoring template that enables me to monitor the space usage of all tablespaces but UNDO. It seems to me that Grid Control does not provide this built-in feature and I cannot customize. It monitors ALL tablespaces usage.
If I create RULE, then I need to check all tablespaces names except UNDO. I have almost 200 databases. If doing that, it consumes huge amounts of time.
Any solutions???
Any input is appreciated.
Kevin

The current setting is
Tablespace Space Used (%)
UNDOTBS > 101 101 None Every 5 Minutes
All others > 5 10 None Every 5 Minutes
Does that mean that if UNDOTBS is 101% full, which never happens, I will get email.
OEM will not evaluate the second condition if the first condition dissatisfies. If that is the case, I shall never get email.
Then I think I shall reverse the order. When I tried to use [Reorder] button, I cannot reverse the order. Probably, OEM considers [All Others] as the last execution conditionl.
Kevin

Similar Messages

  • Undo tablespace space usage

    I am sorry If someone asked this question before
    Oracle version : 10.2.0.3.0
    OS : Linux
    Tablespace Name           Tablespace Size (in MB)       Used (in MB)       Free (in MB) Pct. Used
    UNDOTBS1                                    2,000              1,826                174        91
    SELECT tablespace_name TSPACE, status, COUNT(*) AS Segments, sum(bytes)/1024/1024 as "TOTAL_SIZE(MB)"
    FROM dba_undo_extents
    GROUP BY tablespace_name, status
    SQL> SQL>   2    3    4
    TSPACE               STATUS                 SEGMENTS TOTAL_SIZE(MB)
    UNDOTBS1             EXPIRED                     464      1825.9375My all undo segments are expired but undo tablespace shows as 91 % used. Is there any workaround for avoiding this?
    Thanks
    Nisanth V.S

    This could be a normal situation: see http://asktom.oracle.com/pls/asktom/f?p=100:11:0::::P11_QUESTION_ID:676925300346249247#711734500346983254. A 2 GB undo tablespace is a small one and I would not worry about having a lot of expired undo segments.
    You can also use V$UNDOSTAT to check undo tablespace usage for the last 7 days.

  • How to exclude undo and temp from "Tablespace Space Used (%)"

    Dear All
    Is it possible to exclude undo and temp tablespace monitoring from "Tablespace Space Used (%)" matric?
    Thanks & Regards
    Quazi Abdur Rab

    If you use TEMP >=100 as Warning, this warning can still be raised.
    What version of the database is it? If Oracle 10g, Grid Control (the agent) searches the alert table in the database for alerts, so the database raises the alert and the agent just passes this alert to Grid Control.
    If you are using Oracle 10g, you can use the following statement (connected as sys):
    DBMS_SERVER_ALERT.SET_THRESHOLD(
    metrics_id => DBMS_SERVER_ALERT.TABLESPACE_PCT_FULL,
    warning_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    warning_value => '90',
    critical_operator => DBMS_SERVER_ALERT.OPERATOR_GT,
    critical_value => '100',
    observation_period => 1,
    consecutive_occurrences => 1,
    instance_name => NULL,
    object_type => DBMS_SERVER_ALERT.OBJECT_TYPE_TABLESPACE,
    object_name => 'TEMP');
    This will create the GT (Greater Than) instead of GE (Greater Equal).
    Kind regards,
    Dave
    ps. I'm using GC 10.2.0.3.0, so thanks for the note that 10.2.0.4 doesn't take 100+ values.

  • How to exclude UNDO and temp tablespace using monitoring template

    hi,
    as per MOS note id 816920.1 undo and temp tablespace is excluded from monitoring starting version 11G onwards.It says that thresholds will need to be explicitly set if undo and temp needs to be monitored
    we have grid 12C implemented now with monitoring templates which sets thresholds for all tablespaces. does it apply that thresholds to undo and temp too?? we are receiving alerts for undo and temp tablespaces and we wish to disable them. We have undo tablespaces with different names in many databases as per naming conventions for that line of business.
    How can i exclude undo and temp tablespaces from monitoring using grid 12C monitoring templates. is there a way through templates where i can set thresholds of permanent tablespaces only???

    In EM12c, go to the 'Enterprise' menu, then 'Job', then 'Library'. There should be an out-of-the-box job called "DISABLE TABLESPACE USED (%) ALERTS FOR UNDO AND TEMP TABLESPACES" that you can run against your database targets, and that job will disable database-generated alerts.
    If a previous admin has set up EM12c-generated alerts for undo and temp, then yes, a monitoring template will take care of disabling them. Either remove those alerts from the existing monitoring template and apply them to your targets, or create a new monitoring template based on one database's current settings, remove those warning/critical thresholds for your undo and temp tablespaces, and apply it to your targets.

  • Exclude undo tablespace in event

    How to exclude undo tablespace from monotoring in grid control? If event is created to notify when tablespace is reached to 90% and wants to exlcude undo. Is it possible?

    Edit the Undo tablespace and "Disable Threshold" on it.

  • Oracle 11.2.0.3 - Lob space usage

    Hi Everyone,
    I would like some advise about how to interrupt LOB space usage given the following statistics. And would appreciate any feedback on whether my understanding of the following is correct:
    We have a table with BLOB column which is located on a LOB segment.
    This the DDL to create the table and the LOB:
    CREATE TABLE BLOB_TEST
      TEST_ID      NUMBER  NOT NULL,
      TEST         BLOB
    LOB (TEST) STORE AS (
      TABLESPACE  USERS
      ENABLE      STORAGE IN ROW
      CHUNK       8192
      RETENTION
      NOCACHE
      LOGGING
          STORAGE    (
                      INITIAL          64K
                      NEXT             1M
                      MINEXTENTS       1
                      MAXEXTENTS       UNLIMITED
                      PCTINCREASE      0
                      BUFFER_POOL      DEFAULT
                      FLASH_CACHE      DEFAULT
                      CELL_FLASH_CACHE DEFAULT
    TABLESPACE USERS
    RESULT_CACHE (MODE DEFAULT)
    PCTUSED    0
    PCTFREE    30
    INITRANS   10
    MAXTRANS   255
    STORAGE    (
                INITIAL          64K
                NEXT             1M
                MINEXTENTS       1
                MAXEXTENTS       UNLIMITED
                PCTINCREASE      0
                BUFFER_POOL      DEFAULT
                FLASH_CACHE      DEFAULT
                CELL_FLASH_CACHE DEFAULT
    LOGGING
    NOCOMPRESS
    NOCACHE
    NOPARALLEL
    MONITORING;
    The statistics for this table is as follows:
    The size of the test blob is:
    A.
    select sum(dbms_lob.getlength (test))/1024/1024 mb  from BLOB_TEST
    = 4860 mb
    Space above HWM ( using dbms_space.unused_space):
    B.
    TOTAL_BLOCKS = 778368
    TOTAL_BYTES = 6376390656
    UNUSED_BLOCKS = 0
    UNUSED BYTES = 0
    LAST_USED_EXTENT_FILE_ID = 12
    LAST_USED_EXTENT_BLOCK_ID = 3383296
    LAST_USED_BLOCK = 8192
    Space below HWM (using dbms_space.used_space):
    C.
    TOTAL_BLOCKS = 778368
    TOTAL_BYTES = 6376390656
    UNUSED_BLOCKS = 0
    UNUSED BYTES = 0
    LAST_USED_EXTENT_FILE_ID = 12
    LAST_USED_EXTENT_BLOCK_ID = 3383296
    LAST_USED_BLOCK = 8192
    Unformatted Blocks = 0
    FS1 Blocks = 0
    FS2 Blocks = 0
    FS3 Blocks = 0
    FS4 Blocks = 0
    Full Blocks = 777114
    Using the above, this is what I'm interrupting and need your help on this to make sure that this is right.
    From A, the total size of the test blob data is:  4806 MB.
    From B, the amount of free space ABOVE HWM is 0. This is because there is 0 in the unused_blocks.
    From C, the amount of free space BELOW HWM is 0, because all the FS's are 0 and so is UNUSED_BLOCKS as well.
    The amount of full blocks = 777114 blocks. This means that 615168 blocks (from 4806MB) is for data.  The rest is for undo space as there is 0 for free space?
    In addition to this, 778368 - 777114 = 1254 blocks = 9.8 mb (approx) of? I'm not sure what is this.
    Am I on the right track here?
    Thanks

    Pavel wrote:
    Hello!
    I have Oracle 11.2.0.3 on Aix 64bit installed and see symptoms of bug 13443029 ,
    have I downgrade to 11.2.0.2 to appling the patch for fixing this bug ?
    README for *13443029*
    Patch Details
    Oracle Database 11g Release *11.2.0.2.0*
    ORACLE DATABASE Patch for Bug# 13443029 for AIX5L Platforms
    Released: 13 Jan, 2012Thanks and regards,
    PavelOpen SR . you will get help and send you patch if they think its need that .

  • PARALLEL LOAD - SPACE USAGE

    제품 : ORACLE SERVER
    작성날짜 : 2004-08-13
    SCOPE
    8.1.6 이상의 Standard Edition 부터 지원이 되는 기능입니다.
    Subject: Parallel Load - space usage.
    I have put together a short summary of how Parallel Load handles
    storage allocation in 7.1 which I am going to send to a customer.
    This could also quickly turn into a bulletin or PR entry
    (if one doesn't already exist).
    I'd appreciate if people could review and give corrections/enhancements.
    Here is how storage allocation works with parallel loads.
    For each parallel loader session, Oracle
    1) creates a temporary segment with the INITIAL and NEXT
    from the table that is being loaded, and in the datafile
    designated by the FILE option.
    2) When a load is complete, the final extent used by that
    parallel load is trimmed back to the last block which it
    used.
    3) Lastly, the extents belonging to the temporary segments
    are then converted to extents belonging to the table
    being loaded.
    This creates a couple of problems:
    * If your INITIAL and NEXT are different for the table,
    then you will end up with multiple extents sized the
    same as INITIAL, which doesn't follow general table
    growth patterns.
    * Extent sizes are not predictable for the last extent of
    each load. This can lead to tablespace fragmentation.
    What to do about this?
    * Size INITIAL and NEXT to be the same.
    This will eliminate the first problem listed.
    * Oracle 7.2 will have a feature in to specify the storage
    parameters used by the parallel load (bug 187319):
    OPTIONS (STORAGE=(MINEXTENTS n
    MAXEXTENTS n
    INITIAL n K
    NEXT n K
    PCTINCREASE n))
    * Enhancement Request 236552 has been filed to allow the
    user to select no trimming of the extents.

    Hi Karen,
    The number of workprocess (Dialog/Background) could be reduced also by selecting the loading options in InfoPackage.
    In InfoPackage Processing tab, there are various loading options,
    PSA & Then into data target (Package by Package) - This option uses only one process at a time. One data package is lifted from the Source System by a background process to PSA, and then the same process lifts it from PSA to datatarget.
    PSA & data target in parallel (Package by Package) - This option uses two process at a time. One data package is lifted from the Source System by a background process to PSA, and then another process lifts it from PSA to datatarget. The first process same time, gets busy in lifting another package from Source System to PSA.
    The first option is good, but takes more time to load data than the second one, so there is a tradeoff.
    Also it is good if you use another process in process chain to activate the ODS instead of setting it up on automatic activation.
    Please let me know if you need any more help.
    Regards,
    Pankaj

  • Temp Tablespace space needed to create an index of 52GB - preventing 01652

    Hi,
    I've seen quiet a few threads on the subject, but could not find a clear (to me) answer on the subject.
    We have a huge table made by 30/40 partitions of roughly 20M records each (each record being about 1k of size), overall 800GB.
    The index we already have shows:
      1* select sum(bytes/1024/1024)  from dba_segments where segment_name like 'CALL_LOG_I0'
    SQL> /
    SUM(BYTES/1024/1024)
                   52088
    so that I assume it's 52GB in size. Since we have to create another very similar one I would assume the size would be similar.
    Command would be:
    create index call_log_i0_new on call_log (msisdn, generation_timestamp, cdr_reference_number, Multiple_AMA_Sequence_Number) NOLOGGING online;
    Tried the NOSORT option but it's not compatible with the online option.
    After a while the TEMP tablespace got filled up (we have about 20GB space in there).
    My question is if I need to have a temp tablespace at least as big as the index size (52GB) to let the index be built online.
    Thanks in advance !
    Cheers,
    Mike

    Thanks to all, found useful information in Metalink following your suggestions:
    You need to add more space to the tablespace where the index is created.
    A possible option to reduce sort space usage is to use the NOSORT option.
    Your table contains 66 million rows. The average row length is
    50-60 bytes and you are indexing 4 of 5 columns in the table.
    Example space calculation:
    66 million rows * 50 (avg row length) = 3.3 gig of data
    Rule of thumb:
    upper bound for sort (not guaranteed) is 3 times data_
    = about 10 gig of sort space needed
    These numbers are scaring since assume that I may need much more space than the index size (about 3x) which is something we cannot afford. Will go with the NOSORT option once the system is brought down and we could skip the online option.
    Thanks to all !
    Mike

  • SQL AGENT JOB FOR DISK SPACE USAGE ALERT

    Hello Experts
    what is the best way to set up a disk space usage alert for my sql server 2008r2 databases. i want to get a notification or alert whenever the disk usage is >80%, thank you as usual.

    Hi
    You can use sql server job for same. I am using below procedure configured with sql job running every 15 mins
    Example: EXEC [DBA_DiskSpaceMntr]
    @mailto = 'team mail',
    @CDrivethreshold = 1024,
    @OtherDrivethreshold = 10240
    CREATE PROCEDURE [dbo].[DBA_DiskSpaceMntr]
    @mailto nvarchar(4000),
    @CDrivethreshold INT,
    @DDrivethreshold INT,
    @YDrivethreshold INT,
    @OtherDrivethreshold INT
    AS
    BEGIN
    declare @count int;
    declare @DiskFreeSpace int;
    declare @tempfspace int;
    declare @tempdrive char(1);
    declare @mailbody nvarchar(4000);
    declare @MailSubject nvarchar(1000);
    declare @AlertMessage nvarchar(4000);
    declare @altflag bit;
    declare @sub nvarchar(4000);
    declare @cmd nvarchar(4000);
    set @count = 0;
    SET @mailbody = '';
    SET @cmd = '';
    set nocount on
    IF EXISTS(select * from sys.sysobjects where id = object_id('#driveinfo'))
    drop table #driveinfo
    create table #driveinfo(id int identity(1,1),drive char(1), fspace int)
    insert into #driveinfo EXEC master..xp_fixeddrives
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('C')
    IF @DiskFreeSpace < @CDrivethreshold
    Begin
    SET @MailSubject = 'Drive C: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive C: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    --select * FROM #driveinfo where drive in ('L')
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'SQLDBA_Support',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('D')
    IF @DiskFreeSpace < @DDrivethreshold
    Begin
    SET @MailSubject = 'Drive D: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive D: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'SQLDBA_Support',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    SELECT @DiskFreeSpace = fspace FROM #driveinfo where drive in ('Y')
    IF @DiskFreeSpace < @YDrivethreshold
    Begin
    SET @MailSubject = 'Drive Y: free space is low on ' + cast(Serverproperty('Machinename') as nVarchar)
    SET @mailbody = 'Drive Y: on ' + cast(Serverproperty('Machinename') as nVarchar) + ' has only ' + CAST(@DiskFreeSpace AS VARCHAR) + ' MB left. Please free up space on this drive. '
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'profile_name',
    @recipients= @mailto,
    @subject = @MailSubject,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    End
    set @mailbody='';
    while (select count(*) from #driveinfo ) >= @count
    begin
    set @tempfspace = (select fspace from #driveinfo where id = @count and drive not in ('C','Q','D','Y'))
    set @tempdrive = (select drive from #driveinfo where id = @count and drive not in ('C','Q','D','Y'))
    if @tempfspace < @OtherDrivethreshold
    BEGIN
    SET @altflag = 1;
    SET @mailbody = @mailbody + '<p>Drive ' + CAST(@tempdrive AS NVARCHAR(10)) + ' has ' + CAST(@tempfspace AS NVARCHAR(10)) + ' MB free</br>'
    --SET @cmd = 'dir /s /-c ' + @tempdrive + ':\ > ' + @logfile
    --EXEC xp_cmdshell @cmd
    END
    set @count = @count + 1
    end
    IF (@altflag = 1)
    BEGIN
    SET @sub = 'Monitor Space on ' + cast(Serverproperty('Machinename') as nVarchar)
    set @mailbody = 'The below drives on ' + cast(Serverproperty('Machinename') as nVarchar) + ' have low disk space then threshold limit ' + CAST(@OtherDrivethreshold as VARCHAR(10)) +' Please free up the space in below specified drives <p>' + @mailbody
    --print 'Space on ' + @tempdrive + ': is very low: ' + str(@tempfspace)+ 'MB'
    EXEC msdb.dbo.sp_send_dbmail
    @profile_name = 'Profile name',
    @recipients= @mailto,
    @subject = @sub,
    @body = @mailbody,
    --@file_attachments = @logfile,
    @body_format = 'HTML'
    END
    drop table #driveinfo
    set nocount off
    END
    Thanks Saurabh Sinha
    http://saurabhsinhainblogs.blogspot.in/
    Please click the Mark as answer button and vote as helpful
    if this reply solves your problem

  • Host disk space usage

    Is there a way to get a report of available disk space for a host?
    We do not autoextend our tablespaces, so whenever we need to add more space
    , we have to shell into the OS (Unix) and run a "df -k" to see what mount points have space available.
    Is it possible to have the OEM Grid send us this info via notification and how?
    Thanks.
    Message was edited by:
    kaapie
    I found an answer: Table/View for Filesystem Space Available Metric?

    marco wrote:
    Hi all,
    how do I determine disk space usage by table1, table2 ?Use the _SEGMENTS views for this. Make sure to include dependent objects such as indexes if you're wanting to get an idea of the "total" size of the table. Perhaps you could give us more information on your requirements and what you're seeking to accomplish.                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                                           

  • ORACLE DATABASE SPACE USAGE report not showing all databases in 11g

    Hi All,
    I have scheduled "Oracle Database Space Usage (Group)" report for all databases available in the OEM11g. But in the report i am not able to see all the databases in the group. Can any one please help on this.
    Regards,
    GK

    We had the same problem in 12c EM. This had to something with "tablespace allocation metric". This metric was disabled for some databases. This could be your case in 11g also. This metalink note might worth seeing .
    Oracle Database Tablespace Monthly Space Usage shows no data (Doc ID 1536654.1)

  • How to monitor disk space in BW

    can some body help me out on the following issues.
    1)How to monitor disk space in BW?
    2)How can I delete Application logs in BW?

    When I research with DB02 transaction code in BW, I encountered following tables having lot of log , please some body can help me, how to delete the following log data?
    ARFCSDATA     ARFC Call Data (Callers)          
    BALDAT          Application Log: Log data     
    BSRWBSTORE     Storage for binary large objects (Excel)

  • HOW to find out the tablespace space utilized by a patch after applying the

    someone has already applied the patch in test env before recording the tablespace size , so I cannot find out the figure in test env.
    So is there any general practice or general guidelines on it?
    hOW to find out the tablespace space utilized by a patch after applying the patch?
    Thanks & Regards,
    Sree.
    Edited by: 846579 on Mar 22, 2011 10:50 PM

    I think there is no direct way to determine what tablespace is utilized by a patch from the README file. You could check the content of the patch file and see what modules are affected (assuming there are changes and the database level), then query DBA_USERS (DEFAULT_TABLESPACE column) for those schemas which are updated by a patch. Or, you could check the size of the tablespaces before and after applying the patch and you will determine what tablespaces have been utilized (provided that the application services are down, and none of the application users is connected to the application).
    Thanks,
    Hussein

  • My company loaded profiles onto my iPad for email and calendars.. There is also a signing certificate and a certificate. What are these for? Additionally are they able to monitor apps and usage, ie Internet usage when it is not on their wifi?

    My company loaded profiles onto my iPad for email and calendars.. There is also a signing certificate and a certificate. What are these for?
    Additionally are they able to monitor apps and usage, ie Internet usage when it is not on their wifi?
    I do not have any VPN enabled?

    Do you happen to have an Android?  If so and depending on what version there is a great data usage analyse tool built-in.  See if you can go to Settings -> Data Usage  from there you can pick a current or previous billing cycle and then use the vertical sliders to select a date range and it will filter the usage data per app to show you exactly what app(s) were using data during that time frame.

  • MacBook Disk Space Usage

    Hi,
    Has anyone found a utility that can be used to locate disk space usage on the MacBook? I would like to find out what files are eating up my disk space and would prefer to not have to use UNIX commands to accomplish this. I need to delete something off my computer but need help to locate the culprit. Any help is appreciated.
    Thanks

    Use a program such as WhatSize or Disk Inventory X to determine where the space is being used.
    (38758)

Maybe you are looking for