shardingsphere icon indicating copy to clipboard operation
shardingsphere copied to clipboard

Use now() as sharding key

Open terrymanu opened this issue 8 years ago • 2 comments

ShardingSphere will get database time, and then calculate and sharding. The tasks:

  • [x] Parse now() for MySQL
  • [x] Define a datatime database server in configuration
  • [x] Get current time from datatime database server
  • [x] Route by current time

terrymanu avatar Nov 20 '18 03:11 terrymanu

i am interested in resolving this issue.but it doesn't seem that the dev branch can support the datetime range sharding strategy,i need to finish this task first?

avalon566 avatar Mar 04 '19 07:03 avalon566

Is this problem fixed?

xiaoyuge avatar Jul 09 '24 08:07 xiaoyuge