
Since a snapshot can be really large, you can restrict the number of snapshots that are saved for each instance with profile parameter service/max_snapshots. The default value is 10 snapshots per instance. If this value is exceeded, the oldest snapshot is overwritten.
If the data collector is included in your SAP delivery (for example, with Java systems or Master Data Management), it is already configured. The data collector can add data to the snapshot. This data can be ASCII files, HTML files, and filtered log files.
The data collected by the data collector is stored in directory SID\Hostname\InstanceNr\datcol.
As soon as a request to create a snapshot is received, the SAP Start Service opens the data collector with the command line specified in profile paramter service/datcol_command.
The SAP Start Service must wait for the content of the data collector before the snapshot can be created. Since SAP MMC is blocked during this time, you can specify a timeout after which the data collector is terminated and the process to create the snapshot is continued. This timeout is specified with profile parameter service/datcol_timeout.
If the data collector has been terminated after service/datcol_timeout, you can configure profile parameter service/datcol_mandatory so that the creation of the snapshot is terminated too.