Unix Technical Forum

connect by query tuning

This is a discussion on connect by query tuning within the Oracle Database forums, part of the Database Server Software category; --> Oracle 9.2x on Windows. Any tips on getting rid of the buffer sort in this xplan? ---------------------------------------------------------------------------- --------------- | ...


Go Back   Unix Technical Forum > Database Server Software > Oracle Database

FAQ Members List Calendar Search Today's Posts Mark Forums Read
  #1 (permalink)  
Old 02-23-2008, 08:41 AM
Alex Ivascu
 
Posts: n/a
Default connect by query tuning

Oracle 9.2x on Windows.

Any tips on getting rid of the buffer sort in this xplan?

----------------------------------------------------------------------------
---------------
| Id | Operation | Name | Rows |
Bytes | Cost |
----------------------------------------------------------------------------
---------------
| 0 | SELECT STATEMENT | | 10 |
460 | 5 |
|* 1 | CONNECT BY WITH FILTERING | | |
| |
| 2 | NESTED LOOPS | | |
| |
|* 3 | INDEX SKIP SCAN | PK_SOL_OBJECT_MEMBER | 1 |
26 | 12 |
| 4 | TABLE ACCESS BY USER ROWID | SOL_OBJECT_MEMBER | |
| |
| 5 | NESTED LOOPS | | |
| |
| 6 | BUFFER SORT | | 10 |
460 | |
| 7 | CONNECT BY PUMP | | |
| |
| 8 | TABLE ACCESS BY INDEX ROWID| SOL_OBJECT_MEMBER | 10 |
460 | 5 |
|* 9 | INDEX RANGE SCAN | PK_SOL_OBJECT_MEMBER | 10 |
| 3 |
----------------------------------------------------------------------------
---------------

Predicate Information (identified by operation id):
---------------------------------------------------

1 -
filter(RAWTOHEX("SOL_OBJECT_MEMBER"."SOLUTION_ID") ='0F9233A0836B91D892BEAC10
0
0A90000' AND "SOL_OBJECT_MEMBER"."OBJECT_ID"=1 AND
"SOL_OBJECT_MEM
BER"."MEMBER_ID"<>0)
3 - access("SOL_OBJECT_MEMBER"."OBJECT_ID"=1)

filter(RAWTOHEX("SOL_OBJECT_MEMBER"."SOLUTION_ID") ='0F9233A0836B91D892BEAC10
0
0A90000' AND "SOL_OBJECT_MEMBER"."OBJECT_ID"=1 AND
"SOL_OBJECT_MEM
BER"."MEMBER_ID"<>0)
9 - access("SOL_OBJECT_MEMBER"."SOLUTION_ID"=NULL AND
"SOL_OBJECT_MEMBER"."OB
JECT_ID"=NULL)


Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2 (permalink)  
Old 02-23-2008, 08:42 AM
srivenu
 
Posts: n/a
Default Re: connect by query tuning

You may want to look at this.
http://www.jlcomp.demon.co.uk/faq/tuning_explain.html
regards
Srivenu
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3 (permalink)  
Old 02-23-2008, 08:43 AM
Alex Ivascu
 
Posts: n/a
Default Re: connect by query tuning

Thanks, Srivenu!

"srivenu" <srivenu@hotmail.com> wrote in message
news:1a68177.0404072159.399d9eca@posting.google.co m...
> You may want to look at this.
> http://www.jlcomp.demon.co.uk/faq/tuning_explain.html
> regards
> Srivenu



Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On
Forum Jump


All times are GMT. The time now is 05:26 AM.


Powered by vBulletin® Version 3.6.5
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO 3.2.0
www.UnixAdminTalk.com