简体   繁体   中英

Stored Procedure Vs Normal SQL Query in Latest MySQL?

I would like to know whether there is any performance benefit in using the stored procedure in the latest MySQL ?

As Normal SQL also works like stored procedure since the db does Syntax checking, Plan is selected, Compiled and cached.

What are the benefits with the recent version? Since still few companies are using stored procedure mostly.

Thanks In Advance, Kathir

There is not much performance difference when the DB and App Server are local. There are performance differences when the DB and App Server are in different places which is a normal case.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM