Skip to content
Permalink

Comparing changes

Choose two branches to see what’s changed or to start a new pull request. If you need to, you can also or learn more about diff comparisons.

Open a pull request

Create a new pull request by comparing changes across two branches. If you need to, you can also . Learn more about diff comparisons here.
base repository: gmzhang/AliSQL
Failed to load repositories. Confirm that selected base ref is valid, then try again.
Loading
base: master
Choose a base ref
...
head repository: alibaba/AliSQL
Failed to load repositories. Confirm that selected head ref is valid, then try again.
Loading
compare: master
Choose a head ref
Checking mergeability… Don’t worry, you can still create the pull request.
  • 14 commits
  • 49 files changed
  • 4 contributors

Commits on Jan 23, 2018

  1. [bugfix] Issue: alibaba#56 invisible index is not respected by slave…

    … under row format
    
      Description
      ============
      bug#88847, this issue is related to invisible indexes feature which we ported
      from 8.0 upstream. Invisible index is not considered by slave SQL row applier
      when searching index to use, and choosed anyway as long as the index is fit for
      update.
    
      Solution:
      ============
      Make slave SQL applier thread respecting invisible indexes and don't choose them
      when searching index to use.
    AliSQL authored and AliSQL committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    229996d View commit details
    Browse the repository at this point in the history
  2. [perf] alibaba#57 Preferred to chose index with auto_increment colum…

    …n when slave apply binlog
    
      Description
      -----------
      In row binlog format, slave chose index when apply binlog use such order:
      1) primary key
      2) unique key without null columns
      3) normal index or unique key with null columns
    
      Actually, in situation 3 we should chose index with auto_increment column
      first, after this patch, the new order is
      1) primary key
      2) unique key without null columns
      3) normal index with auto_increment columns
      4) normal index without auto_increment columns or unique key with null columns
    AliSQL authored and AliSQL committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    9d1a800 View commit details
    Browse the repository at this point in the history
  3. [Feature] Issue#55 Support CPU_TIME metrics

       Supply CPU_time metric to help analysis.
    AliSQL authored and AliSQL committed Jan 23, 2018
    Configuration menu
    Copy the full SHA
    bfa79bd View commit details
    Browse the repository at this point in the history

Commits on Jan 24, 2018

  1. RC-20180124

    AliSQL authored and AliSQL committed Jan 24, 2018
    Configuration menu
    Copy the full SHA
    fe2e230 View commit details
    Browse the repository at this point in the history

Commits on Mar 19, 2018

  1. MySQL Test Framework: Cover test tools

    AliSQL authored and AliSQL committed Mar 19, 2018
    Configuration menu
    Copy the full SHA
    e5ddf31 View commit details
    Browse the repository at this point in the history

Commits on May 1, 2018

  1. [Feature] Issue#61 new built-in function to let customer manually iss…

    …ue an error
    
    A new built-in function RAISE_ERROR('diagnostic-string') is needed to
    let mysql users fail current statement with the desired
    diagnostic-string error message and reserved sql error code.
    
    DB2 does in its' RAISE_ERROR() function, where the function accepts
    parameters of sql state and msg, and Oracle's RAISE_APPLICATION_ERROR
    has similar function.
    
    In our implementation, raise_error() accepts parameter of msg and
    optional sql state, both are strings. NULL value input is not allowed
    for either one, and only validate sql state is allowed.
    
    Here are samples:
    
    --error ER_SP_BAD_SQLSTATE
    
    select raise_error(NULL, 'null sql state not allowed');
    
    --error ER_MALFORMED_MESSAGE select raise_error('70001', NULL);
    
    --error ER_SP_BAD_SQLSTATE
    
    select raise_error('00001', 'invalid sql state');
    
    --error ER_SP_BAD_SQLSTATE
    
    select raise_error('666666', 'length of sql state exceeds 5');
    
    --error ER_INTENTIONAL_ERROR
    
    select raise_error('70001', 'this is a sample error msg');
    
    --error ER_INTENTIONAL_ERROR
    
    select raise_error('this is a sample error msg');
    
    --error ER_INTENTIONAL_ERROR
    select raise_error('only error message applied');
    AliSQL authored and AliSQL committed May 1, 2018
    Configuration menu
    Copy the full SHA
    66c68db View commit details
    Browse the repository at this point in the history
  2. [bugfix] Issue: alibaba#62 alter TokuDB table comment rebuild whole e…

    …ngine data
    
    Alter TokuDB table comment should not using copying algorithm and
    rebuild whole engine data, only FRM definition should be changed.
    
    Make `ha_tokudb::check_if_supported_inplace_alter()` return
    `HA_ALTER_INPLACE_EXCLUSIVE_LOCK` while altering comment, and mysql
    server will invoke `ha_tokudb::inplace_alter_table` which will do
    nothing for altering comment.
    
    Besides table comment, there are many other create options that
    should be ignored by TokuDB, and they are all handled in this patch.
    
    Btw, this patch has been pushed to TokuDB upstream.
    
    This patch also contains a postfix for bug#88847, which handles
    cases when UK or Key with auto-inc fileld is invisible.
    AliSQL authored and AliSQL committed May 1, 2018
    Configuration menu
    Copy the full SHA
    349aa36 View commit details
    Browse the repository at this point in the history
  3. [feature] [tokudb] Issue: alibaba#63 Add compression ratio statistics…

    … per FT
    
    TokuDB has status to expose the compression ratio:
    
        mysql> show global status like 'tokudb%COMPRESSION_RATIO';
        +---------------------------------------+----------+
        | Variable_name                         | Value    |
        +---------------------------------------+----------+
        | Tokudb_LEAF_NODE_COMPRESSION_RATIO    | 5.850260 |
        | Tokudb_NONLEAF_NODE_COMPRESSION_RATIO | 0.564453 |
        | Tokudb_OVERALL_NODE_COMPRESSION_RATIO | 4.528809 |
        +---------------------------------------+----------+
    
    but this a global level ratio, and sometimes the users may be interested
    in table level compression ratio.
    
    This patch address this request by exposing FT level compresstion ratio
    through information_schema.TokuDB_fractal_tree_info table. We add two
    columns, leaf_compress_ratio and internal_compress_ratio, which indicate
    the compression ratio of leaf nodes and internal nodes accordingly.
    
    Limitations, the comppression ratio infos are maintained in memeory, and
    will lost when server is restarted or ft get evicted from memory.
    Maybe in future there infos will be persisted in ft file, when this feature
    is accepted by PerconaFT upstream.
    AliSQL authored and AliSQL committed May 1, 2018
    Configuration menu
    Copy the full SHA
    4ec960a View commit details
    Browse the repository at this point in the history
  4. [bugfix] Issue: alibaba#64 replication regression with RBR and partit…

    …ion tables
    
    This patch is ported from MySQL upstream (commit id: 9414c7).
    
    Bug#25687813 REPLICATION REGRESSION WITH RBR AND PARTITIONED TABLES
    
    PROBLEM
    -------
    
    While applying update the slave is trying to initialize all partitions
    before reading from rnd_pos() call. This is done for each row update
    because of which the performance is getting effected.
    
    FIX
    ---
    
    Initialize only the partition on which rnd_pos() is called.
    AliSQL authored and AliSQL committed May 1, 2018
    Configuration menu
    Copy the full SHA
    aa61f56 View commit details
    Browse the repository at this point in the history
  5. RC-20180501

    AliSQL authored and AliSQL committed May 1, 2018
    Configuration menu
    Copy the full SHA
    13502c1 View commit details
    Browse the repository at this point in the history

Commits on Sep 7, 2022

  1. Update README.md

    xpchild authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    25a2aef View commit details
    Browse the repository at this point in the history
  2. Update README.md

    xpchild authored Sep 7, 2022
    Configuration menu
    Copy the full SHA
    13886d0 View commit details
    Browse the repository at this point in the history

Commits on Apr 2, 2024

  1. Fix typo

    Signed-off-by: Michael Seibt <github@roboschmie.de>
    RoboSchmied committed Apr 2, 2024
    Configuration menu
    Copy the full SHA
    e227258 View commit details
    Browse the repository at this point in the history

Commits on Oct 31, 2025

  1. Configuration menu
    Copy the full SHA
    bf8bad1 View commit details
    Browse the repository at this point in the history
Loading