Process Chain Optimization adapted for staging database structure