【DB】在windows系統中oracle11g TNSPING延遲連線緩慢
Slow Connections for 11.2 Client from Windows 7 (Doc ID 1297073.1) | To Bottom |
In this Document
APPLIES TO:Oracle Net Services - Version 11.2.0.1 to 11.2.0.4 [Release 11.2]Information in this document applies to any platform. SYMPTOMS
Connections from Windows 7 clients are very slow, taking 20 to 30 seconds to connect.
TNS Ping Utility for 32-bit Windows: Version 11.2.0.1.0 - Production on 31-JAN-2011 12:37:51
Copyright (c) 1997, 2010, Oracle. All rights reserved. Used parameter files: c:\oracle\product\11.2.0\client_1\network\admin\sqlnet.ora Used TNSNAMES adapter to resolve the alias Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP) (HOST = NodeA) (PORT = 1521))) (CONNECT_DATA = (SID = ORCL) (SERVER = DEDICATED))) OK (21240 msec)
(4808) [31-JAN-2011 13:14:12:704] ntctst: size of NTTEST list is 1 - not calling poll
(4808) [31-JAN-2011 13:14:12:704] sntseltst: Testing for WRITE on socket 2500 (4808) [31-JAN-2011 13:14:33:733] sntseltst: FOUND: write request on socket 2500 (4808) [31-JAN-2011 13:14:33:733] ntt2err: entry (4808) [31-JAN-2011 13:14:33:733] ntt2err: soc 2500 error - operation=1, ntresnt[0]=505, ntresnt[1]=60, ntresnt[2]=0 (4808) [31-JAN-2011 13:14:33:733] ntt2err: exit (4808) [31-JAN-2011 13:14:33:843] nttcni: exit (4808) [31-JAN-2011 13:14:33:843] nttcon: exit (4808) [31-JAN-2011 13:14:33:843] nserror: entry (4808) [31-JAN-2011 13:14:33:843] nserror: nsres: id=0, op=65, ns=12535, ns2=12560; nt[0]=505, nt[1]=60, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0
CHANGESNew installation on Windows 7 CAUSE
Windows 7 is setup with IPV6 and IPV4. Bind order for TCPIP is setup for the client, such that IPV6 is attempted first. Network is not setup to use IPV6 or can be the TNS listener is not using IPV6.
(4808) [31-JAN-2011 13:14:12:704] niotns: Calling address: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=NodeA)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)(SERVER=DEDICATED)(CID=(PROGRAM=C:\Oracle\sqlplus.exe)(HOST=MachineA)(USER=oracle))))
(4808) [31-JAN-2011 13:14:12:704] nsgettrans_bystring: entry (4808) [31-JAN-2011 13:14:12:704] nsgettrans_bystring: exit (4808) [31-JAN-2011 13:14:12:704] nscall: entry (4808) [31-JAN-2011 13:14:12:704] nsmal: entry (4808) [31-JAN-2011 13:14:12:704] nsmal: 216 bytes at 0x10dd7c18 (4808) [31-JAN-2011 13:14:12:704] nsmal: normal exit (4808) [31-JAN-2011 13:14:12:704] nscall: connecting... (4808) [31-JAN-2011 13:14:12:704] nlad_expand_hst: Expanding NodeA (4808) [31-JAN-2011 13:14:12:704] snlinGetAddrInfo: entry (4808) [31-JAN-2011 13:14:12:704] snlinGetAddrInfo: exit (4808) [31-JAN-2011 13:14:12:704] snlinGetNameInfo: entry (4808) [31-JAN-2011 13:14:12:704] snlinGetNameInfo: exit (4808) [31-JAN-2011 13:14:12:704] nlad_expand_hst: Adding IP fe81::54b6:e777:dcb4:d57e%11 (4808) [31-JAN-2011 13:14:12:704] snlinGetNameInfo: entry (4808) [31-JAN-2011 13:14:12:704] snlinGetNameInfo: exit (4808) [31-JAN-2011 13:14:12:704] nlad_expand_hst: Adding IP 111.22.22.333 (4808) [31-JAN-2011 13:14:12:704] snlinFreeAddrInfo: entry (4808) [31-JAN-2011 13:14:12:704] snlinFreeAddrInfo: exit (4808) [31-JAN-2011 13:14:12:704] nlad_expand_hst: Result: (DESCRIPTION=(ADDRESS_LIST=(ADDRESS=(PROTOCOL=TCP)(HOST=fe81::54b6:e777:dcb4:d57e%11)(PORT=1521))(ADDRESS=(PROTOCOL=TCP)(HOST=111.22.22.333)(PORT=1521)))(CONNECT_DATA=(SID=ORCL)(SERVER=DEDICATED)(CID=(PROGRAM=C:\Oracle\sqlplus.exe)(HOST=MachineA)(USER=oracle)))) (4808) [31-JAN-2011 13:14:12:704] nladini: entry
(4808) [31-JAN-2011 13:14:12:704] nsc2addr: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=fe81::54b6:e777:dcb4:d57e%11)(PORT=1521))(CONNECT_DATA=(SID=ORCL)(SERVER=DEDICATED)(CID=(PROGRAM=C:\Oracle\sqlplus.exe)(HOST=MachineA)(USER=oracle))))
(4808) [31-JAN-2011 13:14:12:704] nttbnd2addr: entry (4808) [31-JAN-2011 13:14:12:704] snlinGetAddrInfo: entry (4808) [31-JAN-2011 13:14:12:704] snlinGetAddrInfo: exit (4808) [31-JAN-2011 13:14:12:704] nttbnd2addr: using host IP address: fe81::54b6:e777:dcb4:d57e%11
(4808) [31-JAN-2011 13:14:12:704] nttcni: trying to connect to socket 2500.
(4808) [31-JAN-2011 13:14:12:704] ntt2err: entry (4808) [31-JAN-2011 13:14:12:704] ntt2err: exit (4808) [31-JAN-2011 13:14:12:704] ntctst: size of NTTEST list is 1 - not calling poll (4808) [31-JAN-2011 13:14:12:704] sntseltst: Testing for WRITE on socket 2500 (4808) [31-JAN-2011 13:14:33:733] sntseltst: FOUND: write request on socket 2500 (4808) [31-JAN-2011 13:14:33:733] ntt2err: entry (4808) [31-JAN-2011 13:14:33:733] ntt2err: soc 2500 error - operation=1, ntresnt[0]=505, ntresnt[1]=60, ntresnt[2]=0 (4808) [31-JAN-2011 13:14:33:733] ntt2err: exit (4808) [31-JAN-2011 13:14:33:843] nttcni: exit (4808) [31-JAN-2011 13:14:33:843] nttcon: exit (4808) [31-JAN-2011 13:14:33:843] nserror: entry (4808) [31-JAN-2011 13:14:33:843] nserror: nsres: id=0, op=65, ns=12535, ns2=12560; nt[0]=505, nt[1]=60, nt[2]=0; ora[0]=0, ora[1]=0, ora[2]=0 (4808) [31-JAN-2011 13:14:33:843] nsopen: unable to open transport
(4808) [31-JAN-2011 13:14:33:843] nsc2addr: (DESCRIPTION=(ADDRESS=(PROTOCOL=TCP)(HOST=111.22.22.333)(PORT=1521))(CONNECT_DATA=(SID=ORCL)(SERVER=DEDICATED)(CID=(PROGRAM=C:\Oracle\sqlplus.exe)(HOST=MachineA)(USER=oracle))))
(4808) [31-JAN-2011 13:14:33:843] nttbnd2addr: entry (4808) [31-JAN-2011 13:14:33:843] snlinGetAddrInfo: entry (4808) [31-JAN-2011 13:14:33:843] snlinGetAddrInfo: exit (4808) [31-JAN-2011 13:14:33:843] nttbnd2addr: using host IP address: 111.22.22.333
(4808) [31-JAN-2011 13:14:33:843] nttcni: trying to connect to socket 2500.
(4808) [31-JAN-2011 13:14:33:843] ntt2err: entry (4808) [31-JAN-2011 13:14:33:843] ntt2err: exit (4808) [31-JAN-2011 13:14:33:843] ntctst: size of NTTEST list is 1 - not calling poll (4808) [31-JAN-2011 13:14:33:843] sntseltst: Testing for WRITE on socket 2500 (4808) [31-JAN-2011 13:14:33:843] sntseltst: FOUND: write request on socket 2500 (4808) [31-JAN-2011 13:14:33:843] nttctl: entry (4808) [31-JAN-2011 13:14:33:843] nttctl: Clearing non-blocking mode (4808) [31-JAN-2011 13:14:33:843] snlinGetNameInfo: entry (4808) [31-JAN-2011 13:14:33:843] snlinGetNameInfo: exit (4808) [31-JAN-2011 13:14:33:843] nttcni: connected on ipaddr 111.22.22.333 SOLUTION
Change the bind order of TCPIP on the client within Windows 7, such that IPV4 is list first. Configuration of the adapter can be found under Network and Sharing Center, Change Adapter Settings. Then select your Adapter, Right hand mouse click and select properties.
ORCL =
(DESCRIPTION= (ADDRESS= (PROTOCOL=TCP)(HOST=111.22.22.333)(PORT=1521)) (CONNECT_DATA= (SID=ORCL) ) ) |
來自 “ ITPUB部落格 ” ,連結:http://blog.itpub.net/29487349/viewspace-2140385/,如需轉載,請註明出處,否則將追究法律責任。
相關文章
- 資料庫連線緩慢資料庫
- SSH 連線緩慢問題處理
- Windows10系統怎麼設定延遲更新Windows
- Oracle11G密碼延遲驗證導致的系統HANG住Oracle密碼
- 【LISTENER】Oracle通過監聽連線緩慢分析Oracle
- sqlplus/RMAN/lsnrctl 等工具連線緩慢SQL
- Windows10系統怎麼禁用啟動延遲【圖文教程】Windows
- linux系統中的排程延遲任務:at 命令Linux
- 監視執行緩慢的系統
- 輕鬆解決Github連線緩慢、圖裂問題Github
- RAC環境關閉CLUSTER後導致連線緩慢
- 作業系統Win7或Win8客戶端連線異常緩慢問題作業系統Win7客戶端
- windows10系統下滑鼠拖動視窗有延遲卡頓怎麼辦Windows
- Win10系統中如何檢視電腦網路延遲Win10
- Oracle11g新增密碼錯誤延遲驗證Oracle密碼
- 域名解析導致資料庫連線緩慢(hosts :files dns)資料庫DNS
- windows 系統,遠端桌面連線超出連線數解決方法Windows
- oracle11g控制檔案自動備份延遲特性Oracle
- DB2_多維叢集表索引延遲清理DB2索引
- PostgreSQL中的複製延遲SQL
- BPI-M4 Berry在windows系統下連線串列埠除錯Windows串列埠除錯
- 一次系統延遲性最佳化案例
- 在Deepin Linux作業系統中如何連線Microsoft OneDriveLinux作業系統ROS
- win10系統連線wifi速度慢如何解決Win10WiFi
- Windows 8.1系統連線受限或無法連線WiFi怎麼辦?WindowsWiFi
- Windows延緩寫入失敗怎麼辦?Windows
- Win10系統中EDIUS7輸出緩慢的解決方法Win10
- windows系統遠端桌面連線技巧兩則Windows
- 兄弟連go教程(15)函式 - 延遲呼叫Go函式
- 配置tnsping跟蹤來診斷Oracle Net連線Oracle
- Ssh連線過慢
- tns連線非常慢
- windows延緩寫入失敗怎麼辦 延緩寫入失敗的解決辦法Windows
- 解決 Windows 系統使用 Homestead 執行 Laravel 本地專案響應緩慢問題WindowsLaravel
- 在AngularJS中實現一個延遲載入的DirectiveAngularJS
- 在Linux中,mysql 如何減少主從複製延遲?LinuxMySql
- SSL延遲計算:為什麼HTTPs比HTTP要慢?HTTP
- Redis Labs:真正的零延遲系統有望誕生!Redis