table limit = 0 means no limit, for on-disk