Prometheus server & Prometheus monitored end & Grafana & and monitoring database | Cloud computing
1. Prometheus monitoring server
1.1 problems
This case requires the deployment of prometheus monitoring server to complete the following tasks:
Install monitoring serverModify profileWrite service files and manage servicesView monitoring data
1.2 scheme
Two virtual machines are required for the experiment, and the host information is ...
Added by Haberdasher on Mon, 03 Jan 2022 11:22:56 +0200
redis sentinel cluster
redis sentinel cluster
Redis sentinel is different from redis master-slave;
redis master-slave; The master hangs up and will never replace the master
redis sentinel master and slave will replace the master MHA
1, Overview of Redis sentinel;
summary; Sentinel: sentinel mode is a distributed system. This process is used to monitor the workin ...
Added by SecureMind on Mon, 03 Jan 2022 09:39:21 +0200
SQL add, delete, modify and check: can I play this trick?
๐ preface
What is SQL?
Official explanation: SQL (Structured Query Language) is used to manage relational database management system (RDBMS).
What can SQL be used for?
Generally speaking, it allows you to access and process the database, including data insertion, query, update and deletion.
SQL is almost a necessary skill for ...
Added by wiredweb on Mon, 03 Jan 2022 05:33:59 +0200
Interviewer: the new version of Redis begins to introduce multithreading. What's your opinion?
As a memory based cache system, Redis has always been known for its high performance. Without context switching and lock free operation, even in the case of single thread processing, the read speed can reach 110000 times / s and the write speed can reach 81000 times / s. However, the single thread design also brings some problems to Redis:
On ...
Added by artisticre on Mon, 03 Jan 2022 04:08:44 +0200
mysql linked list query
#Advanced 6: link query /* Meaning: it is also called multi table query. When the query fields come from multiple tables, the join query will be used Cartesian product phenomenon: Table 1 has m rows, table 2 has n rows, and the result is mn rows Cause: there is no valid continuous condition How to avoid: adding valid connection conditions Class ...
Added by fxpepper on Mon, 03 Jan 2022 03:40:40 +0200
Centos7 installs mysql8 (two installation methods)
Centos7 installation mysql8 (two installation methods) super detailed
1, Command installation
1. Configure Mysql 8.0 installation source: rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
[root@localhost home]# rpm -Uvh https://dev.mysql.com/get/mysql80-community-release-el7-1.noarch.rpm
obtain https://dev.mysql. ...
Added by WebDesEyen on Mon, 03 Jan 2022 03:28:44 +0200
Mybatis -- a common tag in XML
Insert โ map insert statements.Update โ map update statements.Delete โ map delete statements.select โ map query statementsql โ repeatable sentence blocks that can be referenced by other statementsresultMap โ describes how to load objects from the database result set. It is the most complex and powerful elemen ...
Added by zgkhoo on Mon, 03 Jan 2022 02:46:52 +0200
19_ Syntax differences between MySQL and SQLServer (super-detailed)
1. Summary
One of the hardest things for many beginners learning MySQL before learning SQL Server is that there are subtle differences in their grammar, such as the absence of keywords such as modify and change in SQL Server, or every statement in MySQL. At the end, SQL Server uses the go keyword to indicate the end of a batch statement, a ...
Added by Ned on Mon, 03 Jan 2022 00:38:22 +0200
MySQL data transmission considerations
background
When the business party migrates, the total data size is only more than 300 M, but the MySQL server prompts that the packet exceeds max_allowed_packet, but there is no problem with 10G pressure test data during test migration?
The final solution to the problem is very simple, adjust the appropriate max_ allowed_ The size of ...
Added by thinkgfx on Sun, 02 Jan 2022 23:18:36 +0200
Dameng DMDSC cluster deployment and construction
Environmental preparation
(1) Two virtual machines are required, and the memory is better than 2G. DM8 is installed on each virtual machine, and initialization is not required after installation.(2) In this paper, the machine is named. The first one is called node 1 and the second one is called node 2, which is convenient to call. Because it i ...
Added by prue_ on Sun, 02 Jan 2022 18:58:12 +0200