in reply to Code useless, forget it... this is more usefull (o;
in thread prepare_cached for DBI::Oracle
1. If your main concern is overall speed, I suggest some detailed profiling. Find where the code is spending most of its time. See Benchmark. Use the Benchmark->new and timediff() methods to look at checkpoints. Since you are doing lots of logging anyway, have your loggit() call put a timestamp in the LOG.
2. Have you turned on the error checking in the DB ?
in the connect(). It could be that there is a problem in the prepare() line.{RaiseError=>1}
3. Is it only failing if you use prepare_cached ? I.E. does it work without the _cached ?
4. Are you using the $sth->finish() when no longer needed ? This can generate errors if there is an open execute and _cached is called again.
That's all I can think of right now, good luck.
--
Brovnik
|
---|
Replies are listed 'Best First'. | |
---|---|
Re: Re: Code useless, forget it... this is more usefull (o;
by Eric.D (Initiate) on Jun 22, 2001 at 17:34 UTC | |
by Arguile (Hermit) on Jun 22, 2001 at 17:46 UTC | |
by Brovnik (Hermit) on Jun 22, 2001 at 18:39 UTC | |
Re: Re: Code useless, forget it... this is more usefull (o;
by Eric.D (Initiate) on Jun 22, 2001 at 18:32 UTC |