- 最后登录
- 2019-8-5
- 在线时间
- 74 小时
- 威望
- 51
- 金钱
- 703
- 注册时间
- 2012-3-1
- 阅读权限
- 50
- 帖子
- 94
- 精华
- 1
- 积分
- 51
- UID
- 271
|
1#
发表于 2013-12-13 09:56:31
|
查看: 4255 |
回复: 9
本帖最后由 Mille 于 2013-12-13 09:57 编辑
aix 6100+oracle 11.2.0.3 rac
两个节点sga pga参数一致, vmstat free 相差比较大??
rac1 Topas
Topas Monitor for host: rac1 EVENTS/QUEUES FILE/TTY
Fri Dec 13 09:04:52 2013 Interval: 2 Cswitch 8543 Readch 681.4K
Syscall 56368 Writech 172.1K
CPU User% Kern% Wait% Idle% Reads 677 Rawin 0
ALL 1.4 1.4 0.4 96.8 Writes 304 Ttyout 430
Forks 23 Igets 0
Network KBPS I-Pack O-Pack KB-In KB-Out Execs 24 Namei 17560
Total 151.3 157.0 89.0 117.3 34.0 Runqueue 0.5 Dirblk 0
Waitqueue 0.5
Disk Busy% KBPS TPS KB-Read KB-Writ MEMORY
Total 1.8 1335.3 296.0 64.0 1271.4 PAGING Real,MB 58368
Faults 9167 % Comp 49
FileSystem KBPS TPS KB-Read KB-Writ Steals 0 % Noncomp 50
Total 667.5 508.4 577.5 90.0 PgspIn 0 % Client 50
PgspOut 0
Name PID CPU% PgSp Owner PageIn 0 PAGING SPACE
sendmail 25690720 0.7 2.1 root PageOut 20 Size,MB 46080
oracle 37290646 0.2 15.2 grid Sios 20 % Used 0
ohasd.bi 4260132 0.1 59.8 root % Free 100
gipcd.bi 4718916 0.1 27.0 grid NFS (calls/sec)
evmd.bin 3474038 0.1 41.6 grid SerV2 0 WPAR Activ 0
crsd.bin 4784880 0.1 81.5 root CliV2 0 WPAR Total 0
octssd.b 3932428 0.1 16.2 root SerV3 0 Press: "h"-help
oracle 31982020 0.1 28.8 oracle CliV3 0 "q"-quit
oracle 2425562 0.1 22.8 grid
ocssd.bi 3670676 0.1 119.2 grid
oracle 21365254 0.1 15.1 grid
oraroota 5440026 0.0 30.1 root
oracle 25362864 0.0 33.1 oracle
cssdmoni 4522648 0.0 77.0 root
osysmond 3867332 0.0 115.9 root
gil 1245830 0.0 0.9 root
oracle 3801126 0.0 27.2 grid
oracle 31588844 0.0 14.8 oracle
reaffin 589850 0.0 0.6 root
oracle 24511060 0.0 25.4 oracle
oracle@rac1[/home/oracle]$vmstat 1 10
System configuration: lcpu=48 mem=58368MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
1 0 6822232 33863 0 0 0 0 0 0 396 87101 8236 2 1 96 0
2 0 6822024 34057 0 0 0 0 0 0 507 57470 8683 1 1 97 0
2 0 6822077 33999 0 0 0 0 0 0 465 56840 8987 2 1 96 0
1 0 6822113 33961 0 0 0 0 0 0 374 42676 8004 1 1 98 0
1 0 6822025 34049 0 0 0 0 0 0 515 68056 8164 4 1 95 0
0 0 6822025 34048 0 0 0 0 0 0 392 50710 7685 1 1 97 0
3 0 6822113 33957 0 0 0 0 0 0 486 93696 7944 2 1 96 0
4 0 6822079 33992 0 0 0 0 0 0 353 53110 8101 1 1 97 0
1 0 6822081 33990 0 0 0 0 0 0 407 51367 8172 1 1 97 0
2 0 6822031 34038 0 0 0 0 0 0 330 80944 8155 1 1 97 0
rac2 vmstat
oracle@rac2[/home/oracle]$vmstat 1 10
System configuration: lcpu=48 mem=58368MB
kthr memory page faults cpu
----- ----------- ------------------------ ------------ -----------
r b avm fre re pi po fr sr cy in sy cs us sy id wa
0 0 5438806 3792351 0 0 0 0 0 0 109 27280 9954 1 1 98 0
0 0 5438806 3792349 0 0 0 0 0 0 102 20160 8519 1 1 99 0
1 0 5438886 3792269 0 0 0 0 0 0 225 25113 7913 1 1 98 0
1 0 5438934 3792220 0 0 0 0 0 0 231 52878 7297 1 1 98 0
1 0 5438982 3792172 0 0 0 0 0 0 119 20760 7531 1 1 99 0
0 0 5438998 3792154 0 0 0 0 0 0 113 25256 8860 1 1 98 0
0 0 5436564 3794587 0 0 0 0 0 0 184 53319 7686 1 1 98 0
1 0 5436484 3794667 0 0 0 0 0 0 81 19627 7677 1 1 99 0
1 0 5436516 3794633 0 0 0 0 0 0 120 21276 8019 1 1 99 0
0 0 5436612 3794537 0 0 0 0 0 0 168 19829 7903 1 1 99 0
rac2 topas
Topas Monitor for host: rac2 EVENTS/QUEUES FILE/TTY
Fri Dec 13 09:11:10 2013 Interval: 2 Cswitch 7968 Readch 151.0K
Syscall 22600 Writech 16441
CPU User% Kern% Wait% Idle% Reads 159 Rawin 0
ALL 0.9 0.7 0.0 98.4 Writes 91 Ttyout 570
Forks 2 Igets 0
Network KBPS I-Pack O-Pack KB-In KB-Out Execs 3 Namei 180
Total 220.1 194.0 221.5 92.8 127.3 Runqueue 0.5 Dirblk 0
Waitqueue 0.0
Disk Busy% KBPS TPS KB-Read KB-Writ MEMORY
Total 0.0 273.0 5.0 72.0 201.0 PAGING Real,MB 58368
Faults 1345 % Comp 36
FileSystem KBPS TPS KB-Read KB-Writ Steals 0 % Noncomp 38
Total 117.9 115.0 115.2 2.7 PgspIn 0 % Client 38
PgspOut 0
Name PID CPU% PgSp Owner PageIn 0 PAGING SPACE
oracle 8716920 0.5 14.7 grid PageOut 0 Size,MB 43520
crsd.bin 5111978 0.2 56.4 root Sios 0 % Used 0
oraroota 5767672 0.2 61.5 root % Free 100
ohasd.bi 2490668 0.1 59.5 root NFS (calls/sec)
gipcd.bi 5898376 0.1 27.0 grid SerV2 0 WPAR Activ 0
oracle 8651076 0.1 24.5 oracle CliV2 0 WPAR Total 0
octssd.b 4129352 0.1 16.1 root SerV3 0 Press: "h"-help
ocssd.bi 3539372 0.1 88.5 grid CliV3 0 "q"-quit
oracle 6554206 0.1 23.2 grid
oracle 8454442 0.1 24.5 oracle
evmd.bin 3670566 0.0 41.5 grid
oracle 11665508 0.0 24.6 oracle
oracle 8847656 0.0 24.8 oracle
gil 1180294 0.0 0.9 root
oracle 7995890 0.0 15.8 grid
reaffin 589850 0.0 0.6 root
oraroota 4588256 0.0 60.3 root
oraagent 8323474 0.0 49.0 oracle
oraagent 3735558 0.0 77.6 grid
oracle 3605148 0.0 15.3 grid
SQL> select count(*),t.INST_ID from gv$session t group by t.INST_ID;
COUNT(*) INST_ID
---------- ----------
69 1
79 2
SQL> select count(*),t.INST_ID from gv$session t where t.STATUS='ACTIVE' group by t.INST_ID
2 ;
COUNT(*) INST_ID
---------- ----------
51 1
53 2
SQL> /
COUNT(*) INST_ID
---------- ----------
51 1
53 2
SQL> /
COUNT(*) INST_ID
---------- ----------
51 1
54 2
SQL> show parameter sga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
lock_sga boolean FALSE
pre_page_sga boolean FALSE
sga_max_size big integer 15G
sga_target big integer 15G
SQL> show parameter pga
NAME TYPE VALUE
------------------------------------ ----------- ------------------------------
pga_aggregate_target big integer 3G
|
|