Log_adv and derived tables removed.