Replies: 5 comments
-
idea chinese blog |
Beta Was this translation helpful? Give feedback.
-
i dont know now if i'm set maxqueryconnections=1 select * from order order by time desc limit 1 nowselect * from order_202201 order by time desc limit 1
select * from order_202202 order by time desc limit 1
select * from order_202203 order by time desc limit 1
select * from order_202204 order by time desc limit 1 we should wait serial query 4 times,i think random sort table tail is bad,some time we should use sequence sort with table tail,and only add circuit breaker we can give up other query |
Beta Was this translation helpful? Give feedback.
-
Hi @xuejmnet Thank you for the suggestion, I will study it when I am free. |
Beta Was this translation helpful? Give feedback.
-
Hello , this issue has not received a reply for several days. |
Beta Was this translation helpful? Give feedback.
-
There hasn't been any activity on this issue recently, and in order to prioritize active issues, it will be marked as stale. |
Beta Was this translation helpful? Give feedback.
-
Hello I'm ShardingCore Author,this lib is c# for sharding,.
i have some idea want share,i think it's useful.
sequence query with order
i'm create sharding table and use time strategy like sharding by month or day ....
sharding logic table name
order
,sharding columntime
order_202201,order_202202,order_202203,order_202204.
now
parallel with max connections thread
then merge in memory
i think if
shardingsphere
can configure sequence eg. sharding tail comparer,optimize
we can use independence config for max connections eg. config.addsequenceconnectons(1)
circuit breaker
now
then in memory merge calc max time in list
optimize
Beta Was this translation helpful? Give feedback.
All reactions