Regla de recopilación de rendimiento del espacio asignado de base de datos no usado (MB) de SQL 2016
Espacio asignado no usado (MB) para la base de datos de SQL 2016
Nombre | Descripción | Valor predeterminado |
Tamaño máximo del archivo de Azure (MB) | Tamaño máximo del archivo de datos almacenado en Azure BLOB Storage. El flujo de trabajo considerará este valor como capacidad de almacenamiento máxima para cada archivo. | 1048576 |
Habilitado | Habilita o deshabilita el flujo de trabajo. | Sí |
Intervalo (segundos) | Intervalo de tiempo periódico en segundos en el que se ejecuta el flujo de trabajo. | 900 |
Tiempo de espera (segundos) | Especifica el tiempo durante el que se puede ejecutar el flujo de trabajo antes de que se cierre y se marque como error. | 300 |
Target | Microsoft.SQLServer.2016.Database |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2016.Database.DBSizeRaw.DataSourceMapped | Microsoft.SQLServer.MonitoringAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2016.Database.DBAllocatedFreeSpaceMB.Collection" Enabled="true" Target="SQL2016Core!Microsoft.SQLServer.2016.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2016.Database.DBSizeRaw.DataSourceMapped" RunAs="GPMP!Microsoft.SQLServer.MonitoringAccount">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CounterName>DB Allocated Space Unused (MB)</CounterName>
<CounterKey>DBAllocatedFreeSpaceMB</CounterKey>
<AzureMaxFileSizeMB>1048576</AzureMaxFileSizeMB>
</DataSource>
</DataSources>
<WriteActions>
<WriteAction ID="WriteToDB" TypeID="SC!Microsoft.SystemCenter.CollectPerformanceData"/>
<WriteAction ID="WriteToDW" TypeID="SCDW!Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData"/>
</WriteActions>
</Rule>