Re: LongReadLen: unable to allocate memory for define buffer



Thanks for the reply. It may be the case that this is an Oracle
issue, but after significant research I can find no other reports
of this particular issue nor any solutions. The official definition
of the error is "Exceeded the maximum buffer size for current
platform" which is unhelpful. The official solution is "upgrade to
Oracle 8 or later", which is exactly the opposite of my experience.
Unfortunately I'm not a DBA so there is a degree of opacity here.

If anyone knows of memory allocation and buffering tweaks for Oracle
that will solve this problem, please let me know.

At 06:20pm on 2007 April 17, Steven Lembark did write:

[I wrote]
| Perl | DBI | DBD::Oracle | Oracle | Status |
|-------+------+-------------+--------+--------|
| 5.5.3 | 1.12 | 1.02 | 7 | OK |
| 5.5.3 | 1.30 | 1.14 | 8.1.7 | FAIL |
| 5.6.1 | 1.48 | 1.16 | 9.2.0 | FAIL |
| 5.8.8 | 1.53 | 1.19 | 10.2.0 | FAIL |

Why is there a 32MB limit on LongReadLen on this platform?

Looks like an oracle issue: the one that worked
was O7; the ones that fail are 8+. There are
various oracle tweaks for memory allocation and
buffering, you might be hitting one of them.

I'd start on that end and work back towards DBI
since Perl's allocation of memory is pretty much
only limited by the O/S.

--
jim@xxxxxxx / 0x43340710 / 517B C658 D2CB 260D 3E1F 5ED1 6DB3 FBB9 4334 0710
.



Relevant Pages

  • Re: Why does Oracle buffer the result from the select for a parallel INSERT INTO SELECT FROM?
    ... I'm on Oracle 9.2.0.5, Open VMS. ... inserted into the target. ... Maybe buffering only takes places if the ... Parallel needs to sort hence the temp. ...
    (comp.databases.oracle.server)
  • Re: Unable to manually create RAC database
    ... I have been trying to manually create a new RAC database ... ORA-01092: ORACLE instance terminated. ... 8K is the correct block size for Linux. ... "If you are buffering your I/O (that is, your file system has its own ...
    (comp.databases.oracle.server)
  • Re: Unable to manually create RAC database
    ... some assistance with this as my RAC experience is very limited. ... ORA-01092: ORACLE instance terminated. ... All our tablespaces for the database being migrated across has a 16k ... "If you are buffering your I/O (that is, your file system has its own ...
    (comp.databases.oracle.server)
  • Re: Unable to manually create RAC database
    ... some assistance with this as my RAC experience is very limited. ... ORA-01092: ORACLE instance terminated. ... 8K is the correct block size for Linux. ... "If you are buffering your I/O, then your Oracle block size should match your file system's buffer size exactly" ...
    (comp.databases.oracle.server)
  • Re: Why does Oracle buffer the result from the select for a parallel INSERT INTO SELECT FROM?
    ... I'm on Oracle 9.2.0.5, Open VMS. ... If I do this noparallel, the result from the select is immediately ... inserted into the target. ... Maybe buffering only takes places if the ...
    (comp.databases.oracle.server)