In this chapter, we'll discuss three additional features you can use to speed up your MySQL applications. While these aren't directly related to one another, each represents an opportunity to decrease the amount of database or code overhead required to perform useful tasks with MySQL by combining queries or operations on the code level into fewer units that perform more work.
- Joins allow for the selection of data from multiple tables using a single SQL statement.
- Temporary tables provide a way to organize data derived from queries into new tables, which can themselves be queried repeatedly over the lifetime of a MySQL user session.
- Transactions allow you to group together related operations into logical units in such a way that all operations either succeed or fail together.
We will spend some time with each of these features, discussing what it is, how it works, and how you can put it to use in your applications.
Comments
Be the first to write a comment
You must me logged in to write a comment.