Acronis backup recovery 10 management server reports Guida All'Installazione

Pagina di 23
Copyright © Acronis, Inc., 2000-2009 
19 
 
 
 
HostID – The unique identifier of the storage node that manages the vault. For an unmanaged 
vault, the value in this column is NULL
 
6  Historical reports 
6.1  Vaults statistics report 
6.1.1  Description 
The GetVaultsStatistics function returns a table containing the statistics for all managed vaults that 
existed within a period you specify. The VaultID column in this table identifies the vault whose 
statistics are presented. 
Because this is a historical report, the table may include vaults that no longer exist. By using this table 
together with the Vaults view, you can determine the missing vaults. 
The GetVaultsStatistics function takes three arguments: the start of the reporting period; the end of 
the reporting period; and the granularity of the report (the interval between consecutive points in 
time), in seconds. 
For example, the following query will return vaults’ statistics as of 01:00, 02:00, and 03:00 on 
January 1, 2010 (UTC): 
SELECT * 
FROM dbo.GetVaultsStatistics('1-1-2010 01:00:00.000', '1-1-2010 03:00:00.000', 
3600) 
The management server updates statistics about the managed vaults every 15 minutes (900 seconds), 
so specifying a finer granularity will not increase report precision. 
 
6.1.2  Query samples 
 
The following query returns vault statistics for the past two months on a daily basis: 
SELECT * FROM dbo.GetVaultsStatistics(DATEADD(m, -2, GETUTCDATE()), 
GETUTCDATE(), 86400) 
 
The following query returns the periods when any vault on the storage node named datastore 
was unavailable (or the management server was down) within the past week: 
SELECT * FROM dbo.GetVaultsStatistics(DATEADD(d, -7, GETUTCDATE()), 
GETUTCDATE(), 900) WHERE 
NumberOfArchives IS NULL AND 
StorageNodeName = 'datastore'  
 
The following query returns the average total ratio among all the deduplicated vaults of the 
datastore storage node on a daily basis for a month: 
SELECT AVG(TotalRatio) FROM dbo.GetVaultsStatistics(DATEADD(m, -1, 
GETUTCDATE()), GETUTCDATE(), 86400) WHERE 
StorageNodeName = 'datastore' AND 
IsDeduplicated = 1 
GROUP BY Date 
ORDER BY Date