Beginning MySQL Database Design and Optimization: From Novice to Professional

Predný obal
Apress, 18. 10. 2004 - 520 strán (strany)

Nearly every non-trivial application requires data persistence, and for an application of any significant size and scope, persistence is typically achieved using a database. If you’re building or maintaining any significant application and are using MySQL, this book is for you. For open source and other types of projects, the MySQL database is a very popular choice: it’s free, fast, robust, and scalable, and it runs on all of the major platforms, allowing maximum use of available hardware resources. But it’s easy to disregard MySQL’s speed and other advantages if your database design is inefficient. Needlessly duplicating data, using improper types for columns, overloading a single table where multiple tables should be used, failing to leverage the calculation features of MySQL, and making multiple queries instead of an efficient single query are some of the common mistakes.

Beginning MySQL Database Design and Optimization shows you how to identify, overcome, and avoid gross inefficiencies. It demonstrates how to maximize the many data manipulation features that MySQL includes. This book explains how to include tests and branches in your queries, how to normalize your database, and how to issue concurrent queries to boost performance, among many other design and optimization topics. You’ll also learn about some features new to MySQL 4.1 and 5.0 like subqueries, stored procedures, and views, all of which will help you build even more efficient applications.

 

Obsah

Review of MySQL Basics
1
Queries Review
14
Summary
43
MySQL Column and Table Types
45
MySQL Table Types
103
Summary
110
Keys Indexes and Normalization
113
Rules for Relational Databases
117
Joins Temporary Tables and Transactions
239
Temporary Tables
263
Summary
270
Finding the Bottlenecks
273
Application Logic
305
Summary
312
MySQL Programming
315
PHP and the mysql Extension
336

Keys Indexes and Constraints
134
Common Problems and Errors
164
Whats Next
170
Optimizing Queries with Operators Branching and Functions
171
MySQL Operators
178
MySQL Functions
193
Making Choices in Queries
231
Summary
237
and mysqli
351
PerlDBI
401
Python and MySQLdb
407
Summary
413
Looking Ahead
417
1
481
Index
489
Autorské práva

Iné vydania - Zobraziť všetky

Časté výrazy a frázy

O tomto autorovi (2004)

Chad Russell is a programmer and network administrator who owns his own Internet hosting company. He previously has written on MySQL, PHP, and other topics.

Bibliografické informácie