fetcher and analyzer accept database as param