§ Key Features

GreatSQL is an open source and free database that can meet financial-grade application scenarios on commodity hardware. It features High Availability, High Performance, High Compatibility, and High Security, and can serve as an ideal drop-in replacement for MySQL or Percona Server for MySQL.

§ Core Features

§ High Availability

GreatSQL has made numerous improvements and enhancements to MGR, supporting features such as zone id, arbitrator, dynamic read/write VIP, fast single-primary mode, and smart primary election. It also deeply optimizes several underlying MGR working mechanisms and algorithms, including the flow control algorithm, transaction certification queue cleanup algorithm, member join/leave mechanism, and recovery mechanism, further improving MGR's high availability guarantee and performance stability.

For more information, see the document: High Availability.

§ High Performance

Relative to MySQL and Percona Server for MySQL, GreatSQL delivers more stable and superior performance. It supports features such as Rapid Engine, lock-free transactions, parallel LOAD DATA, asynchronous drop of large tables, thread pool, non-blocking DDL, and NUMA affinity scheduling optimization. In TPC-C tests, performance is improved by more than 30% compared with MySQL, and in TPC-H tests, performance is tens or even hundreds of times that of MySQL.

  • Supports the Rapid Engine, a high-performance engine featuring massive parallelism, in-memory queries, and a high compression ratio, which can improve data analysis performance by several orders of magnitude.
  • Optimizes the InnoDB transaction system with various optimizations such as splitting big locks and lock-free design, improving overall OLTP performance by about 20%.
  • Supports parallel LOAD DATA, suitable for applications that frequently import large batches of data, improving performance by more than 20 times; it also provides optimizations for scenarios without an explicitly defined primary key.
  • Supports asynchronous drop of large tables, improving the runtime performance stability of the InnoDB engine.
  • Supports thread pool, reducing the cost of thread creation and destruction and ensuring stable performance without obvious degradation under high concurrency.
  • Supports non-blocking DDL, avoiding the problem of a large number of business requests being blocked because DDL operations must be completed as soon as possible.
  • Supports NUMA affinity optimization, binding front-end user threads and background threads to fixed NUMA nodes through NUMA affinity scheduling optimization to improve thread processing performance.

For more information, see the document: High Performance.

§ High Compatibility

GreatSQL is 100% compatible with MySQL and Percona Server for MySQL usage and supports most common Oracle usage, including data type compatibility, function compatibility, SQL syntax compatibility, stored routine compatibility, and many other compatibility extensions.

For more information, see the document: High Compatibility.

§ High Security

GreatSQL supports multiple security enhancement features such as logical backup encryption, Clone backup encryption, auditing, national cryptographic tablespace encryption, and sensitive data masking, further safeguarding business data security and making it more suitable for financial-grade application scenarios.

Through the multiple security enhancement features above, business data security is further safeguarded. For more information, see the document: High Security.

§ Others

For more of GreatSQL's advantages and features, see: GreatSQL vs MySQL.

Scan to follow our official WeChat account

greatsql-wx