[advanced use of MySQL database] transaction & Index (super detailed explanation)
Insert query results into other tables
Be able to write SQL statements that insert query results into other tables
1. Thinking
At present, there is only one goods table. We want to add a commodity classification information. For example, the classification information of mobile devices cannot be added only through the goods table. How ...
Posted by snowrhythm on Fri, 31 Dec 2021 17:18:54 +0100
Restore MYSQL backup to the specified pos point
Tip: after the article is written, the directory can be generated automatically. Please refer to the help document on the right for how to generate it
preface
I saw it on the bus in the morning**_ The article on MySQL binlog written by yidianyu * * in Jiangnan is very detailed about the use of binlog to recover the database. I can under ...
Posted by cbolson on Fri, 31 Dec 2021 17:04:25 +0100
In python, use pymysql to call mysql for addition, deletion, modification, migration and query
Welcome to my blog
1, Relational database
< "\ 1 / >, data model
There are three types of relationships between entities:
The first mock exam model (1*)
One to one Relational model uses two-dimensional tables to represent data and data relations. It is the most widely used data model. At present, various commonly used databa ...
Posted by GroundZeroStudio on Fri, 31 Dec 2021 16:35:05 +0100
Spring Cloud + Vue e e-commerce project development practice - configure Druid and slf4j
Configure Druid
The database connection pool is responsible for allocating, managing and releasing database connections. It allows applications to reuse an existing database connection instead of re establishing one. It releases the database connection whose idle time exceeds the maximum idle time to avoid database connection omission caused b ...
Posted by wazza on Fri, 31 Dec 2021 16:01:46 +0100
Redis foundation - master-slave replication
concept
Master slave replication refers to copying data from one Redis server to other Redis servers.
The former is called master / leader and the latter is called slave / follower. Data replication is unidirectional and can only be from master node to slave node.
Master mainly writes, Slave mainly reads.
By default, each Redis server ...
Posted by skaforey on Thu, 30 Dec 2021 20:39:25 +0100
How to understand and use MySQL index correctly and efficiently
summary
Index is a data structure used by the storage engine to quickly find records. Through the rational use of database index, the access performance of the system can be greatly improved. Next, it mainly introduces the index types in MySql database and how to create a more reasonable and efficient index skills.
Note: This is mainly for ...
Posted by macattack on Thu, 30 Dec 2021 18:43:09 +0100
19c RAC+ADG online call opatch19 3 to 19.10
Please read carefully and refer to the README document for the latest steps, processes and related requirements for the overall upgrade of Oracle 19c rac cluster from 19.3 opatch to 19.10.
1, View the current database patch version
col ACTION for a8
col status for a15
set line 999
col ACTION_TIME for a30
col DESCRIPTION for a50
SQL> selec ...
Posted by dianaqt on Thu, 30 Dec 2021 18:40:19 +0100
Add, delete, modify and query advanced level of MYSQL table
4. Query
4.1 aggregate query
4.1. 1 aggregate function
Common operations such as total statistics and average calculation can be realized by using aggregation functions. Common aggregation functions include:
functionexplaincountReturns the number of queried datasumReturns the sum of the queried data. It is not a number. It is meaningles ...
Posted by p0pb0b on Thu, 30 Dec 2021 12:47:28 +0100
This article explains the common methods and usage scenarios of Redis's five data types
preface
Today, I will share five data structures of Redis and their use scenarios in actual combat
1, Redis data structure?
We all know that redis is an indispensable middleware tool in large-scale systems. It can support high concurrency scenarios or distributed locks. This is inseparable from his design architecture and underlying ...
Posted by Wykster on Wed, 29 Dec 2021 19:00:46 +0100
Redis introduction and simple use
1, Introduction (please skip those who don't want to see)
Concept: redis is a high-performance NOSQL series non relational database What is Redis? Redis is an open-source high-performance key value database developed in C language. It officially provides test data. 50 concurrent 100000 requests are executed. The reading speed is 110000 ti ...
Posted by covert215 on Wed, 29 Dec 2021 14:57:39 +0100