JR/T 0203-2020Distributed database technology financial application specification Technical architecture (English PDF)
This is a limited preview
Buy now to download the full PDF (11 pages)
Need quotation for your management?
Get a formal quotation for JR/T 0203-2020 in 30 minutes.
Issued by
People's Bank of China
Level / Type
National · Recommended
Issue date
November 26, 2020
Implementation date
November 26, 2020
Scope
JR/T 0203-2020 (Distributed database technology financial application specification Technical architecture) is available as an English-translated PDF.
JR/T 0203-2020 — This document specifies the architectural requirements for distributed transaction database technology in the financial field, covering technical frameworks, functional features, and operation and maintenance management.
This document is suitable for the development, testing, evaluation, and application of distributed transaction databases in the financial field.
Found what you need?
Document preview — JR/T 0203-2020
National Standard of the People's Republic of China
- Classification
- A 11
Issued by: People's Bank of China
Contents
- Foreword
- Introduction
- 1 Scope
- 2 Normative references
- 3 Terms and definitions
- 4 Abbreviations
- 5 Overview
- 6 Technical framework
- 6.1 Overview of the technical framework
- 6.2 Physical resource layer
- 6.3 Calculation module
- 6.4 Storage module
- 6.5 Management Module
- 7 Features
- 7.1 Overview of Functional Architecture
- 7.2 Basic functions
Foreword
This document is in accordance with GB/T 1.1-2020 "Guidelines for Standardization Part 1: Structure and Drafting Rules of Standardization Documents" to be drafted.
This document was submitted by the People's Bank of China. Please note that some of the contents of this document may involve patents. The issuing agency of this document is not responsible for Identify the responsibilities of these patents.
This document is under the jurisdiction of the National Financial Standardization Technical Committee (SAC/TC 180).
Introduction
With the transformation and upgrading of the distributed architecture in the financial field, the application of distributed database technology in the financial field has gradually deepened. For canonical distribution Application of distributed database technology in the financial field, strengthen the technical support of distributed database technology for financial services, and improve distributed database technology this document is specially prepared for the ability of technology to ensure business continuity and information security.
This document is one of the distributed database technology financial application series standards. The distributed database technology financial application series standards include.
-"Technical Framework of Distributed Database Technology Financial Application Specification";
-"Distributed Database Technology Financial Application Specification Security Technical Requirements";
-"Disaster Recovery Requirements for Distributed Database Technology Financial Application Specification".
Distributed database technology financial application specification technical framework
1 Scope
This document specifies the architectural requirements for distributed transaction database technology in the financial field, covering technical frameworks, functional features, and operation and maintenance management.
This document is suitable for the development, testing, evaluation, and application of distributed transaction databases in the financial field.
2 Normative references
The contents of the following documents constitute the indispensable clauses of this document through normative references in the text. Among them, dated reference documents, Only the version corresponding to that date is applicable to this document; for undated references, the latest version (including all amendments) is applicable to this document file.
GB/T 15387.1-2014 Terminology database development document preparation guide GB/T 17532-2005 Terminology Work Computer Application Vocabulary GB/T 25069-2010 Information Security Technical Terms GB/T 30994-2014 Relational database management system testing specifications GT/T 32633-2016 Distributed relational database service interface specification JR/T 0204 Distributed Database Technology Financial Application Specification Security Technical Requirements JR/T 0205 Distributed Database Technology Financial Application Specification Disaster Recovery Requirements
3 Terms and definitions
JR/T 0204-2020, JR/T 0205-2020 The following terms and definitions apply to this document.
Database
A collection of data organized according to a predetermined structure.
[Source. GB/T 17532-2005, 7.5] 3.2 Transaction A group of related operations characterized by atomicity, consistency, durability, and isolation.
Distributed transaction A transaction in which transaction participants, transaction-supporting servers, resource servers, and transaction managers are located on different nodes.
Distributed transaction database Database with distributed transaction processing mechanism.
Consistency
In a certain system or component, the degree of uniformity, standardization and non-contradiction between documents or parts.
[Source. GB/T 25069-2010, 2.1.61] 3.6 Data replica that is, in a distributed database, multiple redundant versions of data are introduced to ensure the reliability of the data.
Data sharding
The data in the database table is distributed to multiple data storage nodes according to certain sharding rules to balance the data capacity and Visit load.
4 Abbreviations
The following abbreviations apply to this document.
ACID. Atomicity, Consistency, Isolation, Durability (Atomicity, Consistency, Isolation, Durability) CSV. Comma-Separated Values DDL. Data Definition Language (Data Definition Language) DML. Data Manipulation Language (Data Manipulation Language) IO. Input and Output (Input Output) LOG. Log file (Logfile) QPS. Queries Per Second (Queries Per Second) RTO. Recovery Time Objective SQL. Structured Query Language (Structured Query Language) TPS. Transactions Per Second (Transactions Per Second) JDBC. Java Database Connectivity Specification (Java Database Connectivity Specification) ODBC. Open Database Connectivity Specification (Open Database Connectivity Specification)
5 Overview
The database system is the basic software that organizes, stores and manages data according to a specific data structure. It can be divided into centralized data based on different architectures.
Database and distributed database. The centralized database stores and processes data in a physical space, which is a relatively classic and traditional architecture mode. Distributed database is a physically dispersed and logically centralized database system, using distributed transaction processing, automatic data sharding, Technologies such as multi-copy storage of data connect multiple logically related nodes scattered in a computer network to provide services to the outside world.
6 Technical framework
6.1 Overview of the technical framework
The technical architecture of distributed transaction database includes three parts. management module, computing module and storage module. The main functions and logic of each part are the relationship between the series is shown in Figure 1.
Figure 1 Distributed transaction database technology architecture
6.2 Physical resource layer
The physical resource layer refers to the basic hardware facilities and equipment of the distributed transaction database, which provides for the distributed transaction database and upper-level business system.
Provides the basic support environment, including physical infrastructure such as power supply for the physical computer room, computing equipment and storage equipment, and network equipment. The physical resource layer should Use safe and controllable hardware with an open architecture for construction to ensure safety, availability and reliability. The specific requirements are as follows.
a) It should support computing acceleration capabilities such as processor multi-channel interconnection technology, compression and decompression.
b) The network topology of each network element should be dynamically monitored to achieve reliability, scalability, and easy maintenance.
c) It should support more than two processor architecture systems, and the processor has trusted computing capabilities.
d) A dynamically configured blacklist mechanism or firewall mechanism should be provided to prevent network paralysis caused by malicious nodes.
6.3 Calculation module
The computing module is responsible for parsing application query requests, generating query plans, and automatically assigning query plans to each computing node for parallel execution.
Row. Use technologies such as distributed transaction processing to ensure data correctness, and use technologies such as concurrency control and dynamic resource allocation to improve distributed transactions the calculation efficiency of the database in complex business scenarios, the specific requirements are as follows.
a) It should meet the computing power requirements of distributed transaction databases.
b) Should support operation in a trusted virtualization or cloud computing environment.
6.4 Storage module
The storage module is responsible for executing the data operation request of the computing layer, and realizes the persistent storage of the data at the hardware level to ensure that the data is not lost.
The storage layer stores data in multiple copies in shards to ensure data reliability. Distributed transaction database should have application access transparency, including Including, but not limited to, fragmentation transparency, copy transparency, and location transparency. Changes in data fragmentation mode and copy location will not affect the application program, the specific requirements are as follows.
a) It should support efficient, safe and stable provision of data writing and query services.
b) Should support the persistence of written data.
c) It should support the segmentation of different physical copies of the same data to different physical nodes according to the node identification.
d) It should support fast self-check and recovery after data storage node failure.
e) It should support local or global encryption of data.
f) It is advisable to support the function of quick data recovery for misoperation.
g) Should support compression storage technology.
6.5 Management Module
The management module is responsible for coordinating distributed clocks and maintaining metadata, and providing database parameter configuration and operation monitoring interfaces. The specific requirements are as follows under.
a) Load balancing and resource isolation functions should be provided to ensure that the distributed transaction database provides stable services.
b) Should have role authority management, encryption protection mechanism and auditing capabilities.
c) Should have the ability of database node selection, global transaction management, and data migration between nodes.
d) Cluster status monitoring such as parameter configuration, running status monitoring, performance data collection, etc. of distributed transaction database cluster nodes should be provided and configuration function.
7 Features
7.1 Overview of Functional Architecture
Distributed transaction database should adopt the technical architecture of separation of computing and storage, distributed computing and distributed storage, and use general-purpose software and hardware as the the basic platform realizes functions such as data security, high system availability, data slicing storage, data capacity and performance level scalability, transaction consistency, etc.
can. The functional framework of distributed transaction database applied in the financial field is shown in Figure 2.
Figure 2 Schematic diagram of distributed transaction database functions
7.2 Basic functions
7.2.1 Deployment flexibility
There should be flexible deployment methods, and at least one of the local deployment and cloud deployment methods should be supported.
a) Local deployment. Distributed transaction database deployment uses multiple physical machines to act as management nodes, computing nodes, and data storage nodes.
The following requirements should be met during the deployment process.
--Should have the ability to initiate database deployment on multiple servers automatically from a single node.
--Should provide a unified visual installation management wizard for software components.
--Should record the installation log, and provide installation records and troubleshooting methods.
b) Cloud deployment. Building and deploying a distributed transaction database based on the cloud platform. The cloud platform will automatically allocate storage and computing based on user needs.
For computing resources, self-deployed distributed transaction databases on the cloud should meet the following requirements.
--Should have the ability to deploy flexibly on the cloud, perform automatic installation and deployment, or support bare metal servers provided on the cloud platform, Install and deploy on the virtual machine.
--Should provide a unified visual installation management wizard for software components.
--Should have an installation log, provide installation records and troubleshooting methods.
7.2.2 SQL capabilities
Distributed transaction databases used in the financial field should have SQL capabilities. The specific requirements are as follows.
a) Distributed transactions shall be supported and ACID characteristics shall be met.
b) Should support numeric types such as long integer and decimal, string type, binary string type, date/time type, it should support Interval type, Boolean type, large object type, custom type, enumeration, collection and other data types.
c) Operators such as numerical operations, logical operations, comparison operations, and string splicing (type coercion) shall be supported.
d) Should support commonly used numeric type functions, character functions, date/time functions, aggregate functions, type conversion functions, and null value processing Function, it should support common functions such as regular expressions, security functions, and window analysis functions.
e) It should support comparison conditions, logical conditions, null conditions, conformity conditions, pattern matching conditions, interval conditions, suitable conditions, and storage conditions.
Commonly used conditional expressions in conditions, etc.
f) Should support key value constraints such as primary key and global uniqueness.
g) Table partitioning should be supported; partitioned local indexes should be supported, and partitioned global indexes and distributed global indexes should be supported.
h) Should support query views.
i) It should support UTF-8, GB K encoding, and other character set encodings such as GB 18030 and UTF8MB4 should be supported.
j) The auto-increment sequence should be supported, and the globally unique auto-increment sequence should be supported.
k) Should support the display function of the execution plan.
l) Complex SQL queries such as join queries, subqueries, and aggregate queries across multiple storage nodes should be supported.
m) Should support the definition of the logical storage structure of the database, such as table space definitions, etc.
n) Should support data paging query.
o) The specific requirements that should support stored procedures are as follows.
-Should support the creation, modification and deletion of stored procedures.
-Should support the definition of stored procedure variables.
--Should support stored procedure flow control statements.
-It is advisable to support the conditional judgment statement of the stored procedure.
-Should support the stored procedure loop statement.
p) Should support functional index.
q) Mode management should be supported.
r) It should support quick recovery of accidentally deleted and accidentally modified data.
s) Materialized views should be supported.
t) Should support dynamic system views.
u) The specific requirements for supporting custom functions are as follows.
--It should support JAVA,...
......
This preview omits tables, figures, formulas and parts of the technical clauses. The complete document — 11 pages — is available in the English PDF.
Referenced standards
Normative references
How to Download JR/T 0203-2020
- 1
Add to cart
Click "Download PDF" on this page and choose "Buy this standard". You can add more standards before checkout.
- 2
Checkout
Enter your email and billing details. Payment is processed securely by Stripe (cards or bank transfer). Prefer bank details? Request a quotation (min. order $300).
- 3
Instant delivery (0–9 sec)
Delivery is automatic: within seconds of payment you'll receive an email with a secure download link. The link stays valid for 72 hours.
- 4
Invoice included
A tax invoice is attached to the confirmation email. Need a custom invoice? Contact us.
Related Standards
GB/T 15387.1-2014 — Guidelines for the documentation for developing tcrminological database
GB/T 17532-2005 — Terminology work -- Computer applications -- Vocabulary
GB/T 30994-2014 — Testing specification for relational database management system
Secure payment via Stripe
Payments accepted
JR/T 0203-2020
$374.00