Use csv file instead of sqlite for performance