MySQL - slow query log analysis

Article catalogue MySQL - slow query log analysis 1. Start and set slow query log2. Data preparation3. Slow query log analysis tool: mysqldumpslow4. Delete slow query log5,show profile MySQL - slow query log analysis MySQL's slow query log is a kind of log record provided by mysql. It is used to record the statements whose response ...

Posted by razvypp on Tue, 02 Aug 2022 21:39:47 +0300

LRU and LFU algorithm (page replacement algorithm)

Differences between LRU and LFU Both LRU and LFU are page replacement algorithms for memory management. LRU: Least Recently Used (longest time) elimination algorithm. LRU is the page that has not been used for the longest time. LFU: Least Frequently Used. LFU is the least used page in a period of time. example Assume that th ...

Posted by latinofever on Mon, 01 Aug 2022 21:07:12 +0300

SpringBoot integration springcloud Alibaba Seata details

SpringCloud Alibab-Seata Introduction: Seata is an open source distributed transaction solution, which is committed to providing high-performance and easy-to-use distributed transaction services under the microservice architecture. Seata will provide users with AT, TCC, SAGA and XA transaction modes to create a one-stop distributed soluti ...

Posted by kporter.porter on Sun, 31 Jul 2022 21:07:19 +0300

Quickly master MyBatis framework

Article catalogue 1, Foreword 1.1 database and table1.2 entity class1.3 MyBatisX plug-in1.4 SQL log view configuration 2, Multi table query 2.1 one to one2.2 one to many 3, Dynamic SQL usage 3.1 < if > label3.2 < trim > label3.3 < where > label3.4 < set > label3.5 < foreach > label 1, Forewor ...

Posted by mithras on Sat, 30 Jul 2022 21:38:10 +0300

Springboot Alipay sandbox payment - complete and detailed steps

1. Enter Alipay development platform sandbox environment Sandbox environment - Alipay Document Center 1.1. Enter personal sandbox environment Click to enter the sandbox environment and log in with Alipay Sandbox management interface is shown in the figure appid, Alipay gateway, custom key, etc Here is the account number and password of ...

Posted by Mike-2003 on Sat, 30 Jul 2022 21:14:49 +0300

Basic syntax of MySQL DDL and DML and DQL

preface SQL statement, namely structured query language, is a programming language for special purposes. It is a database query and programming language, which is used to access data, query, update and manage relational database systems. It is also an extension of database files. The SQL statements specified in the SQL standard are divided in ...

Posted by Noctagon on Sat, 30 Jul 2022 09:58:45 +0300

Understanding and use of ThreadLocal

Understanding and use of ThreadLocal ​ When multiple threads access the same shared variable, they are particularly prone to concurrency problems, especially when multiple threads need to write to a shared variable. In order to ensure thread safety, general users need to synchronize appropriately when accessing shared variables. ​ The syn ...

Posted by carlmty on Tue, 24 May 2022 17:07:06 +0300

Leetcode Best Time to Buy and Sell Stock series topic analysis and java implementation

Leetcode Best Time to Buy and Sell Stock series topic analysis and java implementation The title of this series is to allow us to trade according to restrictions in a continuous period of stock prices to maximize profits. Each derivative title will set some restrictions Best Time to Buy and Sell Stock I Best Time to Buy and Sell Stock II Best ...

Posted by Karlos2394 on Sun, 22 May 2022 21:32:50 +0300

How to Realize Breakpoint Continuation of Large Files Similar to Baidu Disk

Catalog background Implement small file upload as a whole Build Front End Environment Setting up a service-side environment How to Upload Large Files in Pieces Client implementation slicing Client computing hash Client Upload Slices Server Implements Check Interface Server Implements Piecewise Upload Interface Service side implements me ...

Posted by doforumda on Sun, 22 May 2022 20:42:59 +0300

Invest in a milk tea shop and coffee shop (code implementation) [the web page can be modified by yourself]

catalogue 1 investment 2 coffee shop code display 2.1 ideological source 2.2? Pictures and videos 2.3 code 2.4 write at the end? 1 investment **There is only one criterion for real investment, that is, whether it is creating real value and whether this value is beneficial to the overall prosperity of society** Adhering to this standar ...

Posted by solar_ninja on Fri, 20 May 2022 23:52:30 +0300