Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Mailing Lists -> Oracle-L -> RE: Database Metrics

RE: Database Metrics

From: Whittle Jerome Contr NCI <Jerome.Whittle_at_scott.af.mil>
Date: Mon, 29 Apr 2002 11:38:47 -0800
Message-ID: <F001.0045241A.20020429113847@fatcity.com>


I use these two to show the number of tables created and tables modified by month. In our case, the number of new tables and DDLs has been climbing as the database is getting more complex. On a graph, the lines are climbing upward which is something management can understand.

select TO_CHAR(Created, 'YYYYMM') "MonthCreated", Count(TO_CHAR(Created, 'YYYYMM')) "TablesCreated" from dba_objects
where object_type = 'TABLE'
group by TO_CHAR(Created, 'YYYYMM')
order by 1;

select TO_CHAR(LAST_DDL_TIME, 'YYYYMM') "MonthModified", Count(TO_CHAR(LAST_DDL_TIME, 'YYYYMM')) "Tables DDL'ed" from dba_objects
where object_type = 'TABLE'
group by TO_CHAR(LAST_DDL_TIME, 'YYYYMM') order by 1;

Jerry Whittle
ACIFICS DBA
NCI Information Systems Inc.
jerome.whittle_at_scott.af.mil
618-622-4145

> -----Original Message-----
> From: Yuval Arnon [SMTP:Yuval.Arnon_at_wwfent.com]
>
> Hi,
>
> I am looking for ideas on what kind of metrics the DBA group should provide the management on a weekly basis so they can understand how the databases are evolving over time.
>
> These metrics should be simple enough as the management is not Oracle savvy.
>
> Thanks in advance!
>
> Yuval.
>
> Sr. DBA - WWF
>

-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.com
-- 
Author: Whittle Jerome Contr NCI
  INET: Jerome.Whittle_at_scott.af.mil

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
Received on Mon Apr 29 2002 - 14:38:47 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US