March 2006
Intermediate to advanced
640 pages
17h 8m
English
PER-05: Avoid using stored programs for computationally expensive routines
Like most stored program implementations, MySQL stored programs are optimized for database access, not computational speed. If you have a choice, place your most computationally expensive routines in client or middle-tier code. For instance, you might want to implement your most expensive calculations in PHP or Java rather than in stored programs.