Delete instances of dimensions that are not referenced in the facts.
purge_dimension_instances(db)
db
A star_database object.
star_database