Oracle 9i Monitoring

Dear All,
I have a requirement to monitor our database(oracle 9i) for certain key critical performance and load related parameters. This performance data must be available for lookup for upto a week. This means that for example: there may be a reqeust from my manager to compare and look at the performance of our database during last week's wednesday and thursday. How do i go about setting it up?
Pl advice. Thanks,
Mahesh

user4608340 wrote:
Dear All,
I have a requirement to monitor our database(oracle 9i) for certain key critical performance and load related parameters. This performance data must be available for lookup for upto a week. This means that for example: there may be a reqeust from my manager to compare and look at the performance of our database during last week's wednesday and thursday. How do i go about setting it up?
I suggest you start reading about STATSPACK and AWR reports.
If you let the database create statspack reports e.g. two times on a day, each day, using AWR reporting you're able to compare these snapshots in time.
Best way to do this is start using the Database Monitor or "Oracle Enterprise Manager 10g"

Similar Messages

  • Oracle Workflow Monitor

    I've seen plenty of references to Oracle Workflow Monitor, but I've never paid much attention. Yesterday I got an error message from Control Center that instructed me to use Oracle Workflow Monitor to solve my problem (a process was running and needed to be shut down before regenerating).
    But how to I use Oracle Workflow Monitor? Is it installed by default when OWF was initially installed with OWB? What URL do I use access it? If it does not run after the conventional OWB install, is there a How-To document available for configuring it?
    To be clear, OWF seems to be set up and working. I have created and run process flows successfully. I've just experienced a weird problem that Control Center cannot seem to handle -- and I'm looking for answers. Frankly, I'm mystified at the lack of information on Oracle Workflow Monitor given that OWB error messages reference it and plenty of people seem to discuss it in technical forums.
    Thanks,
    David

    Thanks Robert!
    We are using OWB 11 on Oracle 11, but I'm going to press on and ask our DBA to install the OWF mid-tier components from the 10g Companioin CD. I don't think workflow has changed and so I'm hopeful.
    (If anybody has experience, please chime in for the record.)
    Thanks again!
    -David

  • Oracle - CCMS Monitor Templates

    Hi,
    In RZ20, The Oracle (Tablespaces) monitor templates are not available under Database.
    And the MTE class CCMS_DB_mcmtc is not there in the list.
    How to Maintain the data for this MTE class. Is it possible to create new MTE class.?
    Please Advice.
    Thanks in Advance
    Arun
    Edited by: ARUN PARAMASIVAM on Feb 2, 2010 12:14 PM

    Hi Anil,
    Thanks for your quick response.
    Oracle Database Alert should be there by default under Database Alert Monitor right. But i am not able to find the Oracle Monitor Set Itself.
    I tried by running the program "RSDBMON0" in SE38. That also doen't help.
    Please advise on how to get the Oracle monitor set under Database.
    Thanks
    Arun

  • ORAMON: Oracle Database Monitoring tool in PHP

    ORAMON is a free Oracle database monitoring tool written in PHP. It can help you in managing critical database administration task easily. It also offers SQL Editor where you can write your own customize queries.
    What you can monitor from Oramon?
    * Database/Listener status
    * Notification on database status
    * Hit ratios
    * User information
    * Rollback segments
    * Tablespaces
    and more..
    Please visit oramon website http://www.oramon.org for more detail.
    For download go to http://www.oramon.org/download.php

    Can you please list this project in open source project list?

  • Oracle database monitored using SNMP

    Hi guys,
    I have a problem that I can't seem to find the answer too...I tried google-ing, but found only pieces, and can't seem to figure out the big picture...So here goes:
    I am working with my team on a Data Warehouse project, and the entire app is written in PL/SQL and SQL code, running in an Oracle DB. Now, the PO wants to have SNMP monitoring, and in the last few days I looked into how can I achieve this (please note that I have little experience with Oracle, know about SNMP for like 2 days...and I am not sure even if I am posting in the right forum)...
    So after searching online, for an Agent for Oracle i found this website : http://www.oracle.com/technetwork/oem/grid-control/downloads/agentsoft-090381.html ..and I think this is what i need....(can anyone confirm this???)
    Anyway after downloading, and reading the instructions I choose to try the so called *2. Silent installation of the agent* and below are the instructions...
    For silent installation using the extracted agent download zip file, copy the <UNZIPDIR>\windows_x64\response\additional_agent.rsp file to a location on the local machine and modify the Value Unspecified entries accordingly. Invoke the setup.exe by executing:
    +<UNZIP_DIR>\windows_x64\agent\setup.exe -silent -responseFile <location>\additional_agent.rsp+
    So then I started editing the file additional_agent.rsp and everything was going well until I reached the following part:
    #OMS_HOST:<String> OMS host info required to connect to OMS
    #OMS_PORT:<String> OMS port info required to connect to OMS
    #AGENT_REGISTRATION_PASSWORD:<String> Agent Registration Password needed to
    # establish a secure connection to the OMS.
    OMS_HOST=-----
    OMS_PORT=----
    AGENT_REGISTRATION_PASSWORD=----
    I have no idea what to put in the OMS_HOST and OMS_PORT fields...What do they refer to?
    Other mentions Oracle DB is 11.2.0..OS is Windows 7
    Thanks for reading/help :)

    So I talked more with the PO...and the thing is our product is just a small part of a much bigger product...he said : *"we do not need the Oracle Enterprise Manager for monitoring; we are going to use a third-party SNMP management software... The Oracle SNMP agent will report to a third-party SNMP management software (e.g. Nagios or similar). "*
    My questions are :
    Can you install the Oracle Management Service without the Oracle Enterprise Manager? ...if not then :
    Can you run the Oracle Enterprise Manager with Oracle Standard Edition?
    I will search more on google for answers for these questions...and if I find them i'll post them here...Or maybe someone if faster and knows the answers..so he will post them :)

  • Oracle 9i monitoring scripts in HACMP 5.4

    Hi,
    I have installed Oracle 9.2.0.8 on AIX 5.3 (HACMP 5.4) in active passive cluster.
    I have made startup and shutdown scripts for Oracle.
    Can anyone please guide me or point me to some link for the monitoring scripts for Oracle in HACMP so that failover can happen automaticaly.
    Regards,
    Amit E

    Have you tried changing the /etc/redhat-release file? Change the "release 5" to "release 4" and see what happens. Make sure you change it back after the install.
    Tom

  • ORACLE performance monitor

    Hi All,
    Please advice me for the ORACLE system performance Monitor.
    Client asl us that they are facing speedy issues every morning over the past fortnight with our SEER reports in business objects where the pages are taking a long time to access or refresh.
    He ask us to monitor the oracle system performnace between 4 AM to 8 AM every morning, Please advice me how to monitor the performnace and what are all steps I have to take.
    What are all quries I have to use.
    We are using oracle 11.1.0.7 database.
    Thanks in advance
    Regards
    SAM

    >
    Hi Sam,
    Please advice me for the ORACLE system performance Monitor.There are lots of options - from within Oracle itself to 3rd
    party software, both free and commercial.
    Client asl us that they are facing speedy issues every morning over the past
    fortnight with our SEER reports in business objects where the pages are
    taking a long time to access or refresh.How do they know? Do they have actual figures to show that the
    system has slowed down.
    He ask us to monitor the oracle system performnace between 4 AM to 8 AM
    every morning, Please advice me how to monitor the performnace and what
    are all steps I have to take.Do you have any results from any monitoring done prior to now? If not,
    you're in trouble since you won't be able to detect any changes from a
    baseline.
    As was suggested, use AWR (if you're licenced), if not, use Statspack,
    every 30 mins or so and check to see if there are any bottlenecks.
    HTH,
    Paul...
    SAM

  • Oracle Performance monitoring GUI tools

    hi,
    We have Oracle 10g / 11g database on which SAP instances are running. Whenever, any bottleneck issue, I used to logon as ora<sid> and look for processes / space/ file system space etc.
    Wondering, if any Oracle GUI tool available to monitor. I am not very familiar with oracle tools.
    Thanks,
    Raj S

    Hi,
    Also you can use the Oracle tool - Oracle Enterprise Manager Database Control. The Oracle Universal Installer installs Oracle Enterprise Manager Database Control when you install the Oracle software. Enterprise Manager Database Control provides a Web-based interface that you can use to manage your Oracle instance and database.
    Regards,
    Sanujit

  • Oracle Graphical monitoring CPU

    Oracle Version: Oracle Database 10g Enterprise Edition Release 10.2.0.5.0 - 64bit
    O.S. : 64-bit Windows
    Hi,
    I'm monitoring the Oracle database by checking the performance from 17 APR to 19 APR.
    I used AWR and ADDM (txt format).
    Now I need to make the graphics CPU from 17 APR to 19 APR, but do not know any way to create these charts.
    Is there a graphical free tool or other self-diagnostic software or ADDM in html format to generate these graphs?
    What steps should I perform?
    Thanks in advance!

    Hi,
    What i do is run the below sql and then chart it using pivot in excel. You need to give the begin snap id and end snap id which you can get from dba_hist_snapshot .
    set verify off
    set feedback off
    set timing off time off
    set termout off
    set markup html on
    DEFINE DT=""
    column dt new_value dt
    select to_char(sysdate,'DDMONYY_HH24MISS') DT from dual;
    set timing on
    spool cpu_&DT..xls
    select to_char(begin_time, 'yyyy/mm/dd') s_day,
         to_char(begin_time, 'hh24:mi') s_min,
           round(average,2) avgval,
           round(maxval,2) maxval
      From DBA_HIST_SYSMETRIC_SUMMARY
    where metric_name='Host CPU Utilization (%)'
       and snap_id between &1 and &2 order by 1,2;
    set markup html off
    spool off
    EOL
    set termout on
    set feed on

  • Oracle 12c Monitor Repository

    Hi all,
    I have oracle Enterprise Manager cloud control  12c installed.
    The repository (database) is on a different machine.
    What I want to do is to add the repository as a normal database
    target to be monitored and administered (for example take backups)
    from within cloud control 12c.
    I tried installing the agent on the repository (machine) and it's running, when I check from the command line,
    but from within cloud control it gives me metric collection error.
    Is what I am trying to do not possible? Any body with similar experience, kindly advice.
    Thank You

    Hi,
    Could you provide further details of the errors you are seeing?
    Thanks, Mark.

  • Oracle VM Monitoring Using OEM

    Hi,
    We need to monitor Oracle VM using OEM, we have Oracle VM setup with Two Guest servers (Linux and Windows 2003 server).
    we have OEM 10.2.0.5.0 setup, and enabled Oracle VM Management Packeage also.
    Could you please help someone, how to configure and monitor Oracle VM using OEM.

    Hi vdosi,
    Thanks for ur promy reply....
    am just confusing abt this configaration....first we need to register virtual server in OEM console or create virtual server pool....but while registering Virtual server
    it telling "You are not yet licensed to use the Oracle VM Management Pack. If you like this functionality, please see your super administrator about obtaining a license"
    In our Oracle VM server, we are created Two Guest server (Windows 2003, RHEL 4)..Now we need to monitor Oracle VM and two guest servers....How can do this...if it possible...can u send me the document......please help me on this.....
    thanks in advance..
    Jayaram

  • Oracle Cluster monitoring

    Hi,
    Does any one know GUI tools which can monitor Cluster Health except GRID?
    thanks

    Spotlight from Quest Software Inc
    Edited by: user130038 on Aug 18, 2011 10:33 AM
    http://www.quest.com/spotlight-on-oracle/

  • Require Information Oracle BTM monitors

    Hi All,
    I need some information on Oracle BTM. I want to know we should deploy btmmonitors on which server. Do we need to deploy this archive btmMonitor.ear to the managed server which is hosting the business application (in my case soa_server1) or we need to create a new managed server with a name like btm_monitor_server and deploy the archive btmMonitor.ear file on that server.
    Please Guide!!! I am very new to Oracle BTM

    Hi Vishal,
    I have deployed btm monitor and observer and in the btm console the count against monitors is showing 1 like monitors(1) but the count against observers is showing 0 observer(0). I have deployed observer but its not reflectine in the btm console. Can you please tell me how can I verify the installation of observer in my managed server?
    Also no service discovery happen automatically. I registered a service manually by providing its WSDL. But no data for this service is avaialable on the btm console. Also when I selected the transaction tab it gave me the following message
    *"This service does not have any managed endpoints. To define message properties for this service, use the Network>Services view to first place the service under management."*
    But I am not able to find Network>Services View anywhere in the btm console
    Please help!!!
    I am doing it for the first time and also not much documents or help are avaialable at google.

  • ORACLE SERVER AND UNIX TP MONITOR-1

    제품 : ORACLE SERVER
    작성날짜 : 2002-05-17
    ====================================================================
    Subject: Oracle Server and UNIX Transaction Processing Monitors - 1
    =====================================================================
    PURPOSE
    This file contains commonly asked questions about Oracle Server and UNIX
    Transaction Processing Monitors (TPMs). The topics covered in this article are
         o What is a Transaction Processing Monitor (TPM)?
         o What is the X/Open Distributed Transaction Processing Model?
         o How does the Oracle Server works with TPMs?
         o How should I position TPMs with my customer?
         o What Oracle products must a customer purchase?
         o Where can my customer purchase a TPM?
         o Availability and packaging
    Explanation & Example
    What is a Transaction Processing Monitor?
    =========================================
    Under UNIX, a Transaction Processing Monitor (TPM) is a tool that coordinates
    the flow of transaction requests between front-end client processes that issue
    requests and back-end servers that process them. A TPM is used as
    the "glue" to coordinate transactions that require the services of several
    different types of back-end processes, such as application servers and
    resource managers, possibly distributed over a network.
    In a typical TPM environment, front-end client processes perform screen
    handling and ask for services from back-end server processes via calls to the
    TPM. The TPM then routes the requests to the appropriate back-end server
    process or server processes, wherever they are located on the network. Through
    configuration information, the TPM knows what services are available and where
    they are located. Generally, the back-end server processes are specialized so
    that each one handles one type of requested service. The TPM provides
    location transparency as well and can send messages through the network
    utilizing lower-level transport services such as TCP/IP or OSF DCE.
    The back-end servers process the requests as necessary and
    return the results back to the TP monitor. The TP monitor then routes
    these results back to the original front-end client process.
    A TPM is instrumental in the implementation of truly distributed processing.
    Front-end clients and back-end processes have no knowledge of each
    other. They operate as separate entities, and it is this concept that provides
    flexibility in application development. Front-end and back-end processes are
    developed in the UNIX client-server style, with each side optimized for its
    particular task. Server functionality can be deployed in stages, which makes
    it easy to add functionality as needed later in the product cycle. It also
    makes it easy to distribute both the front-end and back-end processes
    throughout the network on the most appropriate hardware for the job. In
    addition, multiple back-end server processes of the same type might be
    activated to handle increasing numbers of users.
    What is the X/Open Distributed Transaction Processing Model?
    ============================================================
    The X/Open Transaction Processing working group has been working
    for several years to establish a standard architecture to implement
    distributed transaction processing on open systems. In late 1991,
    X/Open published the initial Distributed Transaction Processing (DTP)
    model specification and defined the first of several interfaces that
    exist between the components of the model. Subsequently, other publications
    and a revised model specification have been published.
    An important function of the TPM in the X/Open DTP model is the
    synchronization of any commits and rollbacks that are required to complete
    a distributed transaction request. The Transaction Manager (TM) portion
    of the TPM is the entity responsible for ordering when distributed commits
    and rollbacks will take place. Thus, if a distributed application program
    is written to take advantage of the TM portion of the TPM, then it,
    and not the DBMS, becomes responsible for enabling the two-phase commit
    process. Article 2 has more detail on this model.
    How does the Oracle Server work with TPMs?
    ==========================================
    When a TPM is used without invoking an X/Open TM component to manage the
    transactions, Oracle Server needs no special functionality. The transaction
    will be managed by Oracle itself. However, when the TPM X/Open TM component
    is used to manage the transaction, the Oracle Server, that is the Oracle DBMS,
    acts as a Resource Manager--a type of back-end process. In the case of
    TPM-managed transactions, the TM needs a way to tell the RMs about the stages
    of the transaction. This is done by a standard, X/Open defined interface
    called XA. Article 2 of of this document gives more information about both
    the X/Open model and Oracle7's use of XA.
    Because the XA interface provides a standard interface between the TM and the
    resource manager, it follows that the TM can communicate with any XA-compliant
    resource manager (e.g., RDBMS), and, conversely, that a resource manager can
    communicate with any XA-compliant TM. Thus, the Oracle Server, beginning with
    Oracle7, works with any XA-compliant TM.
    How should I position TPMs with my customer?
    ============================================
    There's been a great deal of confusion about the need for TPM technology. Some
    software suppliers, most notably IBM, will assert that a TPM like CICS is a
    necessary requirement for high volume OLTP. Other vendors will assert that
    there is seldom a need for such technology. And yet others promote TPMs as
    providers of higher transaction throughput.
    From Oracle's standpoint, customers might choose TPM technology under any of
    the following conditions:
    1. For heterogeneous database access, especially for 2PC capability
         This means that a TPM can be used to coordinate 2PC between Oracle
         DBMS and any other XA-compliant database, such as Informix. This
         does NOT provide SQL heterogeneity - SQL calls to Oracle DBMS may be
         different than SQL calls to Informix. The TPM handles the routing,
         communication, and two-phase commit portion of the transaction, but
         does not translate one type of SQL call into another.
    2. For transaction monitoring and workload control
         The leading TPMs supply tools to actively manage the flow of
         transactions between clients and servers and to load balance the work
         load across all available processors on a network, not just on a
         single multi-processor system. Some TPMs also have the ability to
         dynamically bring up additional back-end services during peak work
         hours.
    3. For more flexible application development and installation
         One of the key features of the DTP model is application modularity.
         Modularity, that is, the decomposition of a large program into small,
         easily defined, coded and maintained "mini-programs" makes it easy to
         add new functionality as needed. Modularity also makes it much easier
         to distribute the front-end and back-end processes and the resource
         managers across hardware throughout a network.
    4. For isolating the client from details of the data model
    By using the service oriented programming model, the client program
         is unaware of the data model. The service can be recoded to use a
         different one with no change to the client. To get this advantage,
         the application developer must explicitly code the server and client
         to fit the service model.
    5. For connection of thousands of users
         TP Monitors, because of their three-tier architecture, can be used
         to connect users to an intermediate machine or machines, removing
         the overhead of handling terminal connections from the machine
         actually running the database. See Article 4 for more information.
    There are also several cases where TPM technology is not the right answer.
    These include:
    1. If the customer is simply looking for a performance improvement
         The customer may have heard a theory that "higher performance
         is possible for large scale applications only if they use a
         TP monitor". First, no performance gain can be achieved for
         existing applications; in fact, they won't even run under a TP
         Monitor without recoding. Second, performance improvements have
         only been documented for large numbers of users, and "large"
         means many hundreds or thousands. Without a TP Monitor,
         Oracle Server can handle several hundred users with its normal
         two-task architecture and several times that using the Multi
         Threaded Server. For more on performance, see Article 4.
    2. If the customer has made large investment in his existing Oracle
    applications
         TP monitor applications must be designed from the ground up to take
         advantage of TP monitor technology. Current Oracle customers will find
         it difficult to "retrofit" a TP monitor to their existing applications.
         The Multi Threaded Server, on the other hand, allows the use of
         existing Oracle applications without change.
    3. If the customer is committed to the Oracle tool set
         Currently, none of Oracle's front-end tools (Oracle Forms, etc.) is
         designed to work with TP monitors. It is possible to invoke a
         TP Monitor by using user exits. However, the fact that the TP
         Monitor model hides the data model from the client means that only
         the screen display parts of Forms can be used, not the automatic
         mapping from screen blocks to tables.
    4. If the customer does not have a staff of experienced software engineers
         This is still very young technology for UNIX. There is not a lot of
    knowledge in the industry on how to build TP monitor applications or
    what techniques are most useful and which are not. Furthermore,
         integrating products from different vendors, even with the support
         of standard interfaces, is more complex than deploying an integrated
         all-Oracle solution. Because TP monitor technology is fairly
         complex, we recommend that you let the TP monitor supplier promote
         the virtues of their technology and differentiate themselves from
         their competitors.
    What Oracle products must a customer purchase?
    ==============================================
    If your customer is only interested in building Oracle-managed TP Monitor
    transactions, the only Oracle products required are the Oracle Server
    and the appropriate Oracle precompiler for whatever language the
    application is being written in--most likely C or Cobol. If TPM-managed
    transactions are required, the Oracle7 Server with the distributed option
    is also required. SQL*Net is optional because the TPM takes care of the
    network services. Article 2 describes when you would choose to have the TP
    Monitor manage the transactions.
    Where can my customer purchase a TPM?
    =====================================
    There are many vendors offering the UNIX TPM products. (Oracle does not
    relicense TPMs.) Information on the most well known products is provided
    below:
    The following support XA:
    Product & Vendor     FCS          Known OS/Platform Ports
    "TUXEDO System/T"     1986          UNIX SVR4 & SVR3: Amdahl, AT&T,
    UNIX System Laboratories          Bull, Compaq, Dell, Fujitsu, ICL,
    190 River Road                    Motorola, Olivetti, Pyramid,Sequent,
    Summit, NJ 07901               Sun, Toshiba, Unisys, NCR, Stratus
                             Other: IBM AIX, HP/UX, DEC Ultrix
    "TOP END"      1992          UNIX SVR4: NCR
    NCR Corporation
    1334 S. Patterson Blvd.
    Dayton, OH 45479
    "ENCINA"          1992          IBM AIX, HP, Sun (SunOS and Solaris)
    Transarc Corporation               Other: OS/2, DOS, HP-UX, STRATUS
    707 Grant Street (Depends on DCE)
    Pittsburgh, PA 15219
    "CICS/6000" 1993          AIX: IBM
    IBM Corporation                    (Depends on DCE)
    "CICS 9000" 1994          HP-UX
    HP
    The following do not currently support XA:
    Product & Vendor     FCS          Known OS/Platform Ports
    "VIS/TP"          unknown          unknown
    VISystems, Inc.
    11910 Greenville Avenue
    Dallas, TX 75243
    "UniKix"          1990          UNIX: ARIX, AT&T, NCR, Pyramid,
    UniKix                     Sequent, Sun, Unisys      
    "MicroFocus           1993          SCO Unix, AIX
    Transaction System"
    Micro Focus
    26 West Street
    Newbury RG13 1JT
    UK
    There are also several third parties who are reselling the products listed
    above.
    In addition, Groupe Bull, Digital, Siemens-Nixdorf, and several other hardware
    vendors are planning to redesign their proprietary TPMs to be XA-compliant and
    suitable for use on UNIX systems.
    Availability and Packaging
    ==========================
    On what platforms is the XA Library available?
    Oracle provides the XA interface with Oracle7 Server on all platforms that
    support an XA-compliant TPM. Support for XA is included as part of the
    Oracle7 Server distributed option and has no extra charge in and of itself.
    Which version of XA does Oracle Server support?
    Oracle7 Server supports the Common Application Environment (CAE) version of
    XA, based on the specification published by X/Open in late 1991. It will
    require that the TM also be at that level. This means Tuxedo /T version 4.2,
    for example.
    Oracle Server supports all required XA functions. There are some optional
    features Oracle Server does not support, such as asynchronous operation.
    None of those options affect application programming.
    Page (2/4)
    This file contains commonly asked questions about Oracle Server and UNIX
    Transaction Processing Monitors (TPMs). The topics covered in this article are
         o Oracle Server Working with UNIX TPMs
         o TPM Application Architecture
    The questions answered in part 2 provide additional detail to the information
    provided in part 1.
    Oracle Server Working with UNIX TP Monitors
    ===========================================
    Do I need XA to use Oracle Server with TPMs? If I don't use it, what are
    the consequences?
    There are a number of real applications running today with Oracle Server and
    TPMs but not using XA. To use a TPM with Oracle without using XA, the user
    would write an "application server" program which could handle one or more
    "services". For example, a server program might handle a service called
    "debit_credit". The key requirement is that the entire transaction,
    including the "commit work", must be executed within a single service. This
    is the restriction which XA will remove, as we'll see later. Each
    server process can serially handle requests on behalf of different clients.
    Because a server process can handle many client processes, this can
    reduce the total number of active processes on the server system,
    thereby reducing resource requirements and possibly increasing overall
    throughput.
    When Oracle is used with a TPM in this mode, we call it an Oracle-managed
    transaction since the transaction commit or rollback is done with a SQL
    statement.
    What is XA? How does XA help Oracle7 work with UNIX TPMs?
    XA is an industry standard interface between a Transaction Manager and a
    Resource Manager. A Resource Manager (RM) is an agent which
    controls a shared, recoverable resource; such a resource can be
    returned to a consistent state after a failure. For example, Oracle7 Server
    is an RM and uses its redo log and undo segments to be able to do this.
    A Transaction Manager (TM) manages a transaction including the
    commitment protocol and, when necessary, the recovery after a failure.
    Normally, Oracle Server acts as its own TM and manages its own commitment
    and recovery. However, using a standards-based TM allows Oracle7 to
    cooperate with other heterogeneous RMs in a single transaction.
    The commonly used TPMs include a TM component for this purpose. In order to
    use the TM capability of the TPM rather than Oracle7's own transaction
    management, the application uses a transaction demarcation API (called TX)
    provided by the TPM rather than the SQL transaction control statements (e.g.
    "commit work"). For each TX call, the TM then instructs all RMs, by the
    appropriate XA commands, to follow the two-phase commit protocol. We
    call this a TPM-managed transaction.
    The following picture shows these interfaces within a monolithic application
    program model. This is the model most commonly described in the
    DTP literature. We'll see later what the picture looks like when we add
    Oracle7 and when we switch to a modularized client-server application
    program model.
              | |
              | |
              | Application Program (AP) |
              | |
              | |
                   | | |                    |
    Resource Manager API | | | |
    (e.g. SQL) -----|--|------------- | TX API
              | | v |          |
              --------|-------------     |          |
              | v | | v
         ---------------------- | | --------------------
         | | | | | |
         | Resource | | |<----->| Transaction |
         | Managers | |--- | Manager |
         | (RMs) | |<-------->| (TM) |
         | |--- | |
         | |<----------->| |
         ---------------------- XA --------------------
                        Interface
    The XA interface is an interface between two system components, not
    an application program interface; the application program does
    not write XA calls nor need to know the details of this interface.
    The TM cannot do transaction coordination without the assistance of
    the RM; the XA interface is used to get that assistance.
    How does the DTP Model support client-server?
    The above picture was actually simplified to make it easier to explain
    the role of XA. In a true distributed transaction architecture, there
    are multiple applications, each with an Application Program, a Resource
    Manager, and a Transaction Manager. The applications communicate by
    using a Communication Resource Manager. The CRM is generally provided
    as a component of the TPM. It includes the transaction information when
    it sends messages between applications, so that both applications can
    act of behalf of the same transaction. The following picture
    illustrates this:
    Client Application
    | AP |
    ||| | |
    SQL ||| | TX | CRM
    ||V V | API
    -||-- ----- |
    | |V | | | V
    --|-- |<---| | -----
    | V || | | | |
    ----- |<----| TM |<-->| CRM |
    | || | |XA+ | |
    | RMs |<-----| | -----
    | | XA | | A
    ----- ----- | Server Application
    | -----------------------------
    | | AP |
    | -----------------------------
    | ||| | |
    | SQL ||| | TX | CRM
    | ||V V | API
    | -||-- ----- |
    | | |V | | | V
    | --|-- |<---| | -----
    | | V || | | | |
    | ----- |<----| TM |<-->| CRM |
    | | || | |XA+ | |
    | | RMs |<-----| | -----
    | | | XA | | A
    | ----- ----- |
    | |
    | |
    -------- |
    / |
    / |
    / |
    Most TP Monitor products include both a TM and a CRM, and also provide
    additional functions such as task scheduling and workload monitoring.
    What is XA+? What does Oracle need to do to comply with it?
    XA+ is an interface that lets the X/Open model actually be distributed
    because it allows a communication resource manager to tell a TM on the
    server that a message from a client just came in for a particular
    transaction. Oracle is not currently planning to provide an X/Open
    communication resource manager, so we don't have any plans right now
    to do XA+. Version 2 of the DTP model paper from X/Open describes it.
    The status of the current XA+ specification is "snapshot".
    When would I choose an Oracle-managed transaction vs a TPM-managed
    transaction?
    Oracle Server is very efficient at managing its own transactions. If
    the TPM manages the transaction, in general some additional overhead
    will be incurred.
    The two main reasons a customer might prefer to use a TPM-managed
    transaction are as follows:
    (1) He may need to update RMs from different vendors. Experience so far
    has been that the most common case is wanting to update both Oracle and
    a TP Monitor managed resource such as a transactional queuing service
    in the same transaction (see Article 3).
    (2) He may want to use the model of having several different services in
    a transaction, even to the same database. For example, the
    "debit_credit" service could be split into a "debit" service and a
    "credit" service. This is a very attractive model, but this type of
    modularity does exact a performance penalty (see Article 4).
    Can I get a version of XA to run on Oracle Server version 6?
    No, the XA functionality uses two underlying mechanisms in the Oracle
    Server which are not available in version 6: two-phase commit and
    session switching. The upi calls for these functions do not not exist
    in version 6.
    When would I use XA vs Oracle7 to coordinate all-Oracle distributed
    transactions?
    Generally speaking, Oracle Server should be used to coordinate all-Oracle
    distributed transactions. The main reason for using XA to coordinate
    transactions would be that you want to use the TP Monitor service-oriented
    architecture. That is, you would like to construct an application built of
    services and service requests in order to benefit from the modularity and
    workload control such an environment provides.
    TP Monitor Application Architecture
    ===================================
    What might a TP Monitor application look like?
    Most TPM applications will consist of two more more programs, where
    there are front-end client programs which request services and back-end
    server programs which provide services. In this case, the TPM supplies an
    additional capability which is transactional communication. The client
    describes the boundaries of the transaction, through the use of the TX API,
    and the TPM relays that transaction information to each requested service.
    The overall application structure generally looks like the following in the
    client-server model. The "TP Monitor Services" box is not necessarily a
    process. It could be one or more processes, or just libraries coordinating
    through shared memory. Each client process and server process could be on
    a different machine. Normally, the application server processes would be
    connected to their Oracle Server processes using the IPC driver; the TPM
    would be used to deliver messages between application client processes on
    one machine and application server processes on another. However, the
    application server processes could also be connected with the standard
    Oracle SQL*Net to shadow processes on different machines. This might be
    useful if one of the databases was on a machine which did not support TPMs.
    |Application| |Application| |Application|
    | Client 1 | | Client 2 | | Client 3 |
    | | | | | |
    \ TPM API | TPM API / TPM API
    | |
    | TP Monitor Services |
    | |
         | --------------------- |
    | | Transaction Manager | |
    ---------------|---------------|---------------------
    TPM API | | XA | XA | TPM API
    | | inter- | inter- |
              | | face | face |
              | | | |
    ----------- | | -----------
    |Application| | | |Application|
    | Server 1 |--- ---| Server 2 |
    | (Pro*C) | | | | (Pro*C) |
    | SQL | SQL
    | | | |
    | Resource ----------- ----------- |
    | Manager | | | | |
    | | Oracle7 | | Oracle7 | |
    | | Server | | Server | |
    | | Process | | Process | |
    | | | | | |
    | ----------- ----------- |
    | | | |
    | ----------------------------------------------------- |
    | | | |
    | | SGA | |
    | | | |
    | ----------------------------------------------------- |
    | |
    Application client programs might be written in C and be linked with
    TPM libraries. Alternatively, they could use a screen painter product.
    Application server programs would be written in Pro*C or Pro*COBOL and
    be linked with TPM libraries, the normal Oracle7 user-side libraries
    and libxa.a. The Oracle7 Server process is the regular Oracle7 executable.
    More complicated application architectures can also be constructed. Most of
    the TPMs allow a server to become a client of another service, so you can
    involve additional servers.
    Could I use Oracle7's Multi Threaded Server as the SQL*Net connection in the
    previous picture?
    Yes, but that will not be needed in many cases. For example, both
    application server processes in the previous picture could talk to a
    single Oracle7 Server process through the Multi Threaded Server in the
    previous picture. However, since the TPM architecture typically reduces
    the number of server processes, the reduction in processes using Multi
    Threaded Server may be less significant than in an architecture without
    TPMs. If the application will use database links, however, then MTS will
    be required.
    How do I write an Oracle TP Monitor application?
    The actual API used to talk to the TPM varies between vendors, so you need
    to get the documentation from the vendor. However, all have a way to
    indicate where a transaction begins and ends and a way to send a request
    and receive a response from a client to a server. Some use an RPC model,
    some use a pseudo-RPC model, and some use a send/receive model. The TX API
    described earlier is a subset of the TPM API as defined by each of
    the TPM providers.
    The client program and server program might look something like the
    following examples. We h (such as Tuxedo's
    "tpacall
    Reference Ducumment
    ---------------------

    hello,
    the role is the same on all plattforms. the reports server takes requests for running reports, spawns an engine that executes the request. in addition to that, the server also provides scheduling services and security features for the reports environment.
    regards,
    the oracle reports team

  • Use OEM to monitor oracle database size

    Hello All,
    We currently have several database which are currently monitored via OEM however i will appreciate if anyone can tell me how i can monitor the the size of my oracle databases via oem
    Thanks

    Hi,
    I'm not sure of OEM will monitor database size, but many 3rd party tools do.
    There are many ways to achieve Oracle table monitoring, and many create specialized extension metadata tables to monitor Oracle table growth. In Oracle 10g you can perform Oracle tables monitoring with the dba_hist_seg_stat tables, specifically the space_used_total column.
    On my databases, I create STATSPACK extension tables to track table and overall database growth:
    http://www.dba-oracle.com/te_table_monitoring.htm
    The full scripts are in my Oracle Press book, Oracle tuning with STATSPACK . . .
    http://www.amazon.com/Oracle9i-High-Performance-Tuning-STATSPACK-Burleson/dp/007222360X
    Hope this helps . . .
    Donald K. Burleson
    Oracle Press author
    Author of "Oracle Tuning: The Definitive Reference"
    http://www.rampant-books.com/book_2005_1_awr_proactive_tuning.htm

Maybe you are looking for