› Fóruns › SQL e PL/SQL › Instrução SQL excedeu o tamanho do buffer › Instrução SQL excedeu o tamanho do buffer
[quote=”rman”:258clswe]Também me deparei com o mesmo problema.
Perguntas:
1- Qual o tamanho máximo do buffer?
2- Como calcular o tamanho ideal do buffer?[/quote]
O Tamanho máximo possível para o buffer vai depender da quantidade de memória disponível no servidor para a tarefa.
Sobre calcular segue informação do site da Oracle
BUFFER
Default: operating system-dependent. See your Oracle operating system-specific documentation to determine the default value for this parameter.
Specifies the size, in bytes, of the buffer used to fetch rows. As a result, this parameter determines the maximum number of rows in an array fetched by Export. Use the following formula to calculate the buffer size:
buffer_size = rows_in_array * maximum_row_size
If you specify zero, the Export utility fetches only one row at a time.
Tables with columns of type LONG, LOB, BFILE, REF, ROWID, LOGICAL ROWID, or DATE are fetched one row at a time.
Atenciosamente,
Felipe.