Oracle FAQ Your Portal to the Oracle Knowledge Grid
HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US
 

Home -> Community -> Usenet -> c.d.o.server -> Re: ADO connection to Oracle gets a listener error, but only on the first few attempts

Re: ADO connection to Oracle gets a listener error, but only on the first few attempts

From: Mark Freeman <mark_freeman_at_asc.aon.com>
Date: 14 Jun 2003 14:00:11 -0700
Message-ID: <df323d2.0306141300.94d78c6@posting.google.com>


Jim,

That sounds like something I should investigate. I must admit to not having heard of host/bind variables; I am very must a beginner when it comes to Oracle. Do you have a recommendation for a source of good information about them?

"Jim Kennedy" <kennedy-down_with_spammers_at_attbi.com> wrote in message news:<vDHFa.949754$Zo.216344_at_sccrnsc03>...
> My guess is that you could improve performance if you used host variables -
> opened the connection , parsed the query, executed multiple times (with
> different values). Your high CPU usage on the server and long CPU queue
> length is indicative of not using bind variables. You are forcing Oracle to
> do a hard parse each and every time and that is highly CPU intensive.
>
> I had a developer who didn't believe in bind variables and on a particular
> benchmark - importing 1,000 records via his program - it would take 26
> minutes and peg the CPU. We changed it so he used bind variables, parsed
> one, and executed many times and the benchmark went to under 6 minutes with
> CPU usage peaking occasionally at 10%.
Received on Sat Jun 14 2003 - 16:00:11 CDT

Original text of this message

HOME | ASK QUESTION | ADD INFO | SEARCH | E-MAIL US