splits database