|
Oracle Streams STRMMON Monitoring Utility [ID 290605.1]
In this Document Purpose Scope and Application Oracle Streams STRMMON Monitoring Utility Installation Usage Output Known problems References
Applies to: Oracle Server - Enterprise Edition - Version: 9.2.0.1 to 10.2.0.4 - Release: 9.2 to 10.2
Information in this document applies to any platform.
On release 11G and onwards STRMMON functionality has been replaced by the Streams Performance Advisor distributed within the Streams product and implemented through DBMS_STREAMS_ADVISOR_ADM PL/SQL package. Please refer to chapter "Monitoring the Oracle Streams Topology and Performance" on "Oracle Streams Concepts and Administration 11g Release 1" guide for further information on the Streams Performace Advisor
strmmon¹¤¾ßÊÊÓÃÓÚoracle9iºÍ10g£¬ÔÚ11gÖУ¬oracleÌṩÁËStreams Performance AdvisorÀ´Ìæ´ústrmmon£¬Streams Performance Advisorͨ¹ýDBMS_STREAMS_ADVISOR_ADM PL/SQL ʵÏ֯书ÄÜ¡£
Purpose ***Checked for relevance on 10-Jan-2011***
The purpose of the note is to explain how to install, use and interpret the output of STRMMON utility.
±¾ÎĵÄÄ¿µÄÖ¼ÔÚ˵Ã÷ÈçºÎ°²×°£¬Ê¹ÓÃstrmmon¹¤¾ß£¬ÈçºÎÀí½âstrmmon¹¤¾ßµÄÊä³ö
Scope and Application STRMMON is a monitoring tool focused on Oracle Streams. Using this tool,Database administrators get a quick overview of the Streams activity occurring within a database.
STRMMON can also be used to report Streams activity on two databases at a time within the same strmmon session.
strmmon¹¤¾ß¿ÉÒÔͬʱ¼à¿ØÁ½¸öÊý¾Ý¿â
In releases 9i and 10G Release 1, STRMMON is not a supported tool, as of Oracle 10g Release 2, STRMMON is distributed as in the demo directory of the database distribution code.
ÔÚoracle9iºÍ10g1ÖУ¬Ä¬ÈÏûÓа²×°strmmon£¬ÐèÒªÎÒÃǵ¥¶À
ÏÂÔØstrmmonѹËõ°üÀ´°²×°£¬ÔÚ10g2ÖУ¬oracleĬÈÏÌṩstrmmon°²×°Îļþ£¬Î»ÖÃÔÚ$ORACLE_HOME/rdbms/demo
Also note that alternatively and in newer releases of RDA you can get using similar information that STRMMON retrieve by using Streams Monitoring Information module (STM). So you can get this information by running
./rda.sh -vCRP STM or
./rda.sh -vCRP OS DB DBA NET D2PC STC STM
Oracle Streams STRMMON Monitoring Utility
Installation STRMMON is delivered as a zip file that includes an OCI program and make file for use with Oracle releases prior to 10g Release 2.
Click here to download the STRMMON zip file. Change directory to a new directory. If necessary transfer the tar file in BINARY mode. Extract the files from the zip file.
For releases prior to Oracle Database 10g Release 2
Create a directory for the STRMMON files. Extracted the files from the downloaded STRMMON.zip file. Before compiling and linking the strmmon program, make sure that the ORACLE_HOME and LD_LIBRARY_PATH environmental variables are set up appropriately. To compile and link, use the command:
make ¨Cf strmmon.mk strmmon
ÔÚoracle9iºÍ10g1Ï£¬Ê×ÏÈÎÒÃÇÏÂÔØstrmmonѹËõ°ü£¬½âѹºó£¬ÔËÐÐ make -f stmmon.mk strmmonÃüÁÔÚÔËÐÐÃüÁîǰ£¬ÐèÒªÕýÈ·ÉèÖÃORACLE_HOMEºÍLD_LIBRARY_PATH»·¾³±äÁ¿¡£
After the program has been compiled and linked, strmmon can be used for monitoring a Streams environment.
NOTE: STRMMON is an OCI program. If you have difficulty using the supplied make file, follow the recommended procedure for compiling and linking OCI programs for your platform. (demo_rdbms.mk in the $ORACLE_HOME/rdbms/demo directory).
The strmmon.mk file identified above is a copy of the demo_rdbms.mk file from the Oracle 9i Database Release 2 software for the Solaris 32-bit platform.
Èç¹ûʹÓÃÉÏÃæµÄ·½Ê½ÎÞ·¨±àÒëstrmmon£¨Ñ¹Ëõ°üÖÐµÄ strmmon ÊÇ9iÏ solaris 32 ƽ̨ÏÂdemo_rdbms.mkµÄ¿½±´£©£¬¿ÉÒÔ²ÉÓÃÏÂÃæµÄ·½·¨ÊÔÒ»ÊÔ
For Ora |