8. Advanced SQL Tips

MySQL offers developers many different options for building their applications, with the C, PHP, Java, and Open Database Connectivity (ODBC) APIs and connectors registering as some of the most popular. However, regardless of the connectivity method, it’s vital that developers understand how to create the best possible SQL. This chapter does just that, focusing on two major subtopics: efficient data retrieval and optimal data modification.

Improving Searches

Slow queries are often the first and most visible sign of a sluggish database application. This section reviews how you can coax more performance out of your most listless queries.

One important topic that isn’t covered here is how to speed ...

Get MySQL now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.