Development Steps and Architecture
0. Simple Course Management
0.1 Establishment of database tables
MySQL
create table t_teachers (
id int(5) primary key ,
username varchar(30) unique not null ,
password varchar(32) not null ,
name varchar(100) ,
gender varchar(6),
birthdate date
);
Note that id is the primary key in ...
Posted by arunmj82 on Mon, 30 Sep 2019 13:17:08 +0200
Are there inconsistencies between the source and target libraries of pt-archiver archived data?
background
Archived tables exist in both source and target Libraries
The scenarios of pt-archiver archive table are as follows: no deletion of original table data, non-batch insertion of target database; no deletion of original table data, batch insertion of target database; non-batch deletion of original table data, non-batch insertion of tar ...
Posted by Altairzq on Sun, 29 Sep 2019 16:40:28 +0200
MYSQL Processing Date-Time Function
I. MySQL Gets the Current Date-Time Function
1.1 Get the current date + time
Function: now()
mysql> select now();
+---—+
| now() |
+---—+
| 2008-08-08 22:20:46 |
+---—+
In addition to the now() function to get the current date and time, MySQL has the following functions:
current_timestamp() ...
Posted by iamtom on Thu, 26 Sep 2019 09:27:39 +0200
Complete Building Tutorial for Spring Boot + Mybatis Multimode (module) Project
I. Preface
Recently, the company's project is ready to start refactoring. The framework is chosen as SpringBoot+Mybatis. This article mainly records the process of building SpringBoot multi-module project in IDEA.
1. Development Tools and System Environment
IDE: IntelliJ IDEA 2018.2
System ...
Posted by tbeinc on Mon, 23 Sep 2019 07:33:00 +0200
3. SpringBoot integrates mybatis multi-data sources and sub-database and sub-table
Preface
To be honest, this chapter was not meant to talk about, because there are many similar tutorials on the Internet that configure multiple data sources. But recently, because the project uses sub-database and sub-table, let me study how to achieve it. I think about the last blog about multi-environment configuration, different environment ...
Posted by htcilt on Sat, 21 Sep 2019 14:00:50 +0200
Preliminary Study on Agent Transport Mechanism in OSSIM Sensor
In OSSIM sensor, the conversion of communication protocol and data format between OSSIM proxy and OSSIM server is realized through GET framework. Let's take a brief look at the ossim-agent script:#!/usr/bin/python -OOtimport syssys.path.append('/usr/share/ossim-agent/')sys.path.append('/usr/local/share/ossim-agent/')from ossim_agent.Agent impo ...
Posted by kriss37 on Thu, 19 Sep 2019 06:16:31 +0200
Hive 2.3.0 Installation Notes
preparation in advance
Complete hadoop installationComplete the installation of mysql
Download Hive
wget http://mirror.bit.edu.cn/apache/hive/hive-2.3.0/apache-hive-2.3.0-bin.tar.gz
Or go to the official website and install it.
Unzip to the spe ...
Posted by ubuntu-user on Wed, 18 Sep 2019 13:23:26 +0200
SpringBoot+Jpa Multi-data Source Configuration
about
Sometimes, with the development of business, the data sources associated with the project will become more and more complex, and the database used will be more dispersed. At this time, multi-data sources will be used to obtain data. In add ...
Posted by samba_bal on Wed, 18 Sep 2019 05:36:54 +0200
WEB Backend Service Day 21 - Project Day 1
WEB Backend Service Day 21 - Project Day 1
1. Build a project team development platform
II. Basic usage of Docker and Quick Deployment Projects
2.1 Basic Description
Mainstream Development Model: DevOps Development as Operations Maintenance
Doc ...
Posted by Crazy-D on Mon, 16 Sep 2019 04:11:21 +0200
Java Description Design Patterns (11): Observer Patterns
This article source code: GitHub. Click here || GitEE. Click here
I. Observer Model
1. Concept Description
The observer pattern is the object's behavior pattern, also known as the Publish/Subscribe pattern. The observer pattern defines a one-to-many dependency that allows multiple observer objects to simultaneously listen to a subject object, ...
Posted by baze on Sun, 15 Sep 2019 17:49:02 +0200