SQL 2014 資料庫可用外部空間 (MB) 效能集合規則
SQL 2014 資料庫的可用外部空間 (MB)。此規則會收集供加大作業使用的磁碟空間量。此數字會考量下列限制:
檔案不得大於 1TB (適用於 Azure BLOB);
檔案不得成長超過其大小上限設定;
檔案不得成長超過可用的磁碟可用空間;
如果沒有足夠的空間可容納整個成長級距,成長作業會失敗 (亦即,如果檔案會以 10 GB 的幅度成長,但只有 9 GB 可用,則該作業會失敗)
。
名稱 | 描述 | 預設值 |
Azure 檔案大小上限 (MB) | Azure BLOB 儲存體中所儲存的資料檔案大小上限。此工作流程會考慮將此值用做為每個檔案的儲存體容量上限。 | 1048576 |
已啟用 |
| 是 |
產生警示 |
| 否 |
間隔 (秒) | 執行工作流程的週期性時間間隔 (秒)。 | 900 |
逾時 (秒) | 指定允許工作流程在關閉且標示為失敗之前執行的時間。 | 300 |
Target | Microsoft.SQLServer.2014.Database |
Category | PerformanceCollection |
Enabled | True |
Alert Generate | False |
Remotable | True |
ID | Module Type | TypeId | RunAs |
---|---|---|---|
DS | DataSource | Microsoft.SQLServer.2014.Database.DBSizeRaw.DataSourceMapped | Microsoft.SQLServer.2014.SQLProbeAccount |
WriteToDB | WriteAction | Microsoft.SystemCenter.CollectPerformanceData | Default |
WriteToDW | WriteAction | Microsoft.SystemCenter.DataWarehouse.PublishPerformanceData | Default |
<Rule ID="Microsoft.SQLServer.2014.Database.DBDiskFreeSpaceMB.Collection" Enabled="true" Target="SQL2014Core!Microsoft.SQLServer.2014.Database">
<Category>PerformanceCollection</Category>
<DataSources>
<DataSource ID="DS" TypeID="Microsoft.SQLServer.2014.Database.DBSizeRaw.DataSourceMapped" RunAs="SQL2014Core!Microsoft.SQLServer.2014.SQLProbeAccount">
<IntervalSeconds>900</IntervalSeconds>
<TimeoutSeconds>300</TimeoutSeconds>
<CounterName>DB Available Outer Space (MB)</CounterName>
<CounterKey>DBDiskFreeSpaceMB</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>