Good coverage of Stored routines, and more! | MySQL Stored Procedure Programming | Guy Harrison, Steven Feuerstein
 
 


Suche books:   



MySQL Stored Procedure Programming
Guy Harrison, Steven Feuerstein

O'Reilly Media, Inc., 2006 - 636 pages

average customer review:based on 9 reviews
view larger image
 for more information click here

     highly recommended  highly recommended






Highly recommended!

It walks you through writing, maintaining, and debugging stored procedures. It can be used as a reference and tutorial.
I found Part IV Optimizing Stored Programs particularly useful.


MySQL Stored Procedures, In Depth

I have been working with MySQL for several years as a database back-end for Java, Ruby and C# programming projects. After upgrading to version 5, I have been meaning to look into MySQL's support for stored procedures.

The MySQL Stored Procedure Programming book was my first read on the subject and I found it quite useful. It covers not only stored procedures, but also functions and triggers, collectively called 'stored programs' in the book. While there are many books on MySQL, this book is dedicated to the stored programs domain and provides a lengthy treatment of the subject.

During the introduction, the authors provide a veritable laundry list of MySQL resources including many books and websites. The basic tools for creating stored programs in MySQL are visited and help set the groundwork for a 'read, type in the example and run it' feedback loop. Throughout the book, the examples are clear and easy to follow.

The introduction is followed by a brief tutorial, highlighting stored procedures, functions and triggers. What follows is two sections of chapters, over 200 pages in length, diving into the details of the stored procedure language fundamentals, blocks, conditional statements, iterative programming, error handling, the creation and maintenance of stored programs, transaction management, MySQL built-in functions, stored functions and triggers.

The next section of the book is of particular value to software developers that use MySQL in their applications. Over 150 pages showing you how to use MySQL stored programs from PHP, Java, Perl, Python and .NET. The Java section even shows the basics of using stored procedures with Hibernate and Spring.

After that, you'll be greeted with a 110 page medley of options to help you optimize your MySQL stored programs. The subject of tuning your SQL is addressed over the course of three chapters, from basic through advanced tuning topics. Additional optimization techniques such as reducing network traffic with stored programs, optimizing loops, recursion, cursors, trigger overhead and more are found in the final chapter of this section.

The book closes out with a chapter on best practices in MySQL stored program development. MySQL Stored Procedure Programming has earned a space on the MySQL shelf of my technical library. It's a fine book that will help you take your MySQL programming experience to another level.


 for more information click here


Good coverage of Stored routines, and more!

This book has an excellent coverage of the MySQL 5.0 stored routines (stored procedures, stored functions and triggers).
But it also provides with invaluable hints and guidelines for general MySQL practices.

The book starts with PART I: covering the syntax and rules for stored routines. This part is straightforward and a very fast read. The authors tend to repeat themselves on occasion, though only when relevant.

PART II looks more closely at the particular rules for stored funtions and triggers. It also offers a transaction managing chapter, which describes transactions in MySQL in general, and in stored programming in particular. This chapter is very informative.

PART III discusses the use of stored routings from external programs: PHP, Java, Perl, Python, .NET. The authors establish their view of correct usage and provide with general recommendations.

In general, these three parts cover the stored routines material.
However, here comes a nice surprise: enter Part IV, which is a real gem.
This last part of the book discusses in depth MySQL query optimizations, indexing methods, performance issues, most unrelated with stored programming.
Why? The authors explain (and I agree with them), that most stored routines code will usually have SQL queries DML statements in them. It is their opinion, then, that to write good, efficient, stored procedures, one must be aware of how MySQL optimizes and handles complex queries.
I am not new to MySQL, yet have learned quite a few new things from this last part.
The book ends with a "best practices" chapter, which mostly provides summary for all issues discussed in the book, including some general recommendations for best practices in programming (which could have been left out, in my opinion).

All in all, this book is certainly a very good reference for anyone wishing to write stored functions/procedures/triggers in MySQL. The authors certainly have a strong expertise on the subject, and have a lot to tell.



 for more information click here




 for more information click here


Essential material when learning spp on MySQL

Being fairly new to MySQL (but not to programming) I needed to develop an application using PHP/OOP with MySQL and stored procedures. This book is pretty concise and got me going quickly. At the time, I searched the Amazon book offerings and also books on the shelf at Barnes & Noble. This book is the only one providing clear and concise material on the subject.

I do wish the coverage would have been more detailed using PHP data objects (PDO) in combination with stored procedures that use various combinations of INPUT, OUTPUT and INPUT-OUTPUT parameters in addition to exception processing, etc. That would have been great but then, this isn't a PHP book. Too bad most PHP books seem to focus more on the basics of the language and don't delve into the weighty matters of real-world commercial application development.


 for more information click here






MySQL Stored Procedure Programming

The good: I found to book to be generally useful. The approach the book takes is good. Lots of examples are provided along with a good amount of explanation.


The not-so-good: There seem to be quality or editorial issues with some of the examples. When I run them through the query browser in MySQL version 5 I have problems with some of them. For example Example 2-7 calls another procedure new_salary, which doesn't seem to exist by that name in the book or on the website. This makes it much more time consuming for a newbie to actually run and digest the examples than it should.


 for more information click here


The implementation of stored procedures in MySQL 5.0 a huge milestone -- one that is expected to lead to widespread enterprise adoption of the already extremely popular MySQL database. If you are serious about building the web-based database applications of the future, you need to get up to speed quickly on how stored procedures work -- and how to build them the right way. This book, destined to be the bible of stored procedure development, is a resource that no real MySQL programmer can afford to do without.

In the decade since MySQL burst on the scene, it has become the dominant open source database, with capabilities and performance rivaling those of commercial RDBMS offerings like Oracle and SQL Server. Along with Linux and PHP, MySQL is at the heart of millions of applications. And now, with support for stored procedures, functions, and triggers in MySQL 5.0, MySQL offers the programming power needed for true enterprise use.

MySQL's new procedural language has a straightforward syntax, making it easy to write simple programs. But it's not so easy to write secure, easily maintained, high-performance, and bug-free programs. Few in the MySQL world have substantial experience yet with stored procedures, but Guy Harrison and Steven Feuerstein have decades of combined expertise.

In MySQL Stored Procedure Programming, they put that hard-won experience to good use. Packed with code examples and covering everything from language basics to application building to advanced tuning and best practices, this highly readable book is the one-stop guide to MySQL development. It consists of four major sections:

MySQL stored programming fundamentals -- tutorial, basic statements, SQL in stored programs, and error handling Building MySQL stored programs -- transaction handling, built-in functions, stored functions, and triggers MySQL stored programs in applications -- using stored programs with PHP, Java, Perl, Python, and .NET (C# and VB.NET) Optimizing MySQL stored programs -- security, basic and advanced SQL tuning, optimizing stored program code, and programming best practices

A companion web site contains many thousands of lines of code, that you can put to use immediately.

Guy Harrison is Chief Architect of Database Solutions at Quest Software and a frequent speaker and writer on MySQL topics. Steven Feuerstein is the author of Oracle PL/SQL Programming, the classic reference for Oracle stored programming for more than ten years. Both have decades of experience as database developers, and between them they have authored a dozen books.


 for more information click here



reviews: page 1, 2



hot or not?    What's your opinion?     Write a review and share your thoughts!






recommendations

Learn PHP 5 & MySQL 5 from novice to professional !!
Expertos Quest en Oracle
MySQL Books







   


programming

Programming Interviews Exposed: Secrets to Landing Your Next Job ...
Cocoa(R) Programming for Mac(R) OS X (3rd Edition)
Introduction to Mathematical Programming: Applications and ...
C Programming Language (2nd Edition) (Prentice Hall Software)
Programming Pearls (2nd Edition) (ACM Press)



procedure

Civil Procedure: Examples & Explanations 5th edition
Criminal Procedure
Clinical Anesthesia Procedures of the Massachusetts General Hospital: ...
Standard Operating Procedure
Civil Procedure (Hornbook Series)



stored

The Guru's Guide to SQL Server Stored Procedures, XML, and HTML
SQL Server 2000 Stored Procedure & XML Programming, Second Edition
Professional SQL Server 2005 CLR Programming: with Stored Procedures, ...
SQL Built-In Functions and Stored Procedures: The i5/iSeries ...
Code Centric: T-SQL Programming with Stored Procedures and Triggers




search for books
mysql stored, mysql, procedure, programming, stored




Suche books:   


books
apparel
baby
beauty
books
camera photo
cell phones
classical music
computers
dvd
electronics
gourmet food
health personal care
kitchen
magazines
musical instruments
office products
outdoor living
computer video games
popular music
pet-supplies
software
sporting goods
tools hardware
toys-games
vhs
watches jewelry


* Flowers for London Flower Delivery UK by online florists

* London Wedding Photographer

randomly chosen


DVD: Jonestown - The Life & Death of Peoples Temple


home kde blog shoutbox impressum - about us


get your own free shoutbox