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: query taking time

Re: query taking time

From: Sami Seerangan <dba.orcl_at_gmail.com>
Date: Tue, 18 Oct 2005 22:39:25 -0400
Message-ID: <f09dd6280510181939h13b1f72cxf12a921f007d35aa@mail.gmail.com>


We can look at different prospective to improve the performance

  1. parallel query - What is harware configuration -- like number of CPU? What is the degree of your tables/indexes involved in the query? What is you max_parallel_server parameter set to?
  2. Check whether FTS is required It is very difficult to say- without knowing all the indexed column and selectivity

etc

HTH
Sami

On 10/18/05, raja rao <raja4list_at_yahoo.com> wrote:
>
> Hi All,
> Can someone help me in tuning the below query.
>
> Execution Plan
> ----------------------------------------------------------
> 0 SELECT STATEMENT Optimizer=CHOOSE (Cost=457 Card=1 Bytes=53)
> 1 0 SORT (AGGREGATE)
> 2 1 HASH JOIN (SEMI) (Cost=457 Card=23 Bytes=1219)
> 3 2 TABLE ACCESS (BY INDEX ROWID) OF 'UNBILLED_REPORT' (Co
> st=451 Card=2252 Bytes=58552)
> 4 3 INDEX (RANGE SCAN) OF 'UNBIL_FN_RECD_DT' (NON-UNIQUE
> ) (Cost=49 Card=15763)
> 5 4 SORT (AGGREGATE)
> 6 5 TABLE ACCESS (FULL) OF 'UNBILLED_REPORT' (Cost=3
> 208 Card=135108 Bytes=1621296)
> 7 2 VIEW OF 'VW_NSO_1' (Cost=5 Card=1 Bytes=27)
> 8 7 HASH JOIN (Cost=5 Card=1 Bytes=89)
> 9 8 TABLE ACCESS (FULL) OF 'PATIENT_CASE_TYPE' (Cost=2
> Card=1 Bytes=49)
> 10 8 TABLE ACCESS (FULL) OF 'HIM_PATIENT_CASE_TYPE' (Co
> st=2 Card=1 Bytes=40)
>

--
http://www.freelists.org/webpage/oracle-l
Received on Tue Oct 18 2005 - 21:42:02 CDT

Original text of this message

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