CREATE DEFAULT SHARDING STRATEGY

    • When using the complex sharding algorithm, multiple sharding columns need to be specified using SHARDING_COLUMNS;
    • algorithmType is the sharding algorithm type. For detailed sharding algorithm type information, please refer to .

    1.Create a default sharding strategy by using an existing sharding algorithm

    2.Create sharding algorithm and default sharding table strategy at the same time

    CREATE, DEFAULT, , DATABASE, TABLE, STRATEGY, TYPE, , SHARDING_COLUMNS, SHARDING_ALGORITHM, NAME, PROPERTIES