wangbin579 / GreatSQL

GreatSQL is a MySQL branch originated from GreatDB

Home Page:https://www.greatdb.com

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

About GreatSQL


GreatSQL is a branch of Percona Server.

GreatSQL focuses on improving the performance and reliability of MGR (MySQL Group Replication), and fixing some bugs. In addition, GreatSQL also merged two Patches contributed by the Huawei Kunpeng Compute Community, respectively for OLTP and OLAP business scenarios, especially the InnoDB parallel query feature. In the TPC-H test, the performance of aggregate analytical SQL was improved by an average of 15 times, the highest increased by more than 40 times, especially suitable for SAP, financial statistics and other businesses such as periodic data summary reports.

GreatSQL can be used as an alternative to MySQL or Percona Server.

GreatSQL is completely free and compatible with MySQL or Percona Server.

Download GreatSQL


Download GreatSQL

New features


In addition to improving the performance and reliability of MGR, GreatSQL also introduces features such as InnoDB transaction lock optimization and parallel query optimization, as well as numerous BUG fixes.

The main advantages of choosing GreatSQl are as follows:

  • Improve the concurrent performance and stability of large transactions in MGR.
  • Improve MGR's GC and flow control algorithms, and reduce the amount of data sent each time to avoid performance jitter.
  • In the AFTER mode of the MGR, the problem that the node is prone to errors when joining the cluster is fixed.
  • In the AFTER mode of the MGR, the principle of majority consistency is adopted to adapt to the network partition scene.
  • When the MGR node crashes, the abnormal state of the node can be found faster, effectively reducing the waiting time for the switchover and abnormal state.
  • Optimize the InnoDB transaction lock mechanism to effectively improve transaction concurrency performance by at least 10% in high concurrency scenarios.
  • Realize the InnoDB parallel query mechanism, which greatly improves the efficiency of aggregate query. In the TPC-H test, it can be increased by more than 40 times, and the average increase is 15 times. Especially suitable for SAP, financial statistics and other businesses such as periodic data summary reports.
  • Fixed multiple defects or bugs that may cause data loss, performance jitter, and extremely slow node join recovery in MGR.

Notes


jemalloc library is required, please install it first

yum -y install jemalloc jemalloc-devel

You can also add the path of the self-installed lib library so file to the system configuration file, for example:

[root@greatdb]# cat /etc/ld.so.conf
/usr/local/lib64/

Load the libjemalloc library, and confirm whether it already exists

[root@greatdb]# ldconfig

[root@greatdb]# ldconfig -p | grep libjemalloc
        libjemalloc.so.1 (libc6,x86-64) => /usr/local/lib64/libjemalloc.so.1
        libjemalloc.so (libc6,x86-64) => /usr/local/lib64/libjemalloc.so

For my.cnf configuration file, please refer to this sample.

Now you can start GreatSQL.

Change logs


Documentation


related documentation

feedback


contact us


Scan QR code to follow WeChat public account

Enter picture description

mail: greatsql@greatdb.com

About

GreatSQL is a MySQL branch originated from GreatDB

https://www.greatdb.com

License:Other


Languages

Language:C++ 78.2%Language:C 13.3%Language:Java 1.9%Language:Makefile 0.9%Language:CMake 0.9%Language:PHP 0.8%Language:NASL 0.8%Language:Objective-C 0.7%Language:Perl 0.6%Language:Shell 0.5%Language:Yacc 0.3%Language:JavaScript 0.2%Language:Pascal 0.2%Language:Assembly 0.2%Language:HTML 0.1%Language:Python 0.1%Language:Roff 0.0%Language:Starlark 0.0%Language:SWIG 0.0%Language:DIGITAL Command Language 0.0%Language:M4 0.0%Language:Awk 0.0%Language:Lex 0.0%Language:RPC 0.0%Language:CSS 0.0%Language:Dockerfile 0.0%Language:Batchfile 0.0%Language:LLVM 0.0%Language:Pawn 0.0%Language:POV-Ray SDL 0.0%Language:SAS 0.0%Language:Module Management System 0.0%Language:sed 0.0%Language:SourcePawn 0.0%Language:VBA 0.0%Language:PLSQL 0.0%