Add parallel collecting data in the database

Implements-blueprint: collect-data-in-parallel