Build redis cluster on CentOs7

Get ready vm virtual machines (you can also use virtual machines that have a system on wind10)FinalShell Homemade Remote Toolsredis-6.2.4centOs 7 System premise Install vm virtual machineFinalShell installedCreate virtual machines for three centOs 7 systems on vm Explain Creating three centOs7 virtual machines in the vm to install redi ...

Posted by The Jackel on Wed, 15 Sep 2021 12:30:10 -0700

MYSQL learning notes - basic use of database

1, mysql database common operations Account login -h specifies the host address of the server, - p specifies the port number, - u specifies the current shell user, - p is the password, which can not be entered on the command line Create database The database is a collection of tables. The database server can contain multiple databases. ...

Posted by AjithTV on Tue, 14 Sep 2021 15:23:04 -0700

Installation of database for Linux project deployment

1. Download MariaDB database 1.1 test: whether the current virtual machine can correctly link to the Internet. ping www.baidu.com is used here for testing. 2. Installation method: 1. Command to install database:   yum   install mariadb-server            Install MariaDB databas ...

Posted by bull on Mon, 13 Sep 2021 19:35:44 -0700

Collection of Java foundations

1. Overview of the collection 1.1 related concepts Sets and arrays are structures that store multiple data, referred to as java containers for short (Note: storage at this time mainly refers to memory storage and does not involve persistent storage, such as databases and txt files)Advantages of arrays in storing multiple data structures ...

Posted by taurus5_6 on Mon, 13 Sep 2021 11:51:30 -0700

Foundation and use of structure

Declaration of structure type Basic knowledge of structure An array is a collection of elements of the same type A structure is a collection of values that contain arrays, and these values are called member variables. Each member of the structure can be a different type of variable. Members can be scalars, arrays, pointers, or even oth ...

Posted by stageguys on Mon, 13 Sep 2021 11:24:25 -0700

Installation and use of reverse engineering plug-ins

introduce Reverse engineering plug-ins refer to mybatis code helper and other plug-ins. Their function is to automatically generate entity classes, swagger, mapper, service and other files according to the written database table, so as to adapt to rapid iterative development Forward engineering, such as spring data, automatically generates ...

Posted by SunsetKnight on Sun, 12 Sep 2021 15:06:33 -0700

Mysql (relational database)

Nature of database: A data storage method that can permanently save and query fast data storage. Three connection methods of database server: Open through management service Open through the graphical user interface (navicat). Open through the upper triangle of the taskbar.   Diagram: Database:  table: Each row is called a ...

Posted by marukochan on Sun, 12 Sep 2021 00:20:46 -0700

clickhouse type error, aggregate function error -- precautions for field alias

Recently, I came into contact with clickhouse. I have to say that the performance is really powerful. Even the simplest use without any optimization is much faster than a conventional database. Therefore, it has always been used as an ordinary database and supports sql statements. It is easy to get started. However, the case when statement is u ...

Posted by healy787 on Fri, 10 Sep 2021 23:12:28 -0700

[Database series] arrangement of basic knowledge points of database

The content comes from the job hunting Dictionary of kingly programmers 1, Basic concepts 1. Data model The core and foundation of database system is data model. Generally speaking, a data model is a set of strictly defined concepts. These concepts accurately describe the static characteristics, dynamic characteristics and integrity ...

Posted by marcth on Fri, 10 Sep 2021 18:35:40 -0700

Redis source code learning integer set

intset application Redis will use memory mapping to replace the internal data structure under the condition of such a small amount of data. This makes two kinds of memory saving data structures, integer set and zip list, come into beingInteger set is one of the underlying implementations of set key. When a set contains only integer value eleme ...

Posted by chrbar on Fri, 10 Sep 2021 16:07:30 -0700