Prometheus monitors mysql

This article mainly introduces how to use Prometheus to monitor mysql 1. Install and configure mariadb 1.1 Install mariadb #Simple and direct yum install mariadbyum -y install mariadb mariadb-serversystemctl start mariadb #Start mariadb systemctl enable mariadb #Set boot self-startmysql_secure_installation #Set root password and other related mysql -uroot -p root123 #Test login 1.2 Configure mariadb to create users for exporter # Create mysql_monitor user and grant permissions mysql> grant select, replication client, process ON *....

September 2, 2022

Google SEO for the B2B Industry: Strategy Advice and How-To Guide

Although we all know that SEO can bring business with adequate cost-effective traffic, few people realize the difference in SEO strategies of different types of companies. The B2B and B2C models actually have very big differences in the formulation of strategies. Today, I will briefly talk about this issue. NO.01 _ _ What is the difference between B2B and B2C in SEO strategy First of all, the biggest difference is that the audiences in the two modes are different....

August 31, 2022

[Google SEO] 16 Commonly Used SEO Content Creation Tools - Dry Goods (Part 2)

In the last article, we shared 8 tools that Google SEO professionals often use, and today we will finish the rest. 9. Answer The Public Use Answer The Public to collect all possible keywords and query terms on a topic. Answer the public is an essential keyword research tool that can give you a lot of search variations based on Google's autocomplete search feature and the ability to discover different question modifiers (eg, how, what is, etc....

August 29, 2022

[Swoole Series 4.5] Coroutine Concurrent Scheduling

Coroutine concurrent scheduling After learning the communication function Channel of the coroutine, we then talked about a WaitGroup function. In fact, it itself is a coroutine scheduling tool. We won't go into details about its function, after all, the previous article has made it very clear. Today, we will continue with the topic of WaitGroup and continue to talk about the concurrent scheduling of coroutines. Coroutine execution and coroutine container After learning this, I don't know if you have found a problem, that is, if it is not in the coroutine container, if a blocking operation is encountered, the coroutine is executed sequentially....

August 29, 2022

How PostgreSQL 15 improves communication in logical replication

foreword Fujitsu has made some improvements to logical replication communication in PostgreSQL 15. Let me show you some details. In this post, I will explain the improvements introduced in PostgreSQL 15 to address the following two issues in logical replication communication: 1. If all DMLs in the transaction are not published according to the subscription filter, the walsender will send an empty transaction, which will cause a waste of resources such as CPU/memory/network....

August 29, 2022

PostgreSQL database statistics - analyze execute function

The sampling function needs to be determined before executing the do_analyze_rel function, as follows: If it is a normal table or materialized view, the sampling function uses acquire_sample_rows; relpages is provided by the RelationGetNumberOfBlocks(onerel) function If it is an external table, you need to use the hook provided by the external table, such as postgresAnalyzeForeignTable of postgres_fdw; relpages is also provided by the external table hook of fdwroutine->AnalyzeForeignTable If it is an inherited table, the sampling function uses acquire_inherited_sample_rows...

August 29, 2022

The Linux kernel can't do software engineering?

Abstract: Many people believe that software engineering on the Linux kernel is impossible, or even not required at all. Although the software architecture can be done in C language, this cannot satisfy the implementation of the driver, and the driver still needs to be properly designed in software. Original link: https://mairacanal.github.io/does-the-linux-kernel-need-software-engineering/ Disclaimer: This article is a CSDN translation, please indicate the source for reprinting. Author | MAÍRA CANAL Translator | Sun Ruonan Editor | Tu Min...

August 29, 2022

US chip past: How did China and South Korea rise in the US-Japan dispute?

magic iron author Edited by Li Haidan [Editor's note] From December 1947, the world's first transistor was born in Bell Labs in the United States, to 1959, Noyce of Fairchild Semiconductor wrote a plan to build an integrated circuit and invented the world's first silicon Integrated circuits and chips began to develop rapidly, and even became one of the economic pillars of a country. How did American chips come about and rise?...

August 29, 2022

[PostgreSQL] Stats Collector has been removed from PostgreSQL 15

Those trying out the upcoming PostgreSQL 15 will notice one less background process: postgres 1710 1 0 04:03 ? 00:00:00 /usr/pgsql-15/bin/postmaster -D /var/lib/pgsql/15/data/postgres 1711 1710 0 04:03 ? 00:00:00 postgres: logger postgres 1712 1710 0 04:03 ? 00:00:00 postgres: checkpointer postgres 1713 1710 0 04:03 ? 00:00:00 postgres: background writer postgres 1715 1710 0 04:03 ? 00:00:00 postgres: walwriter postgres 1716 1710 0 04:03 ? 00:00:00 postgres: autovacuum launcher postgres 1717 1710 0 04:03 ?...

August 28, 2022

Flagship chip performance is too strong, is it a good thing or a bad thing?

Source: Lei Technology Digital 3C Group Edit: lost soul Starting from the end of 2021, Qualcomm Snapdragon processors will no longer use the previous naming rules, but will be replaced by the simpler Snapdragon X Gen N (X refers to series, N refers to generations). In the past, there were four main series of Snapdragon processors, including 8 series, 7 series, 6 series, and 4 series. The bigger the number, the more high-end....

August 28, 2022