Apache ShardingSphere 5.0.0-alpha released

Apache ShardingSphere 5.0.0 has released an alpha version. Since the last version 4.1.1 was released, Apache ShardingSphere has been fixing problems reported by the community, enhancing functions, and developing new features.

According to the official statement, 5.x is a milestone in the transformation of Apache ShardingSphere from sub-database and sub-table middleware to distributed database ecology. The pluggable architecture polished from the late 4.x version has gradually taken shape in the 5.x version. The project The design concept and API of the company have been greatly improved.

Apache ShardingSphere is an ecosystem composed of a set of open source distributed database middleware solutions. It is composed of three independent products: Sharding-JDBC, Sharding-Proxy, and Sharding-Sidecar (planned). They all provide standardized data sharding, distributed transactions, data migration, database governance and management and control interface functions, which can be applied to various diversified application scenarios such as Java isomorphism, heterogeneous languages, containers, and cloud native.

The 5.0.0-alpha version release information is as follows

New features

  1. The pluggable architecture is fully online, allowing developers to extend functions through the SPI mechanism.

    (For extension points, please refer to the developer manual: https://shardingsphere.apache.org/document/current/cn/dev-manual/)

  2. Provide independent SQL parsing function for parsing multiple database dialects.

  3. Provide RDL (Rule Definition Language) statements and support online creation of fragmentation rules using SQL.

  4. Added shadow database function.

Compile & Dependency

  1. Upgrade the minimum supported version of JDK to Java 8.

  2. Update Google Guava library to 29.0-jre version.

  3. Update Zookeeper to version 3.6.x, and update curator to version 5.1.0.

API changes

  1. New sharding/data encryption/shadow library/master-slave rule configuration API.

  2. New sharding strategy and sharding algorithm API.

  3. The new flexible migration creation task API.

  4. Delete the DefaultDataSourceName configuration item, and ShardingSphere will host all data sources.

  5. The attribute configuration item separator is changed from a dot'.' to a minus sign'-'.

  6. The parameter allow.range.query.with.inline.sharding is adjusted from global parameters to sharding algorithm parameters.

Refactor

  1. According to the database dialect, the domain model object of the analysis module is reconstructed.

  2. Use the SPI mechanism to reconstruct the online change processing of metadata.

  3. The Orchestration module was renamed the Government module.

  4. The MasterSlave module was renamed to the QueryReplica module.

  5. Refactored the metadata structure in the Governance registry.

  6. ShardingSphere UI merges the configuration center and registration center display layout.

Enhance

  1. MySQL SQL and PostgreSQL syntax definition and analysis support are enhanced.

  2. Enhance the support for sub-queries of dialect databases.

  3. Supports MySQL view operations on non-sharded tables.

  4. ShardingSphere Proxy supports MySQL stored functions and stored procedure operations for non-sharded tables.

  5. Support the use of SQLServer Top syntax.

  6. Optimize the metadata loading method of the access terminal to improve the startup speed.

  7. Optimize batch insert performance.

  8. The access terminal supports the use of Oracle RAC connection string.

  9. XA transaction manager adds support for Oracle database.

  10. ShardingSphere Proxy supports the use of p6sy driver.

  11. The migration tool supports the resumable transfer function.

  12. The migration tool supports the use of ShardingSphere JDBC to migrate data to the new cluster.

Bug fix

  1. Fix the problem of alias rewriting error when processing OrderBy condition.

  2. Fix the problem of SQL rewriting error when MySQL Insert statement contains expression.

  3. Fix the problem of parameter calculation error in Update on duplicate SQL.

  4. Fix the problem that generatedKeys gets wrong when inserting in batches.

  5. Fix the abnormal issue of multi-table verification in DML statement update operation.

  6. Fixed the NPE problem caused by executing SQL when the table does not exist.

  7. Fix the error report when using the Show table command for tables not in the configuration rules.

  8. Fixed the issue of metadata loading errors in Oracle database in multi-user scenarios.

  9. Fix the problem that the slave library node cannot be enabled online.

  10. Fix the issue that ShardingSphere JDBC does not support PostgreSQL array type.

  11. Fixed an issue where ShardingSphere Proxy did not respond when querying over-long blob data.

ShardingSphere-UI

  1. Merge configuration center and registration center.

  2. Support the configuration of etcd registry.

  3. Support viewing metadata.

  4. Support dynamic deletion of schema.

Change log MILESTONE
https://github.com/apache/shardingsphere/milestone/10

Guess you like

Origin www.oschina.net/news/120543/shardingsphere-5-0-alpha-released