Home » RDBMS Server » Server Administration » Nested for loop cursors or Joins????
Nested for loop cursors or Joins???? [message #56717] Fri, 18 April 2003 14:45 Go to next message
Victoria
Messages: 152
Registered: July 2002
Senior Member
Hi,
I have been using around seven tables out of which am fetching rows from three tables.Here the tables are having around 25 lakhs records.I am using 'join' to extract specific rows from the above mentioned three tables satisfying the JOIN conditions.
So this procedure took around 2 hrs to complete.I have index created for all tables.But
I have modified the query with the cursors,it took around 1 hr 40 mins to complete.
But i still want to improve the throughput time to less than 1 hr.
So how can i proceed????
WHich one will be giving better performance(JOINs or CURSORS)...If i use cursor i should use nested for loop cursor for the three tables...
Please guide me in this regard...
Thanks
~V~
Re: Nested for loop cursors or Joins???? [message #56727 is a reply to message #56717] Sun, 20 April 2003 13:49 Go to previous message
sai sreenivas jeedigunta
Messages: 370
Registered: November 2001
Senior Member
Helo,
I suggest Joins.
secondly, make sure that indexes are properly created and Index has a separate tablespace attached to them...

sai
Previous Topic: Latches in Oracle
Next Topic: Performance tuning
Goto Forum:
  


Current Time: Fri Sep 20 09:37:56 CDT 2024