Implemented dbIsValid (DBI 3.0) and fixed partition methods