database messiness