Process states planning -> db indexes on processes table