I would like to implement two master db with even-odd id sharding. in mysql it is fairly easy by using the configuration:
auto_increment_offset = 1 auto_increment_increment = 2 but I have searched a lot didn't find anything related to this, some users doing this via trigger like "rubyrep". is there an easy way to do this? thanks!