我通過tnsping來ping我的oracle數據庫。其本地數據庫。這不在本地網絡中。我期望0毫秒,但它是超過0毫秒。這是tns ping結果的20倍;tnsping結果超過0毫秒。什麼是解決方案?
C:\Documents and Settings\sdemirkeser>tnsping belsoft 20
TNS Ping Utility for 32-bit Windows: Version 10.2.0.1.0 - Production on 17-MAY-2
012 09:23:32
Copyright (c) 1997, 2005, Oracle. All rights reserved.
Used parameter files:
C:\oracle\product\10.2.0\db_1\network\admin\sqlnet.ora
Used TNSNAMES adapter to resolve the alias
Attempting to contact (DESCRIPTION = (ADDRESS_LIST = (ADDRESS = (PROTOCOL = TCP)
(HOST = 127.0.0.1)(PORT = 1521))) (CONNECT_DATA = (SERVICE_NAME = BELSOFT)))
OK (20 msec)
OK (10 msec)
OK (20 msec)
OK (0 msec)
OK (10 msec)
OK (20 msec)
OK (10 msec)
OK (0 msec)
OK (20 msec)
OK (20 msec)
OK (10 msec)
OK (0 msec)
OK (20 msec)
OK (10 msec)
OK (20 msec)
OK (10 msec)
OK (0 msec)
OK (20 msec)
OK (10 msec)
OK (20 msec)
你想想爲什麼它可能是大於0毫秒的東西。或者它是正常的?
我平安與正常ping命令,但它是比1毫秒
C:\Documents and Settings\sdemirkeser>ping localhost
32 bayt veri ile sdemirkeser [127.0.0.1] 'ping' ediliyor:
127.0.0.1 cevabı: bayt=32 süre<1ms TTL=128
127.0.0.1 cevabı: bayt=32 süre<1ms TTL=128
127.0.0.1 cevabı: bayt=32 süre<1ms TTL=128
127.0.0.1 cevabı: bayt=32 süre<1ms TTL=128
127.0.0.1 için Ping istatistiği:
Paket: Giden = 4, Gelen = 4, Kaybolan = 0 (0% kayıp),
Mili saniye türünden yaklaşık tur süreleri:
En Az = 0ms, En Çok = 0ms, Ortalama = 0ms
更快,如果它是不正常的我該怎麼辦
感謝大家誰感興趣的 誠懇此致 蘇萊曼Demirkeser
嘗試ping localhost。由於tcp/ip Stack,總是有最小的延遲。換句話說:這很正常。 – int2000
本地數據庫的20毫秒延遲時間對我來說似乎相當長。我同意@ int2000,儘管 - 試試'ping localhost',看看你得到了什麼,然後回報(編輯你的文章並添加ping結果)。 –