Some key analysis tools of MySQL
Catalog
pstack
gdb
strace
perf
pstack
Get stack informationProblem thread positioningLow load
mysql_pid=4522
pstack $mysql_pid>pstack.info
PT PMP sorting stack information
pt-pmp pstack.info | less
You can also directly execute Pt PMP
pt-pmp --pid 4522
as
10 __io_getevents_0_4(li ...
Posted by fatmart on Mon, 11 Nov 2019 15:09:47 -0800
LNMP Deployment and Application Theory and Practice
LNMP Deployment and Application
Interpretation of LNMP Architecture
The LNMP platform is a combination of Linux, Ngnix, MySQL and PHP.Architecture, requires Linux server, MySQL database, PHP parsing environment
MySQL Installation Configuration
For consistency with Nginx, PHP environments, here is the option to install MySQL components as sourc ...
Posted by hyzdufan on Mon, 11 Nov 2019 14:48:38 -0800
Using vue+node+koa+sequlize to realize the background management system
mkdir AceNode && cd AceNode
vi package.json
Add the following to package.json
{
"name": "ace-node",
"version": "1.0.0",
"description": "backend for ace",
"main": "./src/app.js",
"scripts": {
"start": "nodemon node ./src/app.js",
"build": "babel ./src/app.js -d dist"
},
"keywords": [
"koa",
"async"
],
...
Posted by phorcon3 on Mon, 11 Nov 2019 14:28:22 -0800
How to connect Aurora MySQL with Java
Author: halo cloud Ma Ligang
The following is a reference example of using MySQL connector to connect Aurora for mysql: Workbench accesses Aurora in the same way as mysql, such as: Aurora.example.rds.cn-northwest-1.amazonaws.com.cn User name: root Password: root
Eclipse development first adds dependency in maven, as follows:
<depen ...
Posted by Zup on Sat, 09 Nov 2019 08:41:23 -0800
Python: record a Web interface optimization
background
We are responsible for a business platform. Once we found that the loading of the settings page was particularly slow, which was just outrageous
It is impossible for users to wait for 36s, so we are going to start the optimization journey.
Throw a stone to clear the road
Since it is the response of the website, we can use Chrome as ...
Posted by krio on Sat, 09 Nov 2019 08:38:26 -0800
The third bullet of MySQL statement -- single table query and multi table query
Part I multi table query
Complete syntax of single table query:
Select distinct field name
from 'table name'
where 'filter conditions before grouping'
group by 'field name'
having 'filter conditions after grouping'
order by 'default ascending sort ase|desc'
limit display number
Execution order of keywords:
**
1,from
2, ...
Posted by *mt on Sat, 09 Nov 2019 08:10:51 -0800
Technology sharing | login MySQL safely without password
By Daniel gusman BurgosGuan ChanglongOriginal text: https://www.percona.com/blog/...
Some people say the best password is one you don't have to remember. The auth? Socket plug-in and MariaDB's UNIX? Socket make this idea possible on MySQL.
auth_socket: https://dev.mysql.com/doc/ref...
unix_socket: https://mariadb.com/kb/en/lib...
Although t ...
Posted by Baumusu on Fri, 08 Nov 2019 02:27:29 -0800
PageHelper, the easiest paging plugin to learn from
Introduction:
PageHelper is an excellent open source mybatis paging plugin in China. It supports basic mainstream and commonly used databases, such as mysql, oracle, mariaDB, DB2, SQLite, Hsqldb, etc.Today, let's talk about PageHelper, a paging plugin. Here's the open source address of PageHelper. Interested buddies can check it out
PageHelpe ...
Posted by carsale on Thu, 07 Nov 2019 17:56:51 -0800
Pod,Deployment,ReplicaSet,Service Association, Relationship Analysis in k8s
#Analysis
podFirst, let's start with the smallest dispatch unit, pod.There is currently a pod in my k8s cluster whose name is admin-mysql-1d29997-5db458497c-h6rrs
[root@k8s-master ~]# kubectl get pod admin-mysql-1d29997-5db458497c-h6rrs
NAME READY STATUS RESTARTS AGE
admin-mysql-1d29997-5db458497c-h6rrs ...
Posted by Salis on Thu, 07 Nov 2019 11:44:27 -0800
Mybatis Reverse Engineering in Intellij Idea
Beginning
A useful feature of Mybatis is reverse engineering, which can reverse-generate entity classes based on table structure to avoid manual errors.Most of the tutorials on the market are very old, mostly for mysql5. Here's my experience with mysql8.
Introducing Engineering
Using the maven package management tool, add the following configur ...
Posted by Jeller on Thu, 07 Nov 2019 06:30:34 -0800