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

Home -> Community -> Mailing Lists -> Oracle-L -> Extremely slow querry

Extremely slow querry

From: Jack van Zanen <nlzanen1_at_ey.nl>
Date: Thu, 3 Aug 2000 12:20:28 +0100
Message-Id: <10578.113699@fatcity.com>


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 30 minutes to run
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.
Received on Thu Aug 03 2000 - 06:20:28 CDT

Original text of this message

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