Use the db directly in the collector.