tw-stats also insert in sqlite