查询Oracle RAC Cache Fusion通信的私有网络
查询Oracle RAC Cache Fusion通信的私有网络
[Oracle@zhongwc1 ~]$ cat /etc/RedHat-release
Red Hat Enterprise Linux Server release 5.7 (Tikanga)
[oracle@zhongwc1 ~]$ sqlplus / as sysdba
SQL*Plus: Release 11.2.0.3.0 Production on Tue Jan 22 15:12:35 2013
Copyright (c) 1982, 2011, Oracle. All rights reserved.
Connected to:
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
SQL> oradebug setmypid
Statement processed.
SQL> oradebug ipc
Information written to trace file.
SQL> oradebug tracefile_name
/u01/app/oracle/diag/rdbms/zhongwc/zhongwc1/trace/zhongwc1_ora_31553.trc
SQL> exit
Disconnected from Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
Oracle版本是11.2.0.3,从11.2.0.2开始引入了HAIP规则为169.254.xxx.xxx;RAC Cache Fusion通信的IP为169.254.218.13
SKGXP:[7f31b7724c68.96]{ctx}:SSKGXPT 0x7f31b772e848 flags 0x0 sockno 13 IP 169.254.218.13 UDP 30898 lerr 0
SKGXP:[7f31b7724c68.97]{ctx}: SKGXPGPID Internet address 169.254.218.13 UDP port number 30898
[oracle@zhongwc1 ~]$ cat /u01/app/oracle/diag/rdbms/zhongwc/zhongwc1/trace/zhongwc1_ora_31553.trc
Trace file /u01/app/oracle/diag/rdbms/zhongwc/zhongwc1/trace/zhongwc1_ora_31553.trc
Oracle Database 11g Enterprise Edition Release 11.2.0.3.0 - 64bit Production
With the Partitioning, Real Application Clusters, Automatic Storage Management, OLAP,
Data Mining and Real Application Testing options
ORACLE_HOME = /u01/app/oracle/product/11.2.0/dbhome_1
System name: Linux
Node name: zhongwc1.oracle.com
Release: 2.6.32-200.13.1.el5uek
Version: #1 SMP Wed Jul 27 21:02:33 EDT 2011
Machine: x86_64
Instance name: zhongwc1
Redo thread mounted by this instance: 1
Oracle process number: 38
Unix process pid: 31553, image: oracle@zhongwc1.oracle.com (TNS V1-V3)
*** 2013-01-22 15:12:37.782
*** SESSION ID:(56.143) 2013-01-22 15:12:37.782
*** CLIENT ID:() 2013-01-22 15:12:37.782
*** SERVICE NAME:(SYS$USERS) 2013-01-22 15:12:37.782
*** MODULE NAME:(sqlplus@zhongwc1.oracle.com (TNS V1-V3)) 2013-01-22 15:12:37.782
*** ACTION NAME:() 2013-01-22 15:12:37.782
Processing Oradebug command 'setmypid'
*** 2013-01-22 15:12:37.782
Oradebug command 'setmypid' console output:
*** 2013-01-22 15:12:39.777
Processing Oradebug command 'ipc'
Dump of unix-generic skgm context
areaflags 000000f7
realmflags 0000001f
mapsize 00000800
protectsize 00001000
lcmsize 00001000
seglen 00200000
largestsize 0000040000000000
smallestsize 0000000001000000
stacklimit 0x7fffafa932a0
stackdir -1
mode 640
magic acc01ade
Handle: 0x7f31b77150f0 `/u01/app/oracle/product/11.2.0/dbhome_1zhongwc1'
Dump of unix-generic realm handle `/u01/app/oracle/product/11.2.0/dbhome_1zhongwc1', flags = 00000000
Area #0 `Fixed Size' containing Subareas 0-0
Total size 000000000021ff10 Minimum Subarea size 00000000
Area Subarea Shmid Stable Addr Actual Addr
0 0 3735560 0x00000060000000 0x00000060000000
Subarea size Segment size
0000000000220000 0000000001000000
Area #1 `Variable Size' containing Subareas 4-4
Total size 000000004b000000 Minimum Subarea size 01000000
Area Subarea Shmid Stable Addr Actual Addr
1 4 3768329 0x00000061000000 0x00000061000000
Subarea size Segment size
000000004b000000 000000004b000000
Area #2 `Redo Buffers' containing Subareas 1-1
Total size 0000000000870000 Minimum Subarea size 00000000
Area Subarea Shmid Stable Addr Actual Addr
2 1 3735560 0x00000060220000 0x00000060220000
Subarea size Segment size
0000000000870000 0000000001000000
Area #3 `Base Allocator Control' containing Subareas 3-3
Total size 0000000000002000 Minimum Subarea size 00000000
Area Subarea Shmid Stable Addr Actual Addr
3 3 3735560 0x00000060ffe000 0x00000060ffe000
Subarea size Segment size
0000000000002000 0000000001000000
Area #4 `Slab Allocator Control' containing Subareas 2-2
Total size 000000000056e000 Minimum Subarea size 00000000
Area Subarea Shmid Stable Addr Actual Addr
4 2 3735560 0x00000060a90000 0x00000060a90000
Subarea size Segment size
000000000056e000 0000000001000000
Area #5 `skgm overhead' containing Subareas 5-5
Total size 0000000000002000 Minimum Subarea size 00000000
Area Subarea Shmid Stable Addr Actual Addr
5 5 3801098 0x000000ac000000 0x000000ac000000
Subarea size Segment size
0000000000002000 0000000000200000
Dump of Linux-specific skgm context
sharedmmu 00000001
shareddec 0
used region 0: start 0000000060000000 length 000000004d000000
used region 1: start 0000003e61000000 length 0000000003000000
used region 2: start 0000003e66000000 length 0000000001000000
Maximum processes: = 800
Number of semaphores per set: = 201
Semaphores key overhead per set: = 4
User Semaphores per set: = 197
Number of semaphore sets: = 5
Semaphore identifiers: = 5
Semaphore List=
2097154
2129923
2162692
2195461
2228230
-------------- system semaphore information -------------
------ Shared Memory Segments --------
key shmid owner perms bytes nattch status
0x00000000 2031617 root 644 80 2
0x00000000 2064386 root 644 16384 2
0x00000000 2097155 root 644 280 2
0x00000000 2359301 grid 640 4096 0
0x00000000 2392070 grid 640 4096 0
0xed304ac0 2424839 grid 640 4096 0
0x00000000 3735560 oracle 640 4096 0
0x00000000 3768329 oracle 640 4096 0
0x62385348 3801098 oracle 640 4096 0
------ Semaphore Arrays --------
key semid owner perms nsems
0x869d3e0c 262145 grid 640 124
0xb5514170 2097154 oracle 640 201
0xb5514171 2129923 oracle 640 201
0xb5514172 2162692 oracle 640 201
0xb5514173 2195461 oracle 640 201
0xb5514174 2228230 oracle 640 201
------ Message Queues --------
key msqid owner perms used-bytes messages
ksxpdmp: facility 0 (?) (0x0, (nil)) counts 0, 0
Dumping the osd state
Dumping the osd context (brief)
SKGXP:[7f31b7724c68.0]{ctx}: SKGXPCTX: 0x0x7f31b7724c68 ctx
SKGXP:[7f31b7724c68.1]{ctx}: Compatible: 0 0.0 0
SKGXP:[7f31b7724c68.2]{ctx}: SKGXP Versions: 3.3.4.2.2.c0.4(3.2.4.1)
SKGXP:[7f31b7724c68.3]{ctx}: DBG flags1: 0
SKGXP:[7f31b7724c68.4]{ctx}: DBG post_type: 0
SKGXP:[7f31b7724c68.5]{ctx}: DBG post_sig: 0
SKGXP:[7f31b7724c68.6]{ctx}: DBG post_send_thresh: 0
SKGXP:[7f31b7724c68.7]{ctx}: DBG post_timing: 0
SKGXP:[7f31b7724c68.8]{ctx}: DBG post_trace_all: 0
SKGXP:[7f31b7724c68.9]{ctx}: DBG dev_poll: 0
SKGXP:[7f31b7724c68.10]{ctx}:
SKGXP:[7f31b7724c68.11]{ctx}: WAIT HISTORY
SKGXP:[7f31b7724c68.12]{ctx}: Wait Time Time since Fast reaps Wait Type Return Code
SKGXP:[7f31b7724c68.13]{ctx}: (ms) prev wait(ms) before
SKGXP:[7f31b7724c68.14]{ctx}: --------- -------------- ----------- --------- -----------
SKGXP:[7f31b7724c68.15]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.16]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.17]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.18]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.19]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.20]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.21]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.22]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.23]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.24]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.25]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.26]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.27]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.28]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.29]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.30]{ctx}: 0 0 0 NORMAL invalid status code
SKGXP:[7f31b7724c68.31]{ctx}: wait delta 3 sec (3883 msec) ctx ts 0x0 last ts 0x0
SKGXP:[7f31b7724c68.32]{ctx}: user cpu time since last wait 0 sec 140733193388032 ticks
SKGXP:[7f31b7724c68.33]{ctx}: system cpu time since last wait 0 sec 140733193388032 ticks
SKGXP:[7f31b7724c68.34]{ctx}: locked 2
SKGXP:[7f31b7724c68.35]{ctx}: blocked 0
SKGXP:[7f31b7724c68.36]{ctx}: timed wait receives 0
SKGXP:[7f31b7724c68.37]{ctx}: fast reaps since last wait 0
SKGXP:[7f31b7724c68.38]{ctx}: context timestamp 0
SKGXP:[7f31b7724c68.39]{ctx}: flags=1 flags1=30 zcpyflg=5824 iflags=820 aflags=80 trcflags=0 trclevel=3
SKGXP:[7f31b7724c68.40]{ctx}: rcvbuf=131072 sndbuf=262144
SKGXP:[7f31b7724c68.41]{ctx}:
SKGXP:[7f31b7724c68.42]{ctx}: admno 0x5c339b5a admport:
SKGXP:[7f31b7724c68.43]{ctx}: SSKGXPT 0x7f31b7726390 flags 0x5 { READPENDING } sockno 5 IP 169.254.218.13 UDP 49793 lerr 0
SKGXP:[7f31b7724c68.44]{ctx}:
SKGXP:[7f31b7724c68.45]{ctx}: post port:
SKGXP:[7f31b7724c68.46]{ctx}: SSKGXPT 0x7f31b77267e8 flags 0x0 sockno 8 IP 127.0.0.1 UDP 26916 lerr 0
SKGXP:[7f31b7724c68.47]{ctx}:
SKGXP:[7f31b7724c68.48]{ctx}: sconno [693611d6, 693611d6]=0 aconno [507a7b6d, 507a7b6d]=0
SKGXP:[7f31b7724c68.49]{ctx}:
SKGXP:[7f31b7724c68.50]{ctx}:
SKGXP:[7f31b7724c68.51]{ctx}: memory (native) allocs 5 free 1 lost 0 out 5712 max 32768
SKGXP:[7f31b7724c68.52]{ctx}:
SKGXP:[7f31b7724c68.53]{ctx}: ctx(10296) sctx(1920) rqh(1040) cid(24)
SKGXP:[7f31b7724c68.54]{ctx}: prt(464) cnh(1936/15040) ach(1544/14648) rpc(2400) pid(64)
SKGXP:[7f31b7724c68.55]{ctx}: rgnst(472) rgnpt(248) rgn(8056) rbd(120) bid(64) mcph(7872/20976) mupdh(1144/14248)
SKGXP:[7f31b7724c68.56]{ctx}: mcb(852008) smap(4184) nsm(2084) me(1040) mcbe(48) mcbi(24) epid(40)
SKGXP:[7f31b7724c68.57]{ctx}: mhdr(76) fhdr(28) madm(272) aggpid(32)
SKGXP:[7f31b7724c68.58]{ctx}: sta msc(448) cnh(344) prt(216) ep(48)
SKGXP:[7f31b7724c68.59]{ctx}: aggpt(192) swin(384) finfo(176) segf(200)
SKGXP:[7f31b7724c68.60]{ctx}:
SKGXP:[7f31b7724c68.61]{ctx}: done Queue
SKGXP:[7f31b7724c68.62]{ctx}: no completed requests
SKGXP:[7f31b7724c68.63]{ctx}:
SKGXP:[7f31b7724c68.64]{ctx}: connection Queue
SKGXP:[7f31b7724c68.65]{ctx}: no pending connect disconnect operations
SKGXP:[7f31b7724c68.66]{ctx}:
SKGXP:[7f31b7724c68.67]{ctx}: sends waiting to be transmitted
SKGXP:[7f31b7724c68.68]{ctx}: no sends waiting to be transmitted
SKGXP:[7f31b7724c68.69]{ctx}:
SKGXP:[7f31b7724c68.70]{ctx}: pending ack Queue
SKGXP:[7f31b7724c68.71]{ctx}: no send requests pending ack
SKGXP:[7f31b7724c68.72]{ctx}:
SKGXP:[7f31b7724c68.73]{ctx}: Vrpc requests pending reply
SKGXP:[7f31b7724c68.74]{ctx}:
SKGXP:[7f31b7724c68.75]{ctx}: Port queue
SKGXP:[7f31b7724c68.76]{ctx}:
SKGXP:[7f31b7724c68.77]{ctx}: Region queue
SKGXP:[7f31b7724c68.78]{ctx}: SKGXPRGN: 0x7f31b6efdd30
SKGXP:[7f31b7724c68.79]{ctx}: region id 0xcf2f rgn idx: 0 rgn key: 127980261
SKGXP:[7f31b7724c68.80]{ctx}: base address 0x61000000 size: 1258291200
SKGXP:[7f31b7724c68.81]{ctx}: flags 0x0 state: 0x2 largest buffer: 0
SKGXP:[7f31b7724c68.82]{ctx}: num bids prepared: 0
SKGXP:[7f31b7724c68.83]{ctx}: SKGXPRGNSTATE: 0x7f31b77261a0
SKGXP:[7f31b7724c68.84]{ctx}: rgns mapped: 1 num shared: 1 max: 1
SKGXP:[7f31b7724c68.85]{ctx}: flags: 0 bseqno: 19445 nxtrgnno: 53039
SKGXP:[7f31b7724c68.86]{ctx}: shared ports open: 1 limits (1,16)
SKGXP:[7f31b7724c68.87]{ctx}: shared bids prepared: 0 hiwat: 0
SKGXP:[7f31b7724c68.88]{ctx}: space - used: 0 max possible: 4194304 sock limit: 524288
SKGXP:[7f31b7724c68.89]{ctx}: rgnarr[0x7f31b772e718(32)] rgnpts[0]=0x7f31b772e838
SKGXP:[7f31b7724c68.90]{ctx}: REGION ARRAY
SKGXP:[7f31b7724c68.91]{ctx}: rgn mapped[0] = 0x7f31b6efdd30
SKGXP:[7f31b7724c68.92]{ctx}: SHARED PORT ARRAY
SKGXP:[7f31b7724c68.93]{ctx}: rgn port[0]=0x7f31b772e838
SKGXP:[7f31b7724c68.94]{ctx}: SKGXPRGNPORT: 0x7f31b772e838
SKGXP:[7f31b7724c68.95]{ctx}: nbids: 0 space: 0 used: 0
SKGXP:[7f31b7724c68.96]{ctx}: SSKGXPT 0x7f31b772e848 flags 0x0 sockno 13 IP 169.254.218.13 UDP 30898 lerr 0
SKGXP:[7f31b7724c68.97]{ctx}: SKGXPGPID Internet address 169.254.218.13 UDP port number 30898
SKGXP:[7f31b7724c68.98]{ctx}:
SKGXP:[7f31b7724c68.99]{ctx}: Dumping Connection Handle Table
SKGXP:[7f31b7724c68.100]{ctx}: hdl sconno aconno admno RmtPid state seq# msgs rtrans credits rtt last ack id ip
SKGXP:[7f31b7724c68.101]{ctx}:
SKGXP:[7f31b7724c68.102]{ctx}: Dumping Accept Handle Table
SKGXP:[7f31b7724c68.103]{ctx}:
Done dumping the osd state
Dumping ksxp state
ksxppg=0x7f31b71e47a8 ksxpsg=0xa7584ed8 ksxpsg_a=0xa7584ed8ksxpssg=0xa7584c20 rm=0xa7584b98
proc state: (pid: 38) [flg: 1 sg: 1]
curts 1358838759 wtctr 0
Dumping ksxp contexts
Context[2] 0x7f31b6f06430 GES state 1
Dumping region queue
region count: 0
Dumping connection queue
connection count: 0
Dumping done requests queue
done requests count: 0
Dumping mupq requests queue
mupq requests count: 0
Dumping zombie requests queue
zombie requests count: 0
Dumping delayed callback requests queue
delayed callback requests count: 0
Context[1] 0x7f31b6effcc0 gc ksxp component context state 1
Dumping region queue
region count: 1
Dumping connection queue
connection count: 0
Dumping done requests queue
done requests count: 0
Dumping mupq requests queue
mupq requests count: 0
Dumping zombie requests queue
zombie requests count: 0
Dumping delayed callback requests queue
delayed callback requests count: 0
Dumping pending request queue
pending request count: 0
*** 2013-01-22 15:12:39.785
Oradebug command 'ipc' console output:
Information written to trace file.
*** 2013-01-22 15:12:43.443
Processing Oradebug command 'tracefile_name'
*** 2013-01-22 15:12:43.443
Oradebug command 'tracefile_name' console output:
/u01/app/oracle/diag/rdbms/zhongwc/zhongwc1/trace/zhongwc1_ora_31553.trc

핫 AI 도구

Undresser.AI Undress
사실적인 누드 사진을 만들기 위한 AI 기반 앱

AI Clothes Remover
사진에서 옷을 제거하는 온라인 AI 도구입니다.

Undress AI Tool
무료로 이미지를 벗다

Clothoff.io
AI 옷 제거제

Video Face Swap
완전히 무료인 AI 얼굴 교환 도구를 사용하여 모든 비디오의 얼굴을 쉽게 바꾸세요!

인기 기사

뜨거운 도구

메모장++7.3.1
사용하기 쉬운 무료 코드 편집기

SublimeText3 중국어 버전
중국어 버전, 사용하기 매우 쉽습니다.

스튜디오 13.0.1 보내기
강력한 PHP 통합 개발 환경

드림위버 CS6
시각적 웹 개발 도구

SublimeText3 Mac 버전
신 수준의 코드 편집 소프트웨어(SublimeText3)

뜨거운 주제











전체 테이블 스캔은 MySQL에서 인덱스를 사용하는 것보다 빠를 수 있습니다. 특정 사례는 다음과 같습니다. 1) 데이터 볼륨은 작습니다. 2) 쿼리가 많은 양의 데이터를 반환 할 때; 3) 인덱스 열이 매우 선택적이지 않은 경우; 4) 복잡한 쿼리시. 쿼리 계획을 분석하고 인덱스 최적화, 과도한 인덱스를 피하고 정기적으로 테이블을 유지 관리하면 실제 응용 프로그램에서 최상의 선택을 할 수 있습니다.

InnoDB의 전체 텍스트 검색 기능은 매우 강력하여 데이터베이스 쿼리 효율성과 대량의 텍스트 데이터를 처리 할 수있는 능력을 크게 향상시킬 수 있습니다. 1) InnoDB는 기본 및 고급 검색 쿼리를 지원하는 역 색인화를 통해 전체 텍스트 검색을 구현합니다. 2) 매치 및 키워드를 사용하여 검색, 부울 모드 및 문구 검색을 지원합니다. 3) 최적화 방법에는 워드 세분화 기술 사용, 인덱스의 주기적 재건 및 캐시 크기 조정, 성능과 정확도를 향상시키는 것이 포함됩니다.

예, MySQL은 Windows 7에 설치 될 수 있으며 Microsoft는 Windows 7 지원을 중단했지만 MySQL은 여전히 호환됩니다. 그러나 설치 프로세스 중에 다음 지점이 표시되어야합니다. Windows 용 MySQL 설치 프로그램을 다운로드하십시오. MySQL의 적절한 버전 (커뮤니티 또는 기업)을 선택하십시오. 설치 프로세스 중에 적절한 설치 디렉토리 및 문자를 선택하십시오. 루트 사용자 비밀번호를 설정하고 올바르게 유지하십시오. 테스트를 위해 데이터베이스에 연결하십시오. Windows 7의 호환성 및 보안 문제에 주목하고 지원되는 운영 체제로 업그레이드하는 것이 좋습니다.

클러스터 인덱스와 비 클러스터 인덱스의 차이점은 1. 클러스터 된 인덱스는 인덱스 구조에 데이터 행을 저장하며, 이는 기본 키 및 범위별로 쿼리에 적합합니다. 2. 클러스터되지 않은 인덱스는 인덱스 키 값과 포인터를 데이터 행으로 저장하며 비 예산 키 열 쿼리에 적합합니다.

MySQL은 오픈 소스 관계형 데이터베이스 관리 시스템입니다. 1) 데이터베이스 및 테이블 작성 : CreateAbase 및 CreateTable 명령을 사용하십시오. 2) 기본 작업 : 삽입, 업데이트, 삭제 및 선택. 3) 고급 운영 : 가입, 하위 쿼리 및 거래 처리. 4) 디버깅 기술 : 확인, 데이터 유형 및 권한을 확인하십시오. 5) 최적화 제안 : 인덱스 사용, 선택을 피하고 거래를 사용하십시오.

MySQL은 B-Tree, Hash, Full-Text 및 Spatial의 4 가지 인덱스 유형을 지원합니다. 1.B- 트리 색인은 동일한 값 검색, 범위 쿼리 및 정렬에 적합합니다. 2. 해시 인덱스는 동일한 값 검색에 적합하지만 범위 쿼리 및 정렬을 지원하지 않습니다. 3. 전체 텍스트 색인은 전체 텍스트 검색에 사용되며 다량의 텍스트 데이터를 처리하는 데 적합합니다. 4. 공간 지수는 지리 공간 데이터 쿼리에 사용되며 GIS 응용 프로그램에 적합합니다.

MySQL 데이터베이스에서 사용자와 데이터베이스 간의 관계는 권한과 테이블로 정의됩니다. 사용자는 데이터베이스에 액세스 할 수있는 사용자 이름과 비밀번호가 있습니다. 권한은 보조금 명령을 통해 부여되며 테이블은 Create Table 명령에 의해 생성됩니다. 사용자와 데이터베이스 간의 관계를 설정하려면 데이터베이스를 작성하고 사용자를 생성 한 다음 권한을 부여해야합니다.

MySQL 및 MariaDB는 공존 할 수 있지만주의해서 구성해야합니다. 열쇠는 각 데이터베이스에 다른 포트 번호와 데이터 디렉토리를 할당하고 메모리 할당 및 캐시 크기와 같은 매개 변수를 조정하는 것입니다. 연결 풀링, 애플리케이션 구성 및 버전 차이도 고려해야하며 함정을 피하기 위해 신중하게 테스트하고 계획해야합니다. 두 개의 데이터베이스를 동시에 실행하면 리소스가 제한되는 상황에서 성능 문제가 발생할 수 있습니다.
