postgreSQL source code analysis - storage management - external storage management
2021SC@SDUSC
summary
Last time, the TOAST mechanism of postgreSQL was analyzed. The TOAST mechanism belongs to the automatic processing mechanism of postgreSQL for variable length variables (big data), and can not handle blob s and clob s, which are large objects actively used by users. To deal with such large objects, you need to use anot ...
Added by TheTitans on Mon, 08 Nov 2021 08:37:40 +0200
SQL written test for data analysis post of an Internet company
Hello, everyone. I'm Mr. Tony, who only talks about technology and doesn't cut his hair.
Recently, a friend shared that he participated in the internship interview of data analyst of an Internet (live delivery) company. The following is my analysis of relevant SQL test questions. The database used is MySQL 8.0.
If you find the article useful, ...
Added by johnbruce on Sun, 07 Nov 2021 22:43:46 +0200
15000 word MySQL quick reference manual
SQL basic knowledge sorting
select query results, such as: [student number, average score: group function AVG (score)] from which table to find data, such as: [related to grade: grade table score] where query criteria, such as: [b. course number = '0003' and b. score > 80] Group by grouping, such as: [average of each student: gro ...
Added by php_novice2007 on Sun, 07 Nov 2021 03:17:40 +0200
Introduction to Nebula distributed graph database
1 what is a Graph
The pictures introduced in this article are different from the common pictures in daily life. Generally, in English, in order to distinguish these two different graphs, the former is called Image and the latter is called Graph. In Chinese, the former will be emphasized as "picture", while the latter will be emphasiz ...
Added by juniorbisono on Sat, 06 Nov 2021 21:30:19 +0200
MySQL -- stored procedures and stored functions
1. Stored procedures and stored functions
1. Stored procedure and stored function: MySQL provides the mechanism of stored procedure and stored function. Let's collectively call stored procedure and stored function stored programs. Unlike ordinary SQL statements, which need to be compiled first and then executed immediately, ...
Added by yuan22m on Fri, 05 Nov 2021 06:31:56 +0200
A script for automatically backing up MySQL
Students of background development and operation and maintenance are certainly familiar with MySQL backup. Regular online database backup is necessary, and this process is generally automatic. This paper will introduce a shell script, which has the function of automatically backing up MySQL and automatically clearing expired backup data
Back ...
Added by shan111 on Thu, 04 Nov 2021 03:08:22 +0200
MySQL - MHA high availability configuration and failover
preface
When building a mysql Cluster, a single master makes master-slave replication, which greatly improves the reading and writing ability of the database, but once a single point of failure occurs, the whole cluster will be paralyzed. Therefore, we usually configure the master to improve the redundancy ability of the cluster.
1, W ...
Added by camadan on Tue, 02 Nov 2021 19:44:44 +0200
Database Mysql optimization and Redis distributed optimization of interview questions
Welcome to personal blog http://www.jkraise.top
This case project is based on MySQL and Redis in the dark horse headlines
Database optimization
1. Slicing2. Vertical split3. Horizontal split
Slice
effect
Sharding is also called data sharing. Its main work is to split a single database and a single table. Multiple databases and tables toge ...
Added by mattgleeson on Tue, 02 Nov 2021 01:34:34 +0200
Mysql database -- High-level statement
catalogue
1, Sort by keyword
1. Single field sorting
2. Multi field sorting
2, Or / and Application
3, Query non duplicate records
4, Group results
5, Limit result entries
6, Set alias
Usage scenario
7, Join statement
8, Wildcard
9, Subquery
1. Definition
2. Subquery - alias
3. Subquery - exists
10, View
11, NULL value
1. Defi ...
Added by Maverickb7 on Mon, 01 Nov 2021 18:52:56 +0200
MySql built-in constraints and functions
MySQL built-in constraints and functions
1. Table constraints
In order to ensure that the database is inserted according to the specified rules, table constraints are introduced in the database. Common table constraints are
The primary key constraint primar key (cannot be empty or duplicate) if it is an integer type, it is generally defined ...
Added by lajkonik86 on Mon, 01 Nov 2021 18:33:16 +0200