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

Home -> Community -> Mailing Lists -> Oracle-L -> Re: Extremely slow querry / additional

Re: Extremely slow querry / additional

From: Jack van Zanen <nlzanen1_at_ey.nl>
Date: Thu, 3 Aug 2000 14:33:56 +0100
Message-Id: <10578.113711@fatcity.com>


"Jack van Zanen" <nlzanen1_at_ey.nl>@fatcity.com on 08/03/2000 12:25:28 PM

Please respond to ORACLE-L_at_fatcity.com

Sent by: root_at_fatcity.com

To: Multiple recipients of list ORACLE-L <ORACLE-L_at_fatcity.com> cc:
Subject: Extremely slow querry

Hi All,

Peoplesoap database
Oracle 8.0.5
AIX 4.3.2



SELECT
    JOB.EMPLID,
    JOB.EMPL_RCD#,
    SEC.OPRCLASS,
    SEC.ACCESS_CD

FROM
    PS_JOB JOB,
    PS_FAST_SCRTY_2 SEC
WHERE
     SEC.ACCESS_CD =  'Y'
    AND     SEC.SETID = JOB.SETID_DEPT
    AND     SEC.DEPTID = JOB.DEPTID

****************

This is a select that is part of a PS view (stripped version) and takes 35 SECONDS NOT MINUTES
The explain plan shows just a nested loop with the smaller table (ps_fast_scrty_2 5500 records) as the driving table and the large table (180.000 records) is not even accessed, all needed information comes out of the index.

This is a small database on a machine that should be capable of a lot more.

Anybody any idea???



De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Ernst & Young staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan.

The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. Ernst & Young is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its receipt.
--
Author: Jack van Zanen
  INET: nlzanen1_at_ey.nl

Fat City Network Services    -- (858) 538-5051  FAX: (858) 538-5051
San Diego, California        -- Public Internet access / Mailing Lists
--------------------------------------------------------------------
To REMOVE yourself from this mailing list, send an E-Mail message
to: ListGuru_at_fatcity.com (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).






===================================================================
De informatie verzonden met dit E-mail bericht is uitsluitend bestemd voor de geadresseerde. Gebruik van deze informatie door anderen dan de geadresseerde is verboden. Openbaarmaking, vermenigvuldiging, verspreiding en/of verstrekking van deze informatie aan derden is niet toegestaan. Ernst & Young staat niet in voor de juiste en volledige overbrenging van de inhoud van een verzonden E-mail, noch voor tijdige ontvangst daarvan.
===================================================================
The information contained in this communication is confidential and may be legally privileged. It is intended solely for the use of the individual or entity to whom it is addressed and others authorised to receive it. If you are not the intended recipient you are hereby notified that any disclosure, copying, distribution or taking any action in reliance on the contents of this information is strictly prohibited and may be unlawful. Ernst & Young is neither liable for the proper and complete transmission of the information contained in this communication nor for any delay in its
Received on Thu Aug 03 2000 - 08:33:56 CDT

Original text of this message

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