You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@shardingsphere.apache.org by "BourneD (via GitHub)" <gi...@apache.org> on 2025/05/24 08:39:21 UTC
[I] high latency for shardingsphere-jdbc initializing schema metadata in Single table rule [shardingsphere]
BourneD opened a new issue, #35500:
URL: https://github.com/apache/shardingsphere/issues/35500
version: shardingsphere-jdbc-5.5.2
we have about 4500 tables in our database. and the rule configuration is as below. there are no other rules except the SINGLE one. The initialization latency is about 4 minutes.
```
rules:
- !SINGLE
tables:
- "ds0.restful_message_b_table"
defaultDataSource: ds0
```
I analyzed the initialization procedure and found it is blocked in `org.apache.shardingsphere.mode.metadata.persist.service.metadata.table.TableMetaDataPersistService::persist`.
Can we optimize the `persist` method by parallel execution.
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org
Re: [I] high latency for shardingsphere-jdbc initializing schema metadata in Single table rule [shardingsphere]
Posted by "linghengqian (via GitHub)" <gi...@apache.org>.
linghengqian commented on issue #35500:
URL: https://github.com/apache/shardingsphere/issues/35500#issuecomment-2912265196
> Can we optimize the persist method by parallel execution.
- It sounds like you want to submit a PR?
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@shardingsphere.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org