1
Enable the feature globally
Set the EnableBatchRoutingStatistic field to
true in the dbo.Settings database table.2
Enable data collection for each tenant
Set the third bit in the Flags field in the dbo.Tenant table. To enable data collection for all tenants in MS SQL, use the following command:
