springboot+shardingsphere review the old and know the new

We also analyzed the integration of shardingsphere component with spring boot to realize database and table division. Sub database and sub table are mainly used to solve IO problems and slow query caused by massive data. ShardingSphere is an ecosystem composed of a set of open-source distributed database middleware solutions. It is composed of ...

Added by Ambush Commander on Wed, 19 Jan 2022 20:33:25 +0200

Want to learn java JDBC? Come here and I'll teach you hand in hand

Java JDBC learning JDBC (Java DataBase Connectivity) java database connection ● is a Java API for executing SQL statements, which can provide unified access to a variety of relational databases. It is composed of a group of classes and interfaces written in Java language. With JDBC,java developers only need to write a program once to access di ...

Added by cjcdadams on Wed, 19 Jan 2022 16:12:07 +0200

Related subquery index transaction view stored procedure data import and export remote access database

Related sub query -- Related sub query: sub queries cannot be run independently, and external queries must be run before sub queries -- Advantages: simple and powerful -- Disadvantages: difficult to understand -- Query the employee with the highest salary in the Department SELECT deptno,ename,max(sal) from emp GROUP BY deptno -- The state ...

Added by stweaker on Wed, 19 Jan 2022 12:50:04 +0200

Gtid of MGR_ Analysis of the problem of executed discontinuity

The original content of GreatSQL community cannot be used without authorization. Please contact Xiaobian and indicate the source for reprint.1. Problem descriptionOccasionally encountered gtid during MGR testing_ The executed transaction ID is discontinuous, but it does not affect the normal operation of the database. The phenomenon is as follo ...

Added by megavolt on Wed, 19 Jan 2022 12:39:58 +0200

MySQL database basic operation - regular expression

I Basic introduction    regular expression describes a string matching rule. Regular expression itself is a string. This string is used to describe and define matching rules to match a series of strings that meet a certain syntactic rule. In development, regular expressions are often used to retrieve and replace text that conf ...

Added by Base on Wed, 19 Jan 2022 09:24:02 +0200

Addition, deletion and modification data of MYSQL Foundation

Most of the previous discussions are about MYSQL queries. Now we talk about adding, deleting and modifying. After all, these are several operations commonly used in DML. Now create a table CREATE TABLE test( a INT, b VARCHAR(10), c DATE ) Add data General insertion Adding data is very simple, that is, adding data to the database. This is ...

Added by yaba on Wed, 19 Jan 2022 03:42:05 +0200

MySQL learning notes - transactions, views, triggers & stored procedures

1, Business Characteristics of transactions Atomicity: a transaction must be an atomic unit of work. All statements in a transaction must be done or none of them.Consistency: keep the data logically "reasonable". When A transfers to B, A must pay less and B must pay moreIsolation: if multiple transactions are executed concurrent ...

Added by Salsaboy on Tue, 18 Jan 2022 20:22:55 +0200

ORCH visual high availability cluster

1. Introduction to Orch Orchestrator (orch): MySQL high availability and replication topology management tool written by go, which supports the adjustment of replication topology, automatic failover and manual master-slave switching. The back-end database uses MySQL or SQLite to store metadata, and provides a Web interface to display the topol ...

Added by ScottCFR on Tue, 18 Jan 2022 11:26:15 +0200

Mysql master-slave configuration, hand built to ensure availability!

Preparation before configuration 1. Prepare 2 mysql environments 2. Interworking between two mysql networks First step Configure mysql configuration file [my.cnf] | [my.ini] The [master] configuration is as follows: [mysqld] server-id = 1 # Node ID to ensure uniqueness log config log-bin = mysql-bin #Enable the binlog function of ...

Added by aaronk99 on Tue, 18 Jan 2022 03:30:40 +0200

Delayed loading mechanism of mybatis

Delayed loading mechanism of mybatis The meaning of delayed loading: relevant operations will be carried out only when it is used Mybatis supports delayed loading of association Association objects and Collection association collection objects Difference: association usage scenario is a one-to-one association query, and collection is a one t ...

Added by frankstr on Tue, 18 Jan 2022 00:42:40 +0200