As the atomic unit of sharding, it consists of data source name and actual table name, e.g. ds_0.t_order_0
.
Mapping relationship between logic tables and actual tables and can be divided into two kinds: uniform topology and user-defined topology.
It means that tables are evenly distributed in each data source, for example:
db0
├── t_order0
└── t_order1
db1
├── t_order0
└── t_order1
The data node configurations will be as follows:
db0.t_order0, db0.t_order1, db1.t_order0, db1.t_order1
It means that tables are distributed with certain rules, for example:
db0
├── t_order0
└── t_order1
db1
├── t_order2
├── t_order3
└── t_order4
The data node configurations will be as follows:
db0.t_order0, db0.t_order1, db1.t_order2, db1.t_order3, db1.t_order4