-
Notifications
You must be signed in to change notification settings - Fork 6.8k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How Does ShardingSphere-Proxy Implement Custom Sharding Algorithms for Large Numbers of Tables? #34467
Comments
and one more question: how cloud i reload sharding mapping? |
How could there be so many tables with such a large amount of data? |
Thanks for reply @terrymanu |
Open source does not provide services and guarantees for commercial companies. |
I don't think there's any problem with commercial companies using open-source code as system components. On the contrary, if the open-source community is active enough, it can actually help ensure the stability of the relevant features. |
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: