Database splitter