A database could not be opened sometimes after dropping tables or indexes, and then creating new indexes for existing tables.