# SyncDatabase

When you train Media Server, your training database is updated with new training data. However, analysis tasks do not use this training data until Media Server has synchronized with the database.

This parameter specifies whether Media Server synchronizes with the database before beginning the analysis task. To ensure that vehicle model identification uses the latest training that is available when the `process` action begins, set this parameter to `TRUE`. Media Server will synchronize with the database specified by the Database parameter. If you have not specified a database, synchronization does not occur.

TIP: You can manually synchronize with the database by running the action SyncVehicleModels, or configure Media Server to synchronize with the database on a schedule by setting the parameter SyncInterval. However, setting `SyncDatabase=TRUE` ensures that synchronization is complete before analysis starts.

TIP: If you are processing a long video file or a stream, and you want to synchronize with the latest training while processing continues, use the action SyncVehicleModels or set the configuration parameter SyncInterval.

To start analysis without synchronizing with the latest training, set this parameter to `FALSE`. Synchronizing with the latest training might not be necessary if you have already run the action SyncVehicleModels (and waited for it to complete), or if there have been no changes to the training data.

Type: | Boolean
Default: | True
Required: | No
Configuration Section: | TaskName
Example: | `SyncDatabase=TRUE`
See Also: | SyncInterval

_FT_HTML5_bannerTitle.htm