Single-machine multi-instance monitoring based on WEB-API
Guidance:
Author: Jiang Lexing MySQL-DBA currently maintains two MySQL open source tools mysqltools & DBM (dbm-agent dbm-center) on github, and has some experience in machine learning and programmed transactions.
Problems facing
Solution
MySQL Monitoring Gateway Installation Configuration Process
Environmental description
Instal ...
Posted by beginPHP on Mon, 30 Dec 2019 18:07:31 -0800
centos7 installation jumpserver fortress machine numerous problems detailed explanation (exchange post)
Prepare materials:
ip:192.168.220.130
System: centos7
Reference documents:
I found a Chinese version that is easy to see
http://docs.jumpserver.org/zh/docs/
1. The first two problems are the configuration file is wrong:
So I want to put the configuration file here. If I don't want the vi command, it's recommended to c ...
Posted by bachx on Mon, 30 Dec 2019 12:13:21 -0800
Using Amoeba to realize the read-write separation configuration of database
I. Amoeba
It can realize load balancing Read / write separation , high availability, etc.
1.1 installation of JDK
(1) Upload JDK
(2) Unzip
[root@localhost java]# tar -xvf jdk-8u51-linux-x64.tar.gz
(3) Modify system environment variables
[root@localhost java]# vim /etc/profile
(4) Load JDK configuration
[root@lo ...
Posted by cyandi_man on Mon, 30 Dec 2019 06:53:25 -0800
[Spring Boot AOP records user operation logs] 1. Integrate mybatis basic framework
In the Spring framework, using AOP with custom annotations can facilitate the monitoring of user operations. First, build a basic Spring Boot Web environment to start Spring Boot, and then introduce the necessary dependencies:
<dependency>
<groupId>org.springframework.boot</groupId>
<artif ...
Posted by dirTdogE on Mon, 30 Dec 2019 06:08:42 -0800
Go language 150 lines of code to handle Apple Apns high concurrent push
Apple news push Apns is a barrier that every apple app must face. At present, small projects need to push messages to all users regularly. Previously, we used pyapns, a third-party library of python, to implement it. As a result, we found that the memory consumption was very high and the push was not stable. Often, the mobile p ...
Posted by pahikua on Sun, 29 Dec 2019 10:32:58 -0800
The relationship between mysql field type and query statement data type
The relationship between mysql field type and query statement data type
Experiment
The following table is listed according to the field types stored in the database and the data types in the query statement:
data base
Query statement
Result
string
string
①
string
int
②
int
string
③
int
int
④
Result
Material ...
Posted by gauravupadhyaya on Sat, 28 Dec 2019 11:02:21 -0800
The journey of mysql small white -- beginner level Chapter 2 -- addition, deletion and modification of tables and views
1.CREATE TABLE Statement
Reference resources: https://www.techonthenet.com/mysql/tables/create_table.php
(simple form)
CREATE TABLE table_name
(
column1 datatype [ NULL | NOT NULL ],
column2 datatype [ NULL | NOT NULL ],
...
);
(complete form)
CREATE [ TEMPORARY ] TABLE [IF NOT EXISTS] table_name
(
column1 dataty ...
Posted by Petrushka on Sat, 28 Dec 2019 09:55:35 -0800
Summary of MySQL operation instructions and built-in functions
MySQL common operation instructions and built-in functions, welcome to add!
Build library, select Library
create database class1824;
use python1804;
Delete Library
drop database class1824;
3. Create and delete tables
create table user(userid int(11),username varchar(32),password char(32));
drop table user;
Change name
...
Posted by HAN! on Fri, 27 Dec 2019 13:27:44 -0800
Mysql for sliding order
Mysql for sliding order
1. demand
Find sliding order
2. example
The sliding order here refers to the characteristic number of an order calculated by every 12 months or every quarter [3 months]. Here is an example.
There are orders. The table data are as follows:
mysql> select * from orders;
+-------------+-----------+
| ...
Posted by smook on Fri, 27 Dec 2019 10:48:13 -0800
Good helper of MySQL DBA -- dbm
Guidance:
Author: at present, Jiang lexing MySQL DBA maintains two sets of MySQL open-source tools & DBM (DBM agent DBM Center) on github, and has some experience in machine learning and programmed transaction.
Catalog
Using dbm to liberate productivity
Install & initialize DBM agent
One line command to solve the problem of inst ...
Posted by project18726 on Thu, 26 Dec 2019 19:57:17 -0800