Home » RDBMS Server » Performance Tuning » Please tune this Query
icon4.gif  Please tune this Query [message #161787] Tue, 07 March 2006 03:39 Go to next message
hsinghalmrt
Messages: 51
Registered: March 2005
Member
Hi All,
Please provide me the help to tune the query like this 'Urgently'.

select peu_id, peu_option,
search.get_equip_no(peu_id,peu_option,peu_rev_no) equipment_no,
fts.fn_get_equip_name(peu_id,peu_option,peu_rev_no) eqpt_desc
from proposal_elements
where expiration_date is null and
equipment_no is not null and
equipment_no in (select distinct fts_equipment_no from fts_details
where prop_id = 24727 and
alternate_no = 1 and
fts_expiration_date is null and
fts_id_parent is null and
fts_option_parent is null)
connect by prior peu_id = peu_id_parent and
peu_option = peu_option_parent and
expiration_date is null
start with peu_id = 10364960 and
peu_option = 1 and
expiration_date is null


Thanks in advance.
Best Regards,
Himanshu
Re: Please tune this Query [message #161905 is a reply to message #161787] Tue, 07 March 2006 19:44 Go to previous messageGo to next message
rleishman
Messages: 3728
Registered: October 2005
Location: Melbourne, Australia
Senior Member
Quick! Quick! Hurry Himanshu! I need the current Explain Plan of your query, table sizes, available indexes, number of rows returned, and estimated performance stats for the user-defined functions (executions per second). And they better be wrapped in [CODE] ... [/CODE] tags, cos if I can't read it, I can't help.

I need it NOW, its URGENT!!
_____________
Ross Leishman
Re: Please tune this Query [message #161915 is a reply to message #161787] Tue, 07 March 2006 21:44 Go to previous messageGo to next message
amkotz
Messages: 72
Registered: May 2005
Location: Bangalore
Member
Ya Ross Leishman ,

Same answer from me also .
?
Re: Please tune this Query [message #161999 is a reply to message #161905] Wed, 08 March 2006 02:42 Go to previous messageGo to next message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
ROFLMAO Laughing
Re: Please tune this Query [message #162023 is a reply to message #161999] Wed, 08 March 2006 04:36 Go to previous messageGo to next message
tarundua
Messages: 1080
Registered: June 2005
Location: India
Senior Member
Hey Jim,

Just curious. Razz
What is this?
Quote:

ROFLMAO

[Updated on: Wed, 08 March 2006 04:37]

Report message to a moderator

Re: Please tune this Query [message #162029 is a reply to message #162023] Wed, 08 March 2006 04:52 Go to previous messageGo to next message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
Acronym for:

Rolling On the Floor Laughing My A** Off

Jim
Re: Please tune this Query [message #162031 is a reply to message #161787] Wed, 08 March 2006 05:00 Go to previous messageGo to next message
hsinghalmrt
Messages: 51
Registered: March 2005
Member
Hi All,

Now I have tuned the Query with the help of Inline Views .

Thanks for your Reply.

BR,
Himanshu
Re: Please tune this Query [message #162037 is a reply to message #162031] Wed, 08 March 2006 05:27 Go to previous messageGo to next message
Frank
Messages: 7901
Registered: March 2000
Senior Member
Phew. Ross, you can go back to work now.
Re: Please tune this Query [message #162046 is a reply to message #162037] Wed, 08 March 2006 06:56 Go to previous message
JSI2001
Messages: 1016
Registered: March 2005
Location: Scotland
Senior Member
Oblivious Cool
Previous Topic: Statpack report
Next Topic: Wait event 'db file sequential read' on TABLE segment
Goto Forum:
  


Current Time: Sat Apr 20 07:16:33 CDT 2024