by rlmumford: Added a mysql view definition for process statuses.