Allocating the Request Buffer - Call-Level Interface Version 2

Teradata Call-Level Interface Version 2 Reference for Workstation-Attached Systems

Product
Call-Level Interface Version 2
Release Number
16.10
Published
May 2017
Language
English (United States)
Last Update
2018-05-01
dita:mapPath
ggf1488824663364.ditamap
dita:ditavalPath
Audience_PDF_include.ditaval
dita:id
B035-2418
lifecycle
previous
Product Category
Teradata Tools and Utilities

CLI allocates a single request buffer per session. The allocation takes place when the session is first established.

DBCHCL automatically:
  • Expands the buffer if it is too small to hold the request being prepared.
  • Shrinks the buffer if Request Buffer Length is less than Current Request Buffer Length.

Set the size of the send queue buffer (through which data is sent to the Teradata Database internally) with the environment variable TCP_BUF_SIZE.

Use environment variable COPANOMLOG to acquire log information and size values of the send/receive queue buffer.

See the Teradata Tools and Utilities Installation Guide for the appropriate operating system for information how to set TCP_BUF_SIZE.