Articles under the 'MySQL' tag
MySQL Backups
MySQL Backups1. Why backup is necessary
Disaster recovery: Hardware failures, unintentional bugs causing data damage, or servers and their data being inaccessible or unusable due to certain reasons (such as a computer room building burning down, malicious hacker attacks, or MySQL bugs).
People chang
...
More >>
2024-03-25
Back End
/
MySQL
MySQL Slow Query
What is SQL slow query?When we execute a sql, the database not only returns the execution result, but also returns the execution time of the sql. MySQL slow queries refer to queries whose execution time exceeds the threshold (the default value is 10 seconds). These slow queries will be recorded as s
...
More >>
2023-12-12
Back End
/
MySQL
MySQL Connection Ramble
In PHP and MySQL, there are different ways to manage database connections. These include short connections, long connections, and connection pooling.
1.Short connectionsShort connections refer to connecting to the database only when necessary and disconnecting immediately after the query is executed
...
More >>
2023-10-07
Back End
/
MySQL
How Is an SQL Query Statement Executed?
Overview of mysql infrastructureMySQL can be divided into two parts: the server layer and the storage engine layer.
The Server layer includes connectors, query caches, analyzers, optimizers, executors, etc., including most of MySQL’s core service functions, as well as all built-in functions (such as
...
More >>
2023-06-19
Back End
/
MySQL