keep less data in database