Redis has five data types
preface
The advantages of Redis database over other non relational databases mainly lie in its rich data types, supporting key value, hashes, strings, sets (ordered, unordered), list and other data types
1, String data type
String is the most basic type of redis. It can store up to 512MB of data String type is binary safe, that is, ...
Added by excessnet on Thu, 11 Nov 2021 00:37:23 +0200
Query of database data by Mybatis
Mapping of simple types
Returns a simple base type
Definition in interface
int getAdminCount();//How many pieces of data are returned to the database
Specific implementation in xml
<select id="getAdminCount" resultType="int">
select count(*) from admin
</select>
Here I chose a jar package for testing, whi ...
Added by vigge89 on Wed, 10 Nov 2021 11:19:10 +0200
Compile and install MySQL 8.0 on linux platform
Master MySQL installation from the root, and so on. Installing other c/c + + software through source code on linux platform is similar.
one Installation mode
The installation package of linux is divided into RPM package, binary package and source package.
Different installation methods have their own advantages and disadvantages. Compa ...
Added by Zoran_Dimov on Tue, 09 Nov 2021 06:14:20 +0200
K8s demo cluster practice 21: MySQL 5.7.35 dual master multi slave GTID test
1, Test scheme
Test in a virtual machine (first verify the scheme and configuration, and then deploy to K8S)Master1, port 3310, name mysqlm1, configuration file / opt/mysql/conf/mysqlm1.cnf, database directory / opt/mysql/m1databases, REPLICATION, user name m1slave, password 123456Master2, port 3311, name mysqlm1, configuration file / opt/ ...
Added by acrayne on Tue, 09 Nov 2021 03:28:18 +0200
Saltstack return and job management
return of SaltStack component
The return component can be understood as the SaltStack system stores or returns the data returned by Minion to other programs. It supports a variety of storage methods, such as MySQL, MongoDB, Redis, Memcache, etc. through return, we can record each operation of SaltStack and provide a data source for future ...
Added by pmmenneg on Mon, 08 Nov 2021 22:58:45 +0200
Collect beautiful pictures of the site with the scan redis distributed framework, proxy server and random UA technology
Share some previous projects and accumulate some project experience We talked about how to configure the scratch redis earlier. This time, we'll do a collection example The website is the other shore map network: https://pic.netbian.com/4kmeinv/
analysis
Collect all the pictures under the above link classification, analyze the website is 148 ...
Added by nickk on Mon, 08 Nov 2021 21:31:12 +0200
Mysql Foundation: 03.DML data operation language
DML language
Data manipulation language
Inserting: insert ing
Modify: update
Delete: delete
1, Insert statement
1. Mode 1 (common)
Syntax: insert into table name (field 1,...) values (value 1,...);
characteristic:
The type of the inserted value should be consistent or compatible with the type of the column
The order of columns can be reverse ...
Added by Superian on Mon, 08 Nov 2021 17:58:22 +0200
Migrating from MySQL database to AWS DynamoDB
GO language -- migrate from MySQL database to Amazon DynamoDB
1, Foreword
The blogger is learning the Go language. It happens that the Leader asked to study whether the migration from MySQL database to DynamoDB can be realized by script
This blog post is a simple migration implemented by bloggers using Go language, because the code is no ...
Added by astoller on Mon, 08 Nov 2021 14:13:10 +0200
Redis source code analysis dictionary dict
summary
The dict dictionary in Redis can be understood as a hash linked list of an upgraded version of the mapping relationship between key and value. The emergence of dict dictionary is to solve the search problem in the algorithm. In the actual development, the search mainly makes two structures: the tree using Map structure and hash table. ...
Added by Pro Ninja on Mon, 08 Nov 2021 10:43:28 +0200
SaltStack return and job management
1. return of saltstack component
The return component can be understood as the SaltStack system stores or returns the data returned by Minion to other programs. It supports a variety of storage methods, such as MySQL, MongoDB, Redis, Memcache, etc. through return, we can record each operation of SaltStack and provide a data source for future l ...
Added by MatthewJ on Mon, 08 Nov 2021 10:23:25 +0200