tech_memo / ORACLE / Listener


tech_memo/ORACLE

Listener Parameter

SDU

  • http://otndnld.oracle.co.jp/document/products/oracle10g/102/doc_cd/network.102/B19209-01/listener.htm#i504303
  • 用途
    • パラメータSDUを使用して、ネットワークを介して送信されるデータ・パケットの転送レートを、指定されたセッション・データ・ユニット(SDU)・サイズで最適化するようにOracle Netに指示します。
    • このパラメータは、SID_DESCパラメータの下に埋め込みます。
  • デフォルト
    • 2048バイト(2KB)
    • 512〜32768バイト(32KB)
  • 例: listner.ora ?
    SID_LIST_listener_name=
     (SID_LIST=
      (SID_DESC=
       (SDU=2085)
       (GLOBAL_DBNAME=sales.us.acme.com)
       (SID_NAME=sales)
       (ORACLE_HOME=/usr/oracle)))
  • 例: tnsnames.ora
    net_service_name=
     (DESCRIPTION=
      (SDU=2085)
       (ADDRESS_LIST=
         (ADDRESS=(PROTOCOL=tcp)(HOST=sales1-server)(PORT=1521))
         (ADDRESS=(PROTOCOL=tcp)(HOST=sales2-server)(PORT=1521)))
      (CONNECT_DATA=
        (SERVER_NAME=sales.us.acme.com))
  • 使用される実際のSDUサイズは、接続時にクライアントとサーバー間でネゴシエートされ、クライアントとサーバーの各SDU値より小さい値になり

TDU

The SDU and TDU parameters in the tnsnames.ora file

The session data unit (SDU) and transport date unit (TDU) parameters are located in the tnsnames.ora and listener.ora files.
SDU specifies the size of the packets to send over the network.
Ideally, SDU should not surpass the size of the maximum transmission unit (MTU). MTU is a fixed value that depends on the actual network implementation used.
Oracle recommends that SDU be set equal to MTU.