Giter Site home page Giter Site logo

lsp201811 / greatsql Goto Github PK

View Code? Open in Web Editor NEW

This project forked from greatsql/greatsql

0.0 0.0 0.0 498.92 MB

GreatSQL is a MySQL branch originated from GreatDB

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

License: Other

CMake 0.91% Dockerfile 0.01% Shell 0.54% Makefile 0.93% C++ 81.71% C 13.89% Batchfile 0.01% Perl 0.61% CSS 0.01% Python 0.09% JavaScript 0.23% HTML 0.13% sed 0.01% M4 0.01% Roff 0.05% Awk 0.01% Starlark 0.04% NASL 0.83% Pawn 0.01% SAS 0.01%

greatsql's Introduction

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: [email protected]

greatsql's People

Contributors

greatsql avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.