Enable DB for statistics