This is similar to insert multiple rows into mysql through node.js but is about procedures instead.
I'd like to call a procedure in bulk (over 10k times).
Doing this all in separate calls in incredibly slow (at about 20 inserts per second, as the procedure inserts things).
How do I call a procedure multiple times, efficiently using a single database call?
I could just build up a string of CALL procedure(args...);
and call that but is there a better, more quick and efficient way?