GZHU Software Direction Comprehensive Course Design-Course Management System (Qt+mysql)
Preface
Author: Light as the breeze cyfDate: 2021/1/4-2021/1/11This article comes from the Comprehensive Course Design of Software Direction in Senior Three School
1. Topics and Contents of Course Design
1. Basic Facts
(1) Students belong to only one class (e.g. Accounting 181) (2) There are six classes in Grade 18 of the Accounting Dep ...
Added by dadamssg on Thu, 14 Oct 2021 20:11:03 +0300
Redis07: comprehensive application in SpringBoot project
Business description
All article tags are queried from a blog database and stored in the cache. Subsequent queries can be obtained from the cache. Improve its query performance.
preparation
Initialization data
Initialize the data in the database. The SQL script is as follows:
DROP DATABASE IF EXISTS `blog`;
CREATE DATABASE `blog` DEFAULT ...
Added by ziggs on Thu, 14 Oct 2021 09:08:37 +0300
Zhang's notes - clickhouse
1, clickhouse - Introduction
ClickHouse is a column database management system (DBMS:Database Management System) for online analytical processing (OLAP) opened by Yandex of Russia in 2016. It is mainly used for online analytical processing query (OLAP), and can use SQL query to generate analysis data report in real time. The full name of C ...
Added by wizzard on Wed, 13 Oct 2021 15:03:46 +0300
[learning notes] MyBatis learning notes
This paper is a dynamic node MyBatis tutorial My study notes.
Chapter I
1. Three tier architecture
(1) Functions of three layers
User Interface Layer: accepts user data and displays the processing results of requests, including jsp, html, servlet, etc. Corresponding controller package; Business Logic Layer: accept the data passed from the ...
Added by hazy on Tue, 12 Oct 2021 10:26:43 +0300
redis sentry high availability deployment scheme
redis high availability cluster deployment scheme
1. redis installation and deployment
redis installation is recommended to use source code compilation and installation, which is applicable to most linux systems
# To download the redis file, it is recommended to create a new folder where you want to install it, and then download it to the fo ...
Added by Asinox on Tue, 12 Oct 2021 10:04:20 +0300
06 redis architecture design
Redis master-slave replication
brief introduction
The read-write capability supported by a single redis is still limited. At this time, we can use multiple redis to improve the concurrent processing capability of redis. How these redis cooperate requires a certain architecture design. Here, we first analyze and implement the master / slav ...
Added by bhinkel on Tue, 12 Oct 2021 06:24:59 +0300
Redis05: transaction processing practice
Redis transaction introduction
summary
Redis adopts the optimistic locking method for transaction control. It uses the watch command to see the given key. When exec(t commits the transaction), if the monitored key is valid for the whole connection, such as disconnecting the connection, the supervisor and transaction will be automatically clea ...
Added by Poomerio on Tue, 12 Oct 2021 03:52:38 +0300
Research on fast inserting large amount of INSERT data into PostgreSQL database
background
In some application scenarios, you need to quickly load a large amount of data into the PostgreSQL database, such as database migration, SQL log analysis, etc. How many ways to quickly insert data on PG? What is the efficiency of each scheme? How can I tune for faster data loading?
Scene setting
SQL log analysis is a tool for coll ...
Added by alin19 on Tue, 12 Oct 2021 03:29:32 +0300
Shang Silicon Valley online education 10: home page data display
1. Homepage data banner display (Backend)
1.1 create sub module service in service_cms
1.2 create profile
In application.properties
# Service port
server.port=8004
# service name
spring.application.name=service-cms
# mysql database connection
spring.datasource.driver-class-name=com.mysql.cj.jdbc.Driver
spring.datasource.url=jdbc:mysql:/ ...
Added by akrytus on Sun, 10 Oct 2021 17:31:19 +0300
MySQL incremental backup_ Restore_ reduction
Enable binary log function
Set the storage directory and file name prefix of binary log files in the configuration file / etc/my.cnf:
log-bin=/var/lib/mysql/mybinlog/mysql-bin
server-id=1
Enable exclusive tablespaces:
innodb_file_per_table=1
explain:
1. According to the above configuration, after the database service is restarted, ...
Added by jnewing on Sun, 10 Oct 2021 14:54:17 +0300