Use of DBlink in Mysql

In practice, we may encounter tables that need to operate on other database instances, but do not want the system to connect to multiple libraries. At this point, we need to use data table mapping. Like DBlink in Oracle, anyone who has used Oracle DBlink database links knows that they can query data across instances. Similarly, Mysql's own FEDE ...

Posted by jhbalaji on Sun, 21 Jul 2019 12:06:05 +0200

Django-ORM table building

Foreplay ORM (Object Relational Mapping) is a technology to solve the mismatch between object-oriented and relational database. Advantages of ORM: The main problem that ORM solves is the mapping of objects and relationships. It usually corresponds one class to one table, each instance of a class corresponds to a record in the table, and each ...

Posted by jagat21 on Sat, 20 Jul 2019 07:40:52 +0200

Auxiliary System - Workflow Scheduler azkaban

1. Overview azkaban: https://azkaban.github.io/ 1.1. Why Workflow Scheduling System is Needed A complete data analysis system usually consists of a large number of task units: shell script program, java program, mapreduce program, hive script, etc. Time-dependent and time-dependent relationships ...

Posted by mikem562 on Sat, 20 Jul 2019 04:06:51 +0200

TypeScript Learning Notes

TypeScript: 1. It is a superset of JavaScript that supports the ES6 standard. 2. Free and Open Source Programming Language Developed by Microsoft 3. The design goal is to develop large-scale applications, which can be compiled into pure JavaScript, and the compiled JavaScript can run on any browser. 4. Extended JavaScript syntax, so existi ...

Posted by watsmyname on Fri, 19 Jul 2019 15:41:44 +0200

MySQL View Modified Storage Engine Summary

This paper summarizes some methods of viewing and modifying the storage engine under MySQL. The test and validation environment is MySQL 5.6. If there are any differences, please refer to the actual version.   1: View MySQL Storage Engine Information   1.1 Use the show engine command. Support column, YES indicates that the current versio ...

Posted by ph3n0m on Thu, 18 Jul 2019 04:39:11 +0200

Composite data types for MySQL: ENUM and SET

Common data types for MySQL include Number/Date/String, which includes simple data types of different lengths, such as Char/Varchar/Binary/blob/text. Sometimes we need more detailed data management, such as enumerations and collections, and composite types ENUM and SET. ENUM Enumeration Type ENUM is suitable for scenarios where only one of a s ...

Posted by iRock on Wed, 17 Jul 2019 18:18:35 +0200

Configuration of CPPCC Server

Detailed description of server configuration Recently, the server has just been configured. For the sake of memorandum, this document will explain in detail how to configure the server and record all the problems that arise in the process of configuring the server. Detailed description of server configuration Installation Chapter Ins ...

Posted by The_Walrus on Tue, 16 Jul 2019 22:39:16 +0200

PHP+MySQL for the month, week, day data statistics, and the corresponding fields grouped and sorted

In our development process, we often encounter members or businesses to rank revenue, sorted according to the month, week or day; of course, you can first get the data used, and then according to the functions you want to process the data accordingly. Next, I want to show you how to operate MySQL directly, using some statistical functions ...

Posted by Iokina on Tue, 16 Jul 2019 22:31:27 +0200

MySQL Increases Sequence Management Function

From: http://xm-koma.iteye.com/blog/1961793 In the project application, there was the following scenario: An int-type pipeline number is required to be sent in the interface. Because of the multithreaded mode, there may be duplication if timestamp is used (of course, the probability is very small). So I think of using an independent ...

Posted by costamesakid on Mon, 15 Jul 2019 00:32:12 +0200

Mysql disk IO is too high

Today, I saw an alarm on spotlight that the disk IO is too high. Log in to the server to check the specific disk IO: [root@hbwb-008 ~]# iostat -dxk 1 Disk write is close to 20M per second, util% usage is close to 100%. First of all, we suspect that the slow query statement is the cause. Look at the MYSQL slow query situation: mysql&gt ...

Posted by EODC on Mon, 15 Jul 2019 00:20:56 +0200