Jeff - 
   I think we all have 3rd party apps to wrestle with, and I'm hoping you
will get some good responses that I can also use.
   Here is my tip. The vendor probably has a chapter in a manual about how
they interface with Oracle. Read this, but don't skim it like most of us do
because we have way too much to read. No, ponder each word and try online
experiments to try and learn what every detail means. In a former life I
worked for a vendor and I wrote that Oracle chapter. Now I participate in an
online group and explain to other users what I wrote back then. For some
reason it is hard to write that sort of thing so everyone can understand it.
   Of course, some vendors wrote their code to interface to MS Access then
later ported it to Oracle. ;-)

Dennis Williams
DBA, 40%OCP, 100% DBA
Lifetouch, Inc.
[EMAIL PROTECTED] 


-----Original Message-----

Sent: Wednesday, February 26, 2003 2:44 PM
To: Multiple recipients of list ORACLE-L


Hi,

So my boss comes over this morning and tells me that the users are having a
performance problem with a 3rd party application that have recently began
using.  This is an oracle database where they bought the software and had
the system admin install the software which included the vendors instruction
of creating and setting up the database (basically use the defaults).  It is
an Oracle 8.1.7 database on Windows 2000.  He wants me to find out "if you
can create some indexes or something", etc. (he likes to give solutions
before the cause if discovered). 

Anyway,  I decide to take a look at it.  The performance they are
complaining about is when they log into the application it takes about a
minute for their initial screen (which includes a list of values) to appear.
I use the tool that someone posted here a while ago, SQL Monitor from
www.fastalgo.com, and find that during the time the user is waiting for the
first screen the application is executing a sql statement about 2200 times.

The SQL is:  SELECT PARENTID FROM PROC_  WHERE PROCEDUREID=:1
The bind variable is different for each execution with appears to be the
procedureid values from the table proc_.  Table proc_ has 2203 rows.
I check the executions for the sql text in v$sqlarea.  Executions = 58,825.
(aha, I think this is the problem).
I explain plan the query and find that it is using the primary key index.

My tuning skills are still pretty basic.  Since I have no control over the
application is there anything I can do to increase the performance of
running the query thousands of times?

Also how do you usually deal with 3rd party application issues like this?
95% of our databases/applications are from 3rd party vendors and it's a pain
trying to get them performing better.

Thanks,
Jeff Eberhard




-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: Eberhard, Jeff
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).
-- 
Please see the official ORACLE-L FAQ: http://www.orafaq.net
-- 
Author: DENNIS WILLIAMS
  INET: [EMAIL PROTECTED]

Fat City Network Services    -- 858-538-5051 http://www.fatcity.com
San Diego, California        -- Mailing list and web hosting services
---------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: [EMAIL PROTECTED] (note EXACT spelling of 'ListGuru') and in
the message BODY, include a line containing: UNSUB ORACLE-L
(or the name of mailing list you want to be removed from).  You may
also send the HELP command for other information (like subscribing).

Reply via email to