诊断 DB2 Java 应用程序的性能问题 (2)
2008-09-16 16:29:15 来源:WEB开发网现在是 10(十进制)或 0xA(十六进制)。从相应的带时间戳的流文件(trace.flw)中可以看出,我们调用 sqlcctcpsend() 来发送数据,它是操作系统的 TCP/IP API 的一个包装器。这次发送用时不到 1 秒。如果有网络延时,在这里应该会显示出来。
清单 29. trace.flw
50480 33:650976401 | | | | | clientCommCallback exit
50481 33:650984989 | | | | sqljcSend exit
50482 33:650989272 | | | | sqljrRecv entry
50483 33:650989982 | | | | | sqljcReceive entry
50484 33:650993253 | | | | | | clientCommCallback entry
50485 33:651003619 | | | | | | | CLI_utlGetInfo entry
50486 33:651005423 | | | | | | | CLI_utlGetInfo exit
50487 33:651008072 | | | | | | | sqlrxf2a entry
50488 33:651021647 | | | | | | | sqlrxf2a data [probe 4]
50489 33:651022705 | | | | | | | sqlrxf2a exit
50490 33:656536851 | | | | | | clientCommCallback exit
50491 33:656547857 | | | | | | sqlccrecv entry
50492 33:656549136 | | | | | | sqlccrecv data [probe 1]
50493 33:656551339 | | | | | | sqlccrecv data [probe 2]
50494 33:656551992 | | | | | | sqlccrecv data [probe 3]
50495 33:656552653 | | | | | | sqlccrecv data [probe 4]
50496 33:656553245 | | | | | | sqlccrecv data [probe 120]
50497 33:656554490 | | | | | | sqlccrecv data [probe 130]
50498 33:656556542 | | | | | | | sqlcctcprecv entry
50499 33:656557298 | | | | | | | sqlcctcprecv data [probe 1]
50500 33:656561269 | | | | | | | | tcprecv entry
50501 33:237234851 | | | | | | | | tcprecv data [probe 2]
50502 33:237247868 | | | | | | | | tcprecv exit
50503 33:237256312 | | | | | | | sqlcctcprecv exit
50504 33:237258748 | | | | | | sqlccrecv data [probe 5]
50505 33:237259658 | | | | | | sqlccrecv exit
更多精彩
赞助商链接