ÉèΪÊ×Ò³ ¼ÓÈëÊÕ²Ø

TOP

ʹÓÃORACLESTREAMSTRMMON¼à¿Ø¹¤¾ß(Îå)
2015-11-21 01:47:42 À´Ô´: ×÷Õß: ¡¾´ó ÖРС¡¿ ä¯ÀÀ:1´Î
Tags£ºÊ¹Óà ORACLESTREAMSTRMMON ¼à¿Ø ¹¤¾ß
t The STRMMON output format comes in two formats: default and long.

The default format reports the rate of activity occuring for Streams processes.

The long format provides the detailed information that was available in previous releases of STRMMON. The reporting interval and number of iterations to display are configurable.

The strmmon output begins with a banner line identifying the program parameters and database. This information is followed with a brief description of the major components of the output display.
strmmon¹¤¾ßµÄÊ×ÏÈÊä³ö°æ±¾ÐÅÏ¢ºÍ¸ñʽ˵Ã÷Á½²¿·Ö

After this initial information about the program, Strmmon produces a single line of output representing the current status of Oracle Streams after the requested interval for each iteration. For example, if strmmon is invoked with '-interval 3 -count 5¡¯, a line of output will be displayed every 3 seconds. After 5 lines have been displayed (15 seconds), the monitoring will end. .
È»ºó£¬strmmonÿ¼ä¸ôÒ»¶¨Ê±¼ä£¬Êä³öÒ»´ÎstreamsµÄ״̬ÐÅÏ¢

Each line is composed of multiple blocks of information dependent on the streams processes configured within the database. These blocks are displayed by a keyword to identify the component followed by the statistics for that particular component. The separator between the components is the '|' symbol.

There are 7 components for Streams: LOG, NET, Cxxx, Qx, PRxx, PSxx and Axxx.
strmmonµÄÊä³ö°üº¬7¸ö ×é¼þ£ºlog net cxxx qx prxx psxx axxx

Except for the LOG and NET components, multiple occurrences of each component are possible dependent on the streams processes configured at database.

ARxx (Apply Reader) and ASxx (Apply Server) are subcomponents associated with each Axxx component.

An example of this identifying output is shown below:
% strmmon -interval 3 -count 5 -sysdba

STREAMS Monitor, v 2.5 Copyright Oracle Corp. 2002, 2005.
Interval = 3, Count=5
Logon= @ ORACLE 10.2.0.2.0
Streams Pool Size = 152M

LOG : ÈÕÖ¾ÐÅÏ¢
NET: ÍøÂçÐÅÏ¢
Cxxx: captureÐÅÏ¢
MEM : % stream pool ÐÅÏ¢
PRxx: ½ÓÊܵÄmessageÐÅÏ¢
Qx : queueÐÅÏ¢
PSxx: propagationÐÅÏ¢
Axxx: applyÐÅÏ¢
: flow control in effect
: potential bottleneck DZÔ򵀮¿¾±
AR: apply reader
AS(n): n number of apply server
:
xx->: database instance name
To connect to multiple databases, the following command can be issued. inst1 and inst2 are the network service names (tnsnames.ora) for each database.

An example of the identifying output for the long report is shown below
Á´½Ó¶à¸öÊý¾Ý¿âµÄʾÀý£º
% strmmon -interval 1 -count 1 -user sys -passw change_on_install \
-dbname inst1 -user sys -passw change_on_install -dbname inst2 \
-sysdba -long

STREAMS Monitor, v 2.5 Copyright Oracle Corp. 2002, 2005.
Interval = 3, Count=5
Logon=sys@inst1 ORACLE 10.2.0.2.0
Streams Pool Size = 152M

LOG :
NET:
Cxxx:
MEM : %
PRxx: /
Qx : /
PSxx: /
Axxx:
: flow control in effect
: potential bottleneck
AR: apply reader
AS(n): n number of apply serve
:
xx->: database instance name


STREAMS Monitor, v 2.5 Copyright Oracle Corp. 2002, 2005.
Interval = 3, Count=5
Logon=sys@inst2 ORACLE 10.2.0.2.0
Streams Pool Size = 152M

LOG :
NET:
Cxxx:
MEM : %
PRxx: /
Qx : /
PSxx: /
Axxx:
: flow control in effect
: potential bottleneck
AR: apply reader
AS(n): n number of apply serve
:
xx->: database instance name
NOTE: The information about the Streams Pool Size is displayed only for database versions greater than or equal to 10gR1.
LOG

Information about the redo log activity is written in this block.

The first statistic following the LOG: keyword is the current SCN that has been written to the redo log. This number
Ê×Ò³ ÉÏÒ»Ò³ 2 3 4 5 6 7 ÏÂÒ»Ò³ βҳ 5/7/7
¡¾´ó ÖРС¡¿¡¾´òÓ¡¡¿ ¡¾·±Ìå¡¿¡¾Í¶¸å¡¿¡¾Êղء¿ ¡¾ÍƼö¡¿¡¾¾Ù±¨¡¿¡¾ÆÀÂÛ¡¿ ¡¾¹Ø±Õ¡¿ ¡¾·µ»Ø¶¥²¿¡¿
·ÖÏíµ½: 
ÉÏһƪ£ºORACLE¨D010£ºµ÷ÓÃÓÐÓαê²ÎÊýµÄ´.. ÏÂһƪ£ºORACLE database consoleÎÞ·¨µÇ½

ÆÀÂÛ

ÕÊ¡¡¡¡ºÅ: ÃÜÂë: (ÐÂÓû§×¢²á)
Ñé Ö¤ Âë:
±í¡¡¡¡Çé:
ÄÚ¡¡¡¡ÈÝ: