You can use the Ping utility (dbping) to obtain information about the performance of embedded SQL connections by specifying the -s or -st options. The following statistics are gathered:
|DBLib connect and disconnect||The time to perform one DBLib connect and disconnect. Note that the performance of connecting and disconnecting using other interfaces, such as ODBC, is typically slower than DBLib because more requests are required to complete the connection.|
|Round trip simple request||The time it takes to send a request from the client to the server plus the time it takes to send a response from the server back to the client. The round trip time is twice the average latency.|
|Send throughput||The throughput based on transferring 100 KB of data for each iteration from dbping to the database server.|
|Receive throughput||The throughput based on transferring 100 KB of data for each iteration from the database server to dbping.|
If your network has both high round trip times and high throughput, the reported throughput will be lower than your actual network throughput because of the high round trip times. Using dbping -s can be useful to give an indication of whether communication compression may improve performance. The performance statistics are approximate, and are more accurate when both the client and server computers are fairly idle. The transferred data can be compressed to approximately 25% of its original size if communication compression is used.
SQL Anywhere Server Ping Utility Version 188.8.131.523 Connected to SQL Anywhere 184.108.40.2063 server "sampleserver" and database "sample" at address 10.25.107.108. Performance statistic Number Total Time Average ---------------------------- -------------- ---------- ------------ DBLib connect and disconnect 175 times 1024 msec 5 msec Round trip simple request 2050 requests 1024 msec <1 msec Send throughput 7600 KB 1024 msec 7421 KB/sec Receive throughput 10100 KB 1024 msec 9863 KB/sec Ping database successful.
Discuss this page in DocCommentXchange.
|Copyright © 2010, iAnywhere Solutions, Inc. - SQL Anywhere 12.0.0|