Technology sharing | some problems and solutions caused by IP address restrictions of MySQL Group Replication cluster

The original content of GreatSQL community cannot be used without authorization. Please contact Xiaobian and indicate the source for reprint. 1. Problems encountered Tester Xiao Ling plans to deploy the MGR cluster in the docker environment for some tests. She has three containers with IP addresses: 172.33.0.2 172.33.0.3 172.33.0.4 Install a ...

Added by csckid on Thu, 13 Jan 2022 04:00:43 +0200

mysql pxc highly available single host multi host deployment

mysql pxc high availability 1, pxc introduction PXC (Percona XtraDB Cluster) is an open source MySQL high availability solution. He integrates Percona Server and XtraBackup with the Galera library for synchronous multi master replication. The high availability solutions based on Galera mainly include MariaDB Galera Cluster and Percona Xtra ...

Added by wholetthe15 on Wed, 12 Jan 2022 10:39:34 +0200

Indexing principle and slow query optimization

Indexing principle and slow query optimization 1. What is an index? Index is a data structure in the storage engine, or the organization of data, also known as key. It is a data structure used by the storage engine to quickly find records. Building an index for data is like building a directory for a book, or creating a phonetic order ...

Added by lives4him06 on Wed, 12 Jan 2022 08:49:58 +0200

How to locate the problem of DDL blocking in MySQL

I often encounter the development and testing of children's shoes and ask if a DDL has been executed in the offline development and testing environment. I find that it has not been executed for a long time. Is it blocked? How to solve it? Including in the group, we often encounter similar problems: DDL is blocked. How to find the SQL blocking i ...

Added by gewthen on Tue, 11 Jan 2022 08:02:40 +0200

[Java] improve interface performance

1, Optimize index 1. Not indexed 2. The index is not effective //explain check index usage explain select * from `tb_order` where code='002'; Reason for index failure 3. Wrong index For the same sql, only the input parameters are different. Sometimes it's index a, but sometimes it's index b? This is because mysql will select the wrong ...

Added by alpachino on Tue, 11 Jan 2022 05:55:29 +0200

Mysql (multi-level distribution) unlimited database table design method

I believe that friends with development experience have encountered such a demand. Suppose you are developing a comment function for a news website. Readers can comment on the original text and even reply to each other. This demand is not simple. Replying to each other will lead to infinite branches and infinite ancestor offspring relationship ...

Added by kidgeek_dfw on Mon, 10 Jan 2022 15:29:03 +0200

The backslash in MySQL is really lame

There are many special symbols in MySQL that are quite disgusting. For example, there are single quotation marks ('), double quotation marks ("), backslashes (\) and so on in the string. Students can make up for the possible problems first? In our usual SQL operations, if you don't pay attention to these symbols, you will be given a pot o ...

Added by sandeepjayan on Mon, 10 Jan 2022 09:13:14 +0200

Five methods to query MySQL field comments!

In many scenarios, we need to view the table comments in MySQL or the comments of all fields under a table, so this article will count and compare several ways to query comments.Create test databaseBefore we start, let's create a database for the following demonstration.-- If it exists, delete the database first drop database if exists test2022 ...

Added by little_webspinner on Mon, 10 Jan 2022 08:05:31 +0200

Wan Da #5, why can't the logs parsed by binlog be recovered

Welcome to the MySQL technical articles shared by the great SQL community. If you have any questions or want to learn, you can leave a message in the comment area below. After seeing it, you will answer itProblem descriptionThe problem comes from a group friend. In short, he uses mysqlbinlog tool to read binlog for recovery, but finds that the ...

Added by pengu on Mon, 10 Jan 2022 05:09:39 +0200

5 minutes to understand MySQL - line to column, sweeping aunt calls experts directly

Do you want to accurately find the MySQL articles you want to read? Here → MySQL column directory | click here    MySQL row column conversion must be familiar or even impressive to students who often process data, because it probably bothers you and makes you stunned ~ but when you see this article, this problem is no longer ...

Added by Jiraiya on Mon, 10 Jan 2022 03:09:44 +0200