Master slave replication, clustering and application [Redis Chapter 4]
1. Master slave replication
1.1 INTRODUCTION
What is master-slave replication?
After the host data is updated, it is automatically synchronized to the Master / Slave mechanism of the standby machine according to the configuration and policy. The Master is mainly write and the Slave is mainly read.
purpose
Read write separation, perf ...
Added by viriio on Thu, 16 Dec 2021 02:58:48 +0200
Master these core knowledge points of SQL, go out and boast and don't worry anymore
Chapter 1 Introduction to SQL1.1. What is sqlSQL: Structure Query Language. (Structured Query Language), operate the database through SQL (operation database, operation table, operation data)SQL was determined as the American Standard of relational database language by American National Bureau of standards (ANSI), and later adopted as the inte ...
Added by Simbachips on Thu, 16 Dec 2021 00:05:22 +0200
oracle final review
oracle knowledge points summary
Indexes
Create index
CREATE [UNIQUE] | [BITMAP] INDEX index_name --unique Represents a unique index
ON table_name([column1 [ASC|DESC],column2 --bitmap,create bitmap index
[ASC|DESC],...] | [express])
[TABLESPACE tablespace_name]
[PCTFREE n1] --Specifies that the index has ...
Added by malcolmboston on Wed, 15 Dec 2021 18:11:11 +0200
I want to tear the source code of mybatis by hand
General operations in traditional JDBC programming:
1. Register the database driver class and specify the URL address, database user name, password and other connection information of the database2. Open database connection through DriverManager3. Create a Statement object through a database connection.4. Execute the SQL statement through the ...
Added by chopperwalker on Wed, 15 Dec 2021 15:25:45 +0200
Why must an index on a varchar specify an index length?
preface
Students who have read the Alibaba Java development manual should notice that there is a mandatory specification in the MySQL index specification:
This article will analyze why the index on varchar must specify the index length?
index structure
To understand the reason, we must first have a certain understanding of the index struc ...
Added by optikalefx on Wed, 15 Dec 2021 10:33:31 +0200
Mybatis framework technology summary, how to write efficient SQL
3.3,SqlSessionFactory
SqlSessionFactory has multiple methods to create SqlSession instances, including the following two:
SqlSessionFactory.openSession: a transaction will be started by default, but the transaction will not be submitted automatically, which means that the transaction needs to be submitted manually before the update operati ...
Added by chodges on Wed, 15 Dec 2021 08:33:06 +0200
Percona XtraBackup 8.0.26 instructions for use
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 itPercona XtraBackup feature descriptionPercona Xtrabackup backup recovery permission restrictionsCreate backup users, configuration parameters ...
Added by Rollo Tamasi on Wed, 15 Dec 2021 07:48:18 +0200
How to troubleshoot the SQL statement in SAP HANA Database Explorer
Troubleshoot SQL with SAP HANA Database Explorer
The debugger can be used to help find problems in procedures, functions, or anonymous blocks. The following steps demonstrate how to use the debugger to debug the process.
Select a stored procedure, right-click it, and select Open for debugging:
From the debugger attach Options dialog box, e ...
Added by intermediate on Wed, 15 Dec 2021 05:27:03 +0200
Introduction to MySQL, written test for Java development engineers
1, Database operation
===========================================================================
Note that each time the client inputs a statement, it must be added;
1.1 display database
show databases;
1.2 create database
--format create database [Database name];
create database test;
Note: you cannot create a database ...
Added by sir nitr0z on Wed, 15 Dec 2021 03:56:17 +0200
MyBatis - underlying source code analysis - (detailed), Java development for three years, the monthly salary is only 12K
} else {
/**
* The following code shows that only one of the three attributes of url resource class can be selected, otherwise an error will be reported
*/
throw new BuilderException("A mapper element may only specify a url, resource or class, but ...
Added by JoCitizen on Wed, 15 Dec 2021 02:39:38 +0200