# Working with Delete Maintenance

## Editing and Scheduling Jobs

1. Launch the database manager.

2. Go to the Job Scheduler for database type.

3. In the database Job Scheduler, configure the settings as per the specific job requirements. To configure the Job Properties like DaysTokeep and Bulksize follow the steps below .

## Setting the Number of DaysToKeep and BulkSize

@Bulksize and @DaysToKeep are the properties for each database scheduler job that decides how long data should be stored and in how large chunks it should be deleted. Each delete operation will delete data in batches, each batch deletes a max number of rows which is equal to @Bulksize. This will be repeated until all data older than @DaysToKeep is deleted.

1. Select Steps, then select File in the Job Step List.

2. Select Edit. In the General tab/command field, set the correct value after @DaysTokeep (@DaysToKeep = 0, will keep data from the current day).

3. Select OK.