RE: Execute failed: ORA-01026: multiple buffers of size > 4000 in the bind list (DBD: oexec error) - update



From: Tim Bunce [mailto:Tim.Bunce@xxxxxxxxx]
Sent: Friday, October 07, 2005 12:19 PM
To: Jared Still
Cc: Moon, John; 'dbi-users@xxxxxxxx'
Subject: Re: Execute failed: ORA-01026: multiple buffers of size > 4000 in
the bind list (DBD: oexec error)

On Fri, Oct 07, 2005 at 07:02:43AM -0700, Jared Still wrote:
> On Wed, 2005-10-05 at 10:46, Moon, John wrote:
> > The following code produces this error - ORA-01026 - after 2,000
inserts...
> > Any help or suggestions will be greatly appreciated.
>
> You should troubleshoot this with the help of Oracle Support if you have
> it.
>
> There are a number of possible causes, the two most frequent being
> incorrect NLS_LANG environment variable settings, or bugs.

Though I suspect there may be a DBD::Oracle bug where (for example) a
buffer is growing by one byte each execute until it reaches the 4000
limit and causes the error.

This error has been reported on and off for years. No one has produced a
small enough test case to make it easy to track down and see if the
problem lies with DBD::Oracle or not.

Tim.

jwm wrote.

Thanks to all who replied...

The program I have failed consistently at around 2,000 inserts... In trying
to resolve the problem (thinking it may have been a data error in one record
(?)) I put a trap in to start printing (dump) the records at the point of
failure... The program did not fail. I took the print out and program would
fail.

I have implemented the following work around and have not had a failure
since...
&MyStd_Titles("Loaded $item_nbr",35) if $item_nbr%100 == 0;
$item_nbr++;

(the sub called prints a timestamped message...)

Interestingly Sql Loader from Oracle does a similar message...

If anyone with more knowledge that I (which is very little) would like to
pursue this problem and give me some directions on how/what to do to product
results for someone to look at I will be happy to try at this site.

jwm


.



Relevant Pages

  • Re: Execute failed: ORA-01026: multiple buffers of size > 4000 in the bind list (DBD: oexec erro
    ... >> incorrect NLS_LANG environment variable settings, or bugs. ... > Tim. ... I took the print out and program would fail. ... > I have implemented the following work around and have not had a failure ...
    (perl.dbi.users)
  • Re: Thread Pre-Emption Question . . .
    ... Specific bugs: ... handler to catch it and it will be very difficult to construct to fail ... that do not raise exceptions on failure so their return codes must be ... this could allow a reader and writer to access the data concurrently. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Thread Pre-Emption Question . . .
    ... Not checking for failure of InitializeCriticalSection, ... not checking deallocateor failure is okay because the program will continue to run correctly although it is good practice to check this in debug builds because deallocators usually only fail because of invalid arguments. ... the correct execution of error handling logic (if the access causes unplanned exceptions before data corruption and these unplanned exceptions are caught in the same place as planned exceptions for example). ... This can, and will, corrupt real data in any number of random ways depending on the work done in the writer. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Thread Pre-Emption Question . . .
    ... Not checking for failure of InitializeCriticalSection, ... not checking deallocateor failure is okay because the program will continue to run correctly although it is good practice to check this in debug builds because deallocators usually only fail because of invalid arguments. ... correct execution of error handling logic (if the access causes unplanned exceptions before data corruption and these unplanned exceptions are caught in the same place as planned exceptions for example). ... This can, and will, corrupt real data in any number of random ways depending on the work done in the writer. ...
    (microsoft.public.win32.programmer.kernel)
  • Re: Importance of Failure
    ... Very few people really think that progress happens without failure. ... You got game. ... look at how frequently you fail! ... You have to convince the world you're right (which you ...
    (sci.math)