Name
SET LONGCHUNKSIZE
Synopsis
The LONGCHUNKSIZE setting, a performance-related setting, controls the number of characters retrieved at one time from a LONG column.
Syntax
SET LONGC[HUNKSIZE] sizeParameters
- SET LONGC[HUNKSIZE]
Is the command, which may be abbreviated SET LONGC.
- size
Is the number of characters you want to retrieve from a LONG column in one fetch. The default value is 80.
With the default setting of 80 characters, SQL*Plus will need 10 round trips to the database to retrieve an 800-character LONG value. These network round trips take time, so you will tend to get better performance by increasing this setting. If you can afford the memory, make LONGCHUNKSIZE equal to the LONG setting. That way, the entire LONG value will be retrieved in one fetch.
Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.
Read now
Unlock full access