Re: Looping (cursor) in SP giving performance delays
Cursors process one row at a time, so they're s-l-o-w ... for a bit ofdiscussion on the matter see "A cursor if necessary, but not necessarily a cursor" at
https://www.artfulsoftware.com/queries.php.
For the sort of problem you describe, a speedy query is usually possible. But guess isn't sufficient, instead let's see your MySQL version, the Show Create table results for each involved table, and the no. of rows in each table, so we can design an optimised solution.
Subject
Views
Written By
Posted
850
March 04, 2020 06:30PM
Re: Looping (cursor) in SP giving performance delays
468
March 04, 2020 08:16PM
406
March 05, 2020 05:58PM
Sorry, you can't reply to this topic. It has been closed.
Content reproduced on this site is the property of the respective copyright holders.
It is not reviewed in advance by Oracle and does not necessarily represent the opinion
of Oracle or any other party.