# Notes on some classic MySQL interview questions

> This article is currently an experimental machine translation and may contain errors. If anything is unclear, please refer to [original Chinese version](<https://blog.wendain.ing/posts/mysql-questions-note/>). I am continuously working to improve the translation.

# Architecture

## How is a SQL query statement executed?



## What execution engines does MySQL have?



# Indexes

## What is a database index? Why use indexes?



## What are the scenarios where indexes become invalid?



# Transactions

## What are the transaction isolation levels of a database?



## What are the four major characteristics of transactions?
