laravel's mysql split table and split table associated query solution

0X00 problem appears How does laravel of php implement horizontal sub table? Recently, there was a project in hand. The framework used the laravel7 framework of php. Due to the surge in the amount of data, 300000 rows of data were produced in one night for the details of rapid iterative development, and the main table had 12 million data. Beca ...

Posted by -entropyman on Wed, 27 Oct 2021 09:20:17 -0700

Database backup and recovery

catalogue preface 1, Log management of MySQL 1. Overview 2. Log classification of MySQL 3. MySQL log on 4. Enter the database to check whether the corresponding log is enabled four point one   Check whether the general query log is enabled four point two   Check whether the binary log is enabled 5. View slow query log relat ...

Posted by infratl on Wed, 27 Oct 2021 03:59:55 -0700

MySQL incremental backup and recovery

catalogue preface 1, MySQL incremental backup 1. Concept of incremental backup 2. Advantages and disadvantages of incremental backup 3. Significance of binary log backup 4. Realize incremental backup 2, Incremental recovery 1. Incremental recovery mode 2. Recovery of changed data after loss of full backup 3. Recover all data lost afte ...

Posted by sseeley on Wed, 27 Oct 2021 03:28:20 -0700

JDBC implements the connection and operation of MySQL

1, JDBC introduction JDBC(Java Database Connectivity) is a common interface (a set of API s) independent of a specific database management system and general SQL database access and operation. It defines the standard Java class libraries used to access the database (java.sql,javax.sql). These class libraries can be used to access database ...

Posted by karlovac on Tue, 26 Oct 2021 03:50:47 -0700

MySQL backup and recovery - full backup and recovery (warm and cold backup)

preface Every time the data is backed up completely, that is, the whole database, database structure and file structure are backed up. What is saved is the database at the time when the backup is completed. It is the basis of differential backup and incremental backup. The backup and recovery operations of full backup are very simple and ...

Posted by ClarkF1 on Mon, 25 Oct 2021 23:44:22 -0700

Java from introduction to actual combat Summary - 4.4, JDBC

Java from introduction to actual combat Summary - 4.4, JDBC 1. Introduction JDBC (Java database connectivity) is a Java API for executing SQL statements. It can provide unified access to a variety of relational databases. It is composed of a group of classes and interfaces written in Java language. JDBC provides a benchmark by which mor ...

Posted by scottrad on Mon, 25 Oct 2021 07:15:04 -0700

Deploy the LAMP platform, compile and install Apache, MySQL, PHP, and forum

preface        Here we will introduce the deployment of LAMP platform and the steps of compiling and installing the source code of each component. 1, Introduction to LAMP 1. LAMP platform overview          LAMP architecture is one of the mature enterprise website applica ...

Posted by phpuser1985 on Sun, 24 Oct 2021 20:09:24 -0700

Understand JDBC in one article (20000 words)

1. What is JDBC? Java database connectivity 2. What is the essence of JDBC? JDBC is a set of interfaces set at the top of sun company java.sql.*; (there are many interfaces under this software package) Interfaces have callers and implementers Interface oriented calling and interface oriented writing implementation classes belong to inte ...

Posted by zytex on Sun, 24 Oct 2021 05:51:18 -0700

Slow log analysis in MySQL and TiDB of database Series

Slow logs are mainly used to record SQL statements that take more than a specified time to execute in the database. Through slow query logs, you can find out which statements are inefficient for optimization. This paper briefly introduces the slow log structure in MySQL and TiDB, and deepens the understanding of the slow log structure of distri ...

Posted by paparts on Sat, 23 Oct 2021 21:27:04 -0700

mysql5.7 is manually installed on centos server

Manually install MySQL version 5.7. X in CentOS 7.4 environment. 1. Install MySQL version: 5.7.25 2. Download address https://dev.mysql.com/downloads/mysql/5.7.html#downloads (as time goes by, please refer to the download address of the latest official website) 3. Use the wget command to download the relevant rpm files through breakpoint t ...

Posted by LiamOReilly on Sat, 23 Oct 2021 18:58:50 -0700