MySQL stored procedures Getting started and improved (second article)

Source: Internet
Author: User
Tags data structures

Before the interview was asked why to use the MySQL stored procedures, or the advantages of stored procedures. As a professional MySQL DBA. Must be mastered, surely. And I'm just ops, hahaha. At that time the answer was not good, and then tidied up

About these, the stored procedure executes fast, the stored procedure can reduce network traffic, improve the flexibility of the application code, and improve the data security mechanism.

Kuanghan Ah! Look at others foreign devil tidy ah. Master Yi Long Technology to the system of Yi, Rise Ah!!!

? The use of stored programs can leads to a more secure database.
? Stored programs offer a mechanism to abstract data access routines, which can
Improve the maintainability of your code as underlying data structures evolve.

? Stored programs can reduce network traffic, because the program can work on
The data from within the server, rather than has to transfer the data across the
Network.
? Stored programs can be used to implement common routines accessible from
Multiple applications-possibly using otherwise incompatible frameworks-
Executed either within or from outside the database server.
? Database-centric logic can be isolated in stored programs and implemented by
Programmers with more specialized, database experience.
? The use of stored programs can, under some circumstances, improve the porta-
Bility of your application.


MySQL stored procedures Getting started and improved (second article)

Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.