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: analyzing db for performance bottlenecks

Re: analyzing db for performance bottlenecks

From: <jmanju_at_my-deja.com>
Date: Tue, 19 Sep 2000 21:35:13 GMT
Message-ID: <8q8m6g$jba$1@nnrp1.deja.com>

In article <969396795.14213.0.pluto.d4ee154e_at_news.demon.nl>,   "Sybrand Bakker" <postbus_at_sybrandb.demon.nl> wrote:
> Start using utlbstat and utlestat first before getting to buy any
 tools.
> It's free and it comes with Oracle.
> Just run utlbstat at one point in time, and utlestat 4 to 8 hours
 later.
> Don't forget to enable timed_statistics, before you do this.

Thanks. I will start with that and see if it helps me find anything.

>
> However, I already have a feeling you incorrectly blame the database.
 Here's
> why:
> Question:
> Are you using bind variables?
> My experience is many java/jdbc programmers don't use them. Doing so
 they
> will force a *hard parse* (which is very costly) and a very low
 statement
> hit-ratio at the database side.
> The Oracle Enterprise Edition is capable of translating all those
 hardcoded
> literals into bind variables, the Oracle Server Edition isn't. You
 don't
> specify which edition you are using, but it wouldn't surprise me if
 this is
> the problem.
> In that case, You are vexing your cpu too much by sending all those
> unnecessary parse requests.
>

We use bind variables as much as possible, although there may be few places where we don't. And the performance tests were done on enterprise edition.

Manju.

Sent via Deja.com http://www.deja.com/
Before you buy. Received on Tue Sep 19 2000 - 16:35:13 CDT

Original text of this message

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