First part of parallel database working.