Set Auto Expand Data Files


Datafile Software

Set Auto Expand Data Files

Datafile reserves a fixed space for database files and you need to expand that space should the file become full. This option allows you to set internal system parameters, so that it automatically attempts to enlarge a file that is becoming full. The file is expanded when a user opens the file, provided no-one else is already using that file, typically it would occur at the start of the day when the first user accesses an application.

Expand By

Enter the number of records by which you wish the system to expand the file when triggered. Strike a balance between too small a number, meaning that it would happen to frequently, and too large a number which would mean it would take a long time to expand the file, and take up unnecessary disk space.

When Less

This represents the quantity of free records, which when the database is below, will trigger the automatic expansion when a user has exclusive access to the file.

Minimum Spare

This is an important parameter for files where batches of records are added – it represents the minimum quantity that must be free at all times. It would normally be less than the ‘When Less’ setting and if this setting reached it implies that no user has had exclusive access to the file since the ‘When Less’ quantity was reached. You should set the minimum to be the largest number that can be added through an automatic update.


Custom Fields

Article ID: 1542
Created On: Wed, Jul 4, 2012 at 9:22 AM
Last Updated On: Mon, Jun 12, 2023 at 5:03 PM

Online URL: https://kb.datafile.co.uk/article/set-auto-expand-data-files-1542.html