Search
Go

Shop by category
 
MySQL Stored Procedure Programming
Email a friendView larger image

MySQL Stored Procedure Programming

List Price: $44.99
Our Price: $29.69
You Save: $15.30 (34%)
Shipping: This item ships for FREE with Super Saver Shipping.
In Stock
Usually ships in 1 business days

Note: Item may be sold and shipped by another company. Learn more.
Description:

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.

Product Details:
Author: Guy Harrison
Paperback: 640 pages
Publisher: O'Reilly Media
Publication Date: March 28, 2006
Language: English
ISBN: 0596100892
Package Length: 9.13 inches
Package Width: 7.09 inches
Package Height: 1.1 inches
Package Weight: 2.07 pounds
Average Customer Rating: based on 11 reviews
Customer Reviews:
Average Customer Review: 4.5
Write an online review and share your thoughts with other customers.


2 of 2 found the following review helpful:

5Much more than expectedSep 29, 2008
This book clearly covers stored procedure programming well. Of course, it goes over basic syntax and provides examples, but it also goes much farther than that. This book discusses optimization of MySQL queries regardless of the use - in or out of sprocs. It also did a very nice job of discussing the use of cursors - the ability to iterate through the results of a query without being pelted with the entire result set all at once.

If you're developing on MySQL 5 or greater, and you're serious about letting the database handle things that make sense (i.e. denormalization, administration, and putting business logic into the database), this is an excellent resource.

Hit(s):

o Thorough coverage of
- o stored procedures
- o functions
- o triggers
- o cursors
o Explains stored procedure optimization very well
o Serves as stored procedure cookbook
o Excellent coverage of stored procedure best practices
o Demonstrates use of stored procedures with languages like PHP, Perl, Java, and others.

Miss(es):

o Title doesn't do it justice.

1 of 1 found the following review helpful:

5the first and only Mysql stored procedure bookSep 17, 2008
This is the first and only book about Mysql stored procedured and since it was written by the query tuning guru Guy Harrison, it also includes nice tips on query tuning. Highly recommended, just be forewarn that this is for advance Mysql developers or DBA only. Also, be aware that Mysql stored procedure as of release 5.0 and 5.1 won't buy you much performance since Mysql parse stored procedures scripts every time it run unlike other RDBMS like Oracle and MSSQL. If you want better performance, you should make use of prepared statements inside a stored procedure.

5MySQL Stored Procedures, In DepthMar 01, 2008
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.

6 of 6 found the following review helpful:

3MySQL Stored Procedure ProgrammingFeb 03, 2008
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.

5Essential material when learning spp on MySQLJan 01, 2008
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.

About Us   Contact Us
Privacy Policy Copyright © , Security Books. All rights reserved.
Web business powered by Amazon WebStore