enrol_gudatabase: new scheduler magic and improving select performance