Morning Shiva,
OCI Array Buffer Size is the number of ROWS that Toad will fetch in one
network trip when a SELECT is executed. According to the help, 999 is
the maximum and 500 the default. Mine is set to 1,500 and Toad doesn’t
complain!
The bigger you make this setting, the more memory Toad must reserve
before each SELECT call. Even if the select returns 1 single solitary
row, Toad has to allocate space for whatever your setting is.
SQLPlus defaults to 15 rows. (SET ARRAYSIZE 15) by way of comparison -
so if you traces the same query in Toad and SQLPlus, Toad would execute
far fewer FETCH calls than SQL*Plus to retrieve the same results.
Limit Grid Fetch (not available in Toad 10.0) causes the grids, anywhere
in Toad, to fetch ‘n’ times the OCI Buffer size then to stop fetching
and prompt you for permission to continue. If you have this set to 1,
the default, and OCI Buffer at 500, then each time to run a big SELECT,
you will be prompted every 500 (1 * 500) rows.
If you change OCI Buffer to 1,000 and do the same SELECT, you now get
prompted every 1,000 (1 * 1,000) rows.
Change Limit to 3 now, and you will get prompted every 3 * 1000 or 3,000
rows. And so on.
HTH.
Cheers,
Norm. [TeamT]
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else. We have checked this email and its attachments for viruses. But you should still check any attachment before opening it. We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes. If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk
Information in this message may be confidential and may be legally privileged. If you have received this message by mistake, please notify the sender immediately, delete it and do not copy it to anyone else.
We have checked this email and its attachments for viruses. But you should still check any attachment before opening it.
We may have to make this message and any reply to it public if asked to under the Freedom of Information Act, Data Protection Act or for litigation. Email messages and attachments sent to or from any Environment Agency address may also be accessed by someone other than the sender or recipient, for business purposes.
If we have sent you information and you wish to use it please read our terms and conditions which you can get by calling us on 08708 506 506. Find out more about the Environment Agency at www.environment-agency.gov.uk