SpringBoot-21-Mybatis multi data source configuration

SpringBoot-21-Mybatis multiple data sources As we mentioned earlier, there are two ways to generate Mybatis Code: Mybatis Genenrator Mybatis code generation Mybtais Plus MyBatisPlus code generation The JdbcTemplate and spring boot data operation databases were also introduced earlier JdbcTemplate multi data source configuration Spring ...

Posted by Ree on Mon, 07 Mar 2022 04:53:58 +0100

High force SQL writing: line to line comparison

Environmental preparationDatabase version: MySQL 5.7.20-logCreate table SQLDROP TABLE IF EXISTS `t_ware_sale_statistics`; CREATE TABLE `t_ware_sale_statistics` (   `id` bigint(20) NOT NULL AUTO_INCREMENT COMMENT 'Primary key id',   `business_id` bigint(20) NOT NULL COMMENT 'Business organization code',   `ware_inside_code` bigint(20) NOT NULL C ...

Posted by vcv on Mon, 07 Mar 2022 03:09:41 +0100

MySql database backup and restore

Backup (mysqldump) Realize the following functions: 1. Back up the specified database 2. Delete the backup file before the specified number of days. 1 day is set by default Script example (mysql_bak.sh) # Database backup root directory BACKUP_DIR="/usr/local/mysqlbackups/tsmbak/" #Specify the host name of the host where mysql resides DB_HOST ...

Posted by rvdb86 on Mon, 07 Mar 2022 02:42:57 +0100

Deep learning linear algebra, probability and information theory

(3) Probability and information theory) 2, Linear algebra Purpose: it is mainly to reduce the dimension of data and restore or build the target with the least data 2.1 eigenvalue decomposition Only symmetric positive definite matrix can be decomposed into eigenvalues. Eigenvalue decomposition: A = P * B * PT, where B is the diagonal mat ...

Posted by GeertDD on Sun, 06 Mar 2022 17:43:45 +0100

Element UI simple learning + add, delete, modify and check based on springboot

Element UI simple learning + add, delete, modify and check based on springboot Sample demonstration Springngbooy + Vue realizes simple addition, deletion, modification and query (simple separation of front and rear ends) How to launch our vue ui Our element ui created here is designed We are graphical ui (graphical interface) ...

Posted by Guardian-Mage on Sun, 06 Mar 2022 16:09:34 +0100

Custom SQL collection metadata using graphite

Grabit yes Salmon data kinship analyzer It collects SQL scripts from various data sources and then uploads them to salmon for data kinship analysis. The analysis results can be viewed in salmon. At the same time, the data kinship results will be extracted into the local directory. At present, grab supports two modes of operation: graphical int ...

Posted by shiva on Sun, 06 Mar 2022 10:37:04 +0100

Code practice of several schemes often used in second kill anti oversold

https://www.jianshu.com/p/a2bd89e0d24b If you want to do well, you must sharpen your tools first. Let's install relevant tools first jmeter I demonstrated it on mac, so I'll install brew first ruby -e "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/master/install)" 2> /dev/null Using brew to install jmeter brew instal ...

Posted by Pethlehemm on Sun, 06 Mar 2022 10:26:19 +0100

Using vscode to develop C + + programs on linux platform (including cmake and gdb)

The main purpose of writing this blog is to record the following knowledge points, and then introduce its concept and usage one by one. 1. Recognize and use vscode 2. Use g + + to compile and run a multi file C + + project 3. Compile a multi file C + + project with cmake 4. Compile, run / debug a multi file C + + project on cscode 5. Use gdb to ...

Posted by .-INSANE-. on Sun, 06 Mar 2022 07:44:29 +0100

Community property management system based on java SpringBoot framework

The community property management system is divided into two roles: community owner and community property manager. After logging in to the system, the community owner can complain, maintain and report, view bills, log in and register, etc; After logging into the system, the administrator can manage users, and can manage parking spaces, houses, ...

Posted by Brit on Sun, 06 Mar 2022 03:35:43 +0100

MySQL MMM high availability cluster

1, Overview of MySQL MMM cluster technology; Overview: MMM (Master Master replication manager for mysql) is a script program that supports dual master failover and dual master daily management. MMM is developed in Perl language and is mainly used to monitor and manage mysql master master replication. It can be said to be mysql master replicati ...

Posted by SocomNegotiator on Sat, 05 Mar 2022 15:59:12 +0100