ShardingSphere 4.x Sharding Other-Features — Inline expression

${['online', 'offline']}_table${1..3}
online_table1, online_table2, online_table3, offline_table1, offline_table2, offline_table3
db0
├── t_order0
└── t_order1
db1
├── t_order0
└── t_order1
db${0..1}.t_order${0..1}
db$->{0..1}.t_order$->{0..1}
db0
├── t_order0
└── t_order1
db1
├── t_order2
├── t_order3
└── t_order4
db0.t_order${0..1},db1.t_order${2..4}
db0.t_order$->{0..1},db1.t_order$->{2..4}
db0
├── t_order_00
├── t_order_01
├── t_order_02
├── t_order_03
├── t_order_04
├── t_order_05
├── t_order_06
├── t_order_07
├── t_order_08
├── t_order_09
├── t_order_10
├── t_order_11
├── t_order_12
├── t_order_13
├── t_order_14
├── t_order_15
├── t_order_16
├── t_order_17
├── t_order_18
├── t_order_19
└── t_order_20
db1
├── t_order_00
├── t_order_01
├── t_order_02
├── t_order_03
├── t_order_04
├── t_order_05
├── t_order_06
├── t_order_07
├── t_order_08
├── t_order_09
├── t_order_10
├── t_order_11
├── t_order_12
├── t_order_13
├── t_order_14
├── t_order_15
├── t_order_16
├── t_order_17
├── t_order_18
├── t_order_19
└── t_order_20
db${0..1}.t_order_0${0..9}, db${0..1}.t_order_${10..20}
db->${0..1}.t_order_0$->{0..9}, db$->{0..1}.t_order_$->{10..20}
ds${id % 10}
ds$->{id % 10}

--

--

--

Transform any DBMS in a distributed database system & enhance it with sharding, elastic scaling features & more. https://linktr.ee/ApacheShardingSphere

Love podcasts or audiobooks? Learn on the go with our new app.

Recommended from Medium

Software Equity Group August 2021 SaaS Index Update

1929. Concatenation of Array

How a 15 minute hack got me into the Product Hunt Top 5

A shorter sprint doesn’t mean you are more agile.

LeetCode 145- Binary Tree Postorder Traversal

Let’s Talk About Data Structures

Github Actions & AWS OIDC

Kodi Mod Apk 19.3

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store
Apache ShardingSphere

Apache ShardingSphere

Transform any DBMS in a distributed database system & enhance it with sharding, elastic scaling features & more. https://linktr.ee/ApacheShardingSphere

More from Medium

Articulation points in a graph

UMBRELLA NETWORK PARTNERSHIP WITH AUTOBAHN NETWORK Umbrella Network is the first truly…

A frantic approach to placement applications

Twitter, Beware of Typefully App! Avoid.