您的位置:首页 >> 数据库 >> Sybase >> 正文
RSS
 

Optimizing SQL Anywhere performance over a WAN

http://www.rdxx.com 06年12月03日 22:42 iTbulo 我要投稿

关键词: rman , PTi , CE , SQL , RM
SUMMARY: This document contains information on the various methods to optimize performance over a WAN
Document ID: 44606 Last Revised: 12/10/99
Topic: App Development Document Type: Tip
Product: SQL Anywhere Version: 5
Platform: PC Operating System: OS/2, Windows 3.1, Windows 95, Windows NT

Document:

  You can do the following things to optimize performance over a WAN.

  IPX/SPX protocols have some significant performance limitations in a routed (wide-area) network, which is why Novell has been modifying them with "packet burst" and "SPX II" changes. TCP/IP is the protocol of choice for WAN implementations and is the main focus of this document.

  Set your timer values to an appropriately high level. Remember that the client and the server exchange packets to test for liveness and to determine if the query is complete yet. The switches to consider are:

-tr for active request termination timeouts. The server will only wait so long for a request to be retransmitted from the client before it will timeout the request and the connection. Increase this value if this problem is occurring in your setup. This switch is no longer necessary in Adaptive Server Anywhere 6.0

-ts for default client retry timeouts. This tells the client how long to wait for a response from the server before it resends the request. Increasing this value will cause fewer resends from the client which should reduce the amount of information passing between the client and server. If you increase this, you should also consider increasing the server request timeout period (see the -tr switch for the server). This switch is no longer necessary in Adaptive Server Anywhere 6.0

-tl for liveness checking. Increasing this value will not improve performance but you should increase this value if your connection keeps timing out due to liveness. The switch can be set at the client or the server. Any settin
g on the client will override the server setting for that particular client.

  Set the packet size on the client and server (-p) to the largest value that makes sense for the WAN/protocol combination (only your network administrator knows for sure). The objective is to allow fetches to return as many rows as practical in a packet. We will only use as much of a packet as makes sense. Note that setting this value too large can cause multiple IP packets to be created.

  Consider using the -r parameter to disable multi-row fetching if you are only working with the first few rows in your result sets. This switch can be set by the server or by each individual client. It will cause the client to fetch only one row at a time instead of several.

  Consider using the -b switch to limit the number of packets used in a multirecord fetch if you are retrieving a large number of rows.

  Consider using the -s switch to increase the amount of buffer space used for network buffers.

9 7 3 1 2 3 4 8 :

 
 
标签: rman , PTi , CE , SQL , RM 打印本文
 
 
  热点搜索
 
 
 



Valid XHTML 1.0 Transitional
Copyright ©2005 - 2008 Rdxx.Com,All Rights Reserved
收藏本页
收藏本站