Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

Donald K. Burleson

Oracle Utilities Tips


Testing Connectivity

 

Tracking Network Paths and Performance
 

The Oracle trcroute utility ( UNIX only) enables DBAs to identify the actual route a connection takes from the client to the server through the Oracle network. trcroute will provide very specific error messages in the event of a problem. This makes debugging the connectivity issues much easier. The utility requires an entry from tnsnames.ora file on the command line:

$ trcroute GRACELANV8_GRA901m

Trace Route Utility for Solaris: Version 9.0.1.0.0 - Production on 03-FEB-2003 1
4:04:51

Copyright (c) 1999 Oracle Corporation. All rights reserved.

Route of TrcRoute:
------------------

Node: Client Time and address of entry into node:
-------------------------------------------------------------
03-FEB-2003 14:04:51 ADDRESS= PROTOCOL=TCP HOST=gracelan PORT=1525

Node: Server Time and address of entry into node:
-------------------------------------------------------------
03-FEB-2003 14:04:51 ADDRESS= PROTOCOL=TCP HOST=gracelan PORT=1525


This example shows the client to server communication route between two listener processes.

Unlike tnsping, trcroute stops at each network "hop" and gathers certain information before advancing toward the final destination. The listener handles all of the communication with trcroute, leaving the database out of the picture.

UNIX provides a utility that will show similar connectivity information between two hosts, independent of any Oracle services. The traceroute utility can be found in /usr/sbin and only requires a host name or IP address.


oracle@asgard:/usr/sbin > traceroute gracelan
traceroute to gracelan.bmc.com (172.18.16.215), 30 hops max, 40 byte packets
1 aus6509vlan2-1.bmc.com (198.64.245.253) 0.431 ms 0.272 ms 0.257 ms
2 gracelan.bmc.com (172.18.16.215) 0.430 ms 0.400 ms 0.641 ms


The result of the traceroute command displays the time spent at each stop along the way.

trcroute and traceroute are only available on UNIX platforms. If the DBA needs to track the network paths that begin from Windows client machines trying to access a remote database server, the tracert utility (trace route) can be used. tracert has nothing to do with the listener, but it does indicate the number of hops required to get from point A to point B, which can also be very helpful when debugging network connectivity issues.

D:\oracle\ora81\bin>tracert www.oracle.com

Tracing route to bigip-www.us.oracle.com [148.87.9.44]
over a maximum of 30 hops:

1 <10 ms <10 ms <10 ms gate18.bmc.com [172.18.1.63]
2 * * * Request timed out.
3 10 ms <10 ms <10 ms 192.168.44.2
4 <10 ms <10 ms 10 ms 208.241.47.161
5 <10 ms 10 ms 10 ms 244.ATM1-0.GW1.AUS3.ALTER.NET
[157.130.135.193]
6 10 ms 10 ms 30 ms 161.at-6-0-0.XR2.DFW9.ALTER.NET
[152.63.101.86]
7 40 ms 30 ms 30 ms 0.so-2-0-0.XL2.DFW9.ALTER.NET [152.63.102.5]
8 120 ms 160 ms 110 ms 0.so-7-0-0.BR6.DFW9.ALTER.NET
[152.63.103.78]
9 110 ms 70 ms 80 ms so-1-0-0.edge1.Dallas1.Level3.net
[209.245.240.141]
10 271 ms 200 ms 200 ms so-5-0-0.gar1.Dallas1.level3.net
[209.244.15.161]
11 321 ms 20 ms 20 ms unknown.Level3.net [64.159.3.193]
12 190 ms 220 ms 151 ms so-3-0-0.mp2.SanJose1.Level3.net
[64.159.1.130]
13 161 ms 130 ms 160 ms gige9-0.hsipaccess1.SanJose1.Level3.net
[64.159.2.39]
14 50 ms 80 ms 90 ms unknown.Level3.net [209.245.144.66]
15 121 ms 60 ms 70 ms whq4op3o33-swi-1-rtr-1-v10.us.oracle.com
[148.87.1.6]
16 200 ms 240 ms 251 ms bigip-www.us.oracle.com [148.87.9.44]

Trace complete.


The route from this workstation to www.oracle.com took 16 hops. It is easy to see which hops are the longest and where the bottlenecks occur. The number of hops indicates the number of times data is forwarded in the route between the client and the remote host. The more hops, the more time it takes and the greater the chance an error could occur. Although this example uses a remote address (www.oracle.com), a utility such as this can be just as useful when debugging internal network performance.

Third party tools, as pictured in Figure 7.2, display routing information in a graphical format. Tools such as these can make debugging connectivity problems easier and more intuitive.
 


To learn more about these techniques, see the book "Advanced Oracle Utilities: The Definitive Reference". 

You can buy it directly from the publisher and get instant access to the code depot of utilities scripts.


 

  ”call


��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

Burleson is the American Team

Note: This Oracle documentation was created as a support and Oracle training reference for use by our DBA performance tuning consulting professionals.  Feel free to ask questions on our Oracle forum.

Verify experience! Anyone considering using the services of an Oracle support expert should independently investigate their credentials and experience, and not rely on advertisements and self-proclaimed expertise. All legitimate Oracle experts publish their Oracle qualifications.

Errata?  Oracle technology is changing and we strive to update our BC Oracle support information.  If you find an error or have a suggestion for improving our content, we would appreciate your feedback.  Just  e-mail:  

and include the URL for the page.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2020

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.