Asian Trips :: MySQL Stored Procedure Programming

Asian Trips - MySQL Stored Procedure Programming

MySQL Stored Procedure Programming
List Price: $44.99
www.asiantrips.info Price: $29.69
Your Save: $ 15.30 ( 34% )
Availability: Usually ships in 24 hours
Manufacturer: O'Reilly Media, Inc.
Average Customer Rating: Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5Average rating of 4.5/5

Buy it now at Amazon.com!

Binding: Paperback
Dewey Decimal Number: 005.7585
EAN: 9780596100896
Format: Illustrated
ISBN: 0596100892
Label: O'Reilly Media, Inc.
Manufacturer: O'Reilly Media, Inc.
Number Of Items: 1
Number Of Pages: 636
Publication Date: 2006-03-28
Publisher: O'Reilly Media, Inc.
Studio: O'Reilly Media, Inc.

Related Items

Editorial Reviews:

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 majorsections:

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.


Spotlight customer reviews:

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Much more than expected
Comment: 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.

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: the first and only Mysql stored procedure book
Comment: 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.

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: MySQL Stored Procedures, In Depth
Comment: 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.

Customer Rating: Average rating of 3/5Average rating of 3/5Average rating of 3/5Average rating of 3/5Average rating of 3/5
Summary: MySQL Stored Procedure Programming
Comment: 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.

Customer Rating: Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5Average rating of 5/5
Summary: Essential material when learning spp on MySQL
Comment: 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.


Buy it now at Amazon.com!


Asia Posters
Asia Art Prints
Asia Travel 2008 Calendars
2008 Monthly Calendars


Asia Trips Important Resources
Asia Trips Books
Asia Trips DVD
Asia Trips Softwares
Asia Trips Magazines


Asia Trips Special Resources
Asia Arts
Asia Entertainment
Asia Business
Asia Culture
Asia Education
Asia Government
Asia Health
Asia Map
Asia Attractions
Asia Beach
Asia Festivals

Asia Hotels
Asia Museums
Theme Parks
Transportation

Foods and Recipes
Sports & Recreation
Travel & Tourism


Asian Trips Destinations
Afghanistan
Armenia
Azerbaijan
Bangladesh
Bhutan
Brunei
Cambodia
China
Georgia
HongKong
India
Indonesia
Japan
Kazakhstan
Kyrgyzstan
Laos
Macau
Malaysia
Maldives
Mongolia
Myanmar
Nepal
NorthKorea
Pakistan
Philippines
Singapore
SouthKorea
SriLanka
Taiwan
Tajikistan
Thailand
Tibet
Turkmenistan
Uzbekistan
Vietnam



Asia Trips
Maintained by: Marketer Solutions | Link Building