Skip to content

[Feature] Support multiple MySQL instances as a sharding cluster powered by ShardingSphere. #9477

@wu-sheng

Description

@wu-sheng

Search before asking

  • I had searched in the issues and found no similar feature requirement.

Description

As ShardingSphere provides a new DistSQL concept recently, it gives us an opportunity to evaluate whether it is good enough to create dynamic routing rules automatically.

SkyWalking creates new tables(in MySQL and PostgreSQL) according to metrics definition based on MAL and OAL, the traditional configuration file based sharding is not suitable for us.

Also, we need to use hint mechanism to try to implement TTL deleting through truncate, rather than the heavy delete.

Use case

Support Sharding and Time-series based rolling for metrics/logs/traces/events/profiling telemetry data in SkyWalking

Related issues

Doc of ShardingSphere, https://shardingsphere.apache.org/document/5.1.2/en/reference/distsql/syntax/rdl/rule-definition/sharding/create-default-sharding-strategy/

Are you willing to submit a PR?

  • Yes I am willing to submit a PR!

Code of Conduct

Metadata

Metadata

Labels

backendOAP backend related.featureNew feature

Type

No type

Projects

No projects

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions