Split rmdb file in pieces to allow simpler adoption for grids