Database connection pool
DAO and related implementation classes
Overview: Data Access Object is a class and interface for accessing data information, including CRUD(Create, regression, Update, Delete) of data, without any business-related information. Sometimes called: BaseDAO.
Function: in order to realize the modularization of functions, it is more conducive to cod ...
Posted by phpchamps on Fri, 17 Dec 2021 19:38:20 +0100
You need to know something about the storage of PostgreSQL data
PostgerSQL object identifier
OID
OID is an identifier used in PostgreSQL to identify database objects (database, table * *, view, * * stored procedure, etc.), which is represented by an unsigned integer of 4 bytes. It is the primary key of most system tables in PostgreSQL.
Type oid represents an object identifier. There are also alias types ...
Posted by leung on Fri, 17 Dec 2021 19:19:59 +0100
Dynamic SQL of Damon database using ๐ connector
1. No '' after variable conversion
1.1. Create a stored procedure, which contains a cursor to query the table in a certain mode. It also contains a print of the for loop. The print is added to make the effect of dynamic statements substituted with parameters more intuitive.
CREATE OR REPLACE PROCEDURE T_1208(COL VARCHAR(100))
AS
CURSOR T_CS ...
Posted by knetcozd on Fri, 17 Dec 2021 18:22:54 +0100
Tools | common MySQL kernel debugging skills
Author: Ke Yuchang consultant Software EngineerCurrently engaged in container R & D of RadonDB MySQL, graduated from Huazhong University of science and technology, and has many years of experience in database kernel development.Mastering the reading and debugging ability of MySQL kernel source code is not only the daily work of database R & ...
Posted by imtaqi on Fri, 17 Dec 2021 14:56:05 +0100
Xtrabackup download and installation (full incremental backup)
preface
The database needs to be started during backup and closed during recovery
1, What is Xtrabackup?
MySQL cold standby, mysqldump and MySQL hot copy cannot realize incremental backup of the database. In the actual production environment, incremental backup is very practical. If the data is greater than 50G or 100G and the stora ...
Posted by icaro on Fri, 17 Dec 2021 14:06:04 +0100
Basic knowledge summary of MySQL database
Objectives of this unit
1, Why learn database
2, Related concepts of database
DBMS,DB,SQL
3, Characteristics of database storage data
4, Initial MySQL
MySQL Product introduction
MySQL Product installation โ
MySQL Start and stop of services โ
MySQL Login and logout of services โ
MySQL Common ...
Posted by kf on Fri, 17 Dec 2021 10:48:50 +0100
Performance tuning cases
Performance tuning cases
time2021-09-02environmentcentos7. 6. JMeter, redis, mysql, Java applications
1, jmeter's command line uses
give an example:
# Run in command line mode and execute test JMX test script, and save the test results to result In JTL
jmeter -n -t test.jmx -l result.jtl
# Specify IP distributed operation
jm ...
Posted by inrealtime on Fri, 17 Dec 2021 04:24:35 +0100
Detailed explanation of seata's business non-invasive AT mode
Detailed explanation of non intrusive AT mode of seata service
GlobalTransactional annotation
1. Use this annotation to set the transaction name and timeout time. With this annotation, you will enter the GlobalTransactionalInterceptor in the aspect of Io seata. tm. api. TransactionalTemplate. Execute will assemble the transaction information ...
Posted by rawisjp on Fri, 17 Dec 2021 03:30:27 +0100
Database technology VI: XML
Basic introduction to XML
XML -- Extensible Markup Language.
XML features: extensible, tags are user-defined; The grammar is very strict.
The role of XML
Store data: usually, we store data in a database. However, if you want more portable data, you can store the data in an XML file.
Configuration file: it is more used as the configuration ...
Posted by djrichwz on Fri, 17 Dec 2021 00:39:11 +0100
Using select and poll/epoll of IO multiplexing to talk about network chat room
IO multiplexing:
The IO multiplexing model is based on the demultiplexing function select provided by the kernel. Using the select function can avoid the problem of polling and waiting in the synchronous non blocking IO model.
select
This function is used to monitor the change of file descriptor - read / write or exception
Parameters ...
Posted by kaszu on Thu, 16 Dec 2021 22:18:45 +0100