1. Define indexes to help MySQL retrieve data efficiently (according to certain rules). In addition to storing data in MySQL, the database system also maintains...
This is the 10th day of my participation in the August Gwen Challenge. For details, see: [August Gwen Challenge](juejin.cn/post/698796... "Juejin. Cn/post / 698796..." MySQL failed...
The AHI is for leaf nodes and is intended to reduce the cost of B-tree addressing (height + in-page addressing). Use key(Index_id + Fileds +bytes):value(the...
Mysql1040 error frequently occurs in my website. His online users are only less than 1000, mysql configuration is not a problem, VPS used linode160+ a...
As operation and peacekeeping programmers, MySQL must not be unfamiliar, especially in the Internet industry, the use of MySQL is more. MySQL, as the mainstream...
Since MySQL5.5, MySQL has supported semi-synchronous replication. Semi-synchronous replication is between asynchronous replication and synchronous replication. The master database does not immediately return the results...
There are many locks in MySQL, such as optimistic locks, pessimistic locks, row locks, table locks, Gap locks, MDL locks, intentional locks, read locks, write...
Window functions, in the SQL execution through SELECT phase, provide the ability to manipulate multiple rows of data. Leetcode's Top K problem can be solved...
Today, I'll show you how transaction isolation is implemented in MySQL's InnoDB storage engine. Each transaction in InnoDB has a unique transaction ID called transaction...
This is the 25th day of my participation in the challenge, activity details: Activity link database knowledge as an interview question, in the interview process...
Although dividing tables and libraries can solve the pressure of large tables on database system, but it is not omnipotent, there are also some disadvantages,...
In order to solve the problems of K8S log collection, such as multiple collection targets, difficult elastic scaling, high operation and maintenance cost, high intrusion...
With the growth of business data, Mysql is under increasing pressure. Single table storage will seriously affect the efficiency of read and write. To solve...
These, this is what I want to share today. Voice-over: This experiment is based on mysql5.6-InnoDB. Voice-over: So PK queries are very fast and directly...
This annotation annotation is represented as an Aspect on the class. @joinpoint: Joinpoint, a class or method that is intercepted by AOP. Using @joinpoint to...