You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Each project has nearly 100 tables, and the table names of the projects are: t_{project code}_name, t_{project code}_card, t_{project code}_order, etc.
Each project's table is in the same database, and all tables contain the field {project code}: code
There are nearly 30,000 projects running now, and the projects are randomly distributed in 60 databases, and can only be read from the specified file or query from project management database
The {project code} is randomly distributed from 1 to 999999999
THE QUESTION IS: WHEN I CONFIGURE actualDataNodes AS ds_${0..60}.t_${1..999999999}_order, I CAN NOT START SHARDINGSPHERE AND IT THROW EXCAPTION OutOfMemory Seems that when it started, all tables were loaded into memory using groovy inline syntax. HOW SHOULD I CONFIGURE IT?
Question
The current business is as follows:
t_{project code}_name
,t_{project code}_card
,t_{project code}_order
, etc.Each project's table is in the same database, and all tables contain the field {project code}:
code
THE QUESTION IS:
WHEN I CONFIGURE
actualDataNodes
ASds_${0..60}.t_${1..999999999}_order
, I CAN NOT START SHARDINGSPHERE AND IT THROW EXCAPTION OutOfMemorySeems that when it started, all tables were loaded into memory using groovy inline syntax. HOW SHOULD I CONFIGURE IT?
database-sharding.yaml:
com.example.DatabaseShardingAlgorithm:
com.example.TableShardingAlgorithm:
The text was updated successfully, but these errors were encountered: