CTO said, who has the following eight ways to write SQL directly

1. Introduction MySQL still maintained a strong database popularity growth trend in 2016. More and more customers build their applications on MySQL database, and even migrate from Oracle to MySQL. However, some customers encounter some problems in the process of using MySQL database, such as slow response time, full CPU, etc. Alibaba cloud R ...

Posted by ticallian on Tue, 25 Jan 2022 23:01:02 +0100

Learn Mysql from scratch - character set and encoding

Learn Mysql from scratch - character set and encoding (Part 2)introductionThis series of articles is based on the personal notes summary column of "how MySQL works: understanding MySQL from the root". It is highly recommended that you read this book carefully. It is also one of the few good books that tell the principle of MySQL. Well ...

Posted by 947740 on Tue, 25 Jan 2022 21:35:08 +0100

Technology sharing | when does MySQL: change buffer take effect

Author: Hu ChengqingMember of aikesheng DBA team, good at fault analysis and performance optimization, personal blog: https://www.jianshu.com/u/a95... , welcome to the discussion.Source: original contribution*It is produced by aikesheng open source community. The original content cannot be used without authorization. For reprint, please contact ...

Posted by mike0193 on Tue, 25 Jan 2022 07:20:11 +0100

zabbix5.0 installation documentation

https://www.zabbix.com/documentation/current/manual/concepts/server server installation #Download configuration using yum # rpm -Uvh https://repo.zabbix.com/zabbix/5.0/rhel/7/x86_64/zabbix-release-5.0-1.el7.noarch.rpm # yum clean all # vim /etc/yum.repos.d/zabbix.repo [zabbix-frontend] ... enabled=1 ... #zabbix package d ...

Posted by dacs on Tue, 25 Jan 2022 06:53:10 +0100

Getting started with mybatis | mybatis cache

1 Introduction What is Cache? There is temporary data in memory.Put the data frequently queried by users in the cache (memory), and users do not need to query from the disk (relational database data file) but from the cache to query the data, so as to improve the query efficiency and solve the performance problem of high concurrency sy ...

Posted by scottgum on Tue, 25 Jan 2022 05:01:48 +0100

MySQL - Chapter 5 - SQL Basics

1. Constraints 1.1 PrimaryKey(PK): primary key Features: unique + non empty, a table can only have one primary key constraint It is usually a numeric column Better be meaningless 1.2 NOT NULL Features: cannot be empty. We recommend that the business key column (index column) be set as non empty as possible 1.3 UNIQUE constraint Features: ...

Posted by epetoke on Mon, 24 Jan 2022 17:39:59 +0100

Mysql combines the row data according to the conditions, and then transfers the column according to the conditions

background As required by the company, it is now necessary to make statistics on the data of the questionnaire filled in by the user. The final presentation style is EXCEL, and the content is the options of each question filled in by the user, that is, the following table style: User ID numberQuestion 1Question 2Question 3...Question 22110000 ...

Posted by sungpeng on Mon, 24 Jan 2022 16:16:37 +0100

MySQL multi table query

1, Case analysis Table structure of query Get data from multiple tables: -- Wrong query method: query employees Tabular id and departments Name of the table SELECT employee_id, department_name FROM employees, departments; # 2889 records, there can't be so many, it's wrong SELECT * FROM employees; #107 SELECT 2889/107 FROM DUAL; # ...

Posted by dm3 on Mon, 24 Jan 2022 15:07:26 +0100

How to gracefully implement the addition, deletion, modification and query of Mysql? After reading it, you will

Then, in the previous period, the data was queried without writing an sql in the previous period. What if you want to save or update the data? Can you write your own sql? Save data @GetMapping("save")//Save data public void save(@RequestBody User user){ userJpa.save(user); } Add the above method in UserController. Using @RequestBody ...

Posted by robin105 on Mon, 24 Jan 2022 14:35:41 +0100

hikaricp druid comparison_ Java code generator adds postgresql database, HikariCP connection pool and swagger2 support

preface    in recent days, I have taken time to add several new functions to the code generator (it is expected to be released tonight). At present, it supports postgresql database, HikariCP connection pool and swagger2 (there is a link to the generator at the end of the article. Friends who like it can download it for free forever. ...

Posted by jonwondering on Mon, 24 Jan 2022 13:43:55 +0100