prev_rel_db needed to have admin access to previous DB in order to LOCK TABLE
Correcting resource class for check_reusability.
Set default resource class to use less memory (250Mb)
New analysis flag_update_clusters, used to flag the clusters that have changed