Reputation: 331
we want to know analysis services database size after it's deploy on Azure analysis services
Upvotes: 1
Views: 10525
Reputation: 11
Use SSMS:
Use Metrics:
Hope this helps.
Upvotes: 1
Reputation: 31
You can use below script to find overall size and model wise size For Azure Analysis server in (MB/GB)
Param($ServerName="<servername>")
$loadInfo =
[Reflection.Assembly]::LoadWithPartialName(“Microsoft.AnalysisServices”)
$server = New-Object Microsoft.AnalysisServices.Server
$server.connect($ServerName)
if ($server.name -eq $null) {
Write-Output (“Server ‘{0}’ not found” -f $ServerName)
break
}
$sum=0
foreach ($d in $server.Databases )
{
Write-Output ( “Database: {0}; Status: {1}; Size: {2}MB” -f $d.Name,
$d.State, ($d.EstimatedSize/1024/1024).ToString(“#,##0”) )
$sum=$sum+$d.EstimatedSize/1024/1024
}
$SizeGB=$Sum/1024
write-host ‘Sum of Database = ‘$sum ‘ MB’
Write-host ‘Total Size of Cube Databases =’ $SizeGB ‘ GB’
Thanks, Mahendar
Upvotes: 3
Reputation: 11
You can use either this http://www.sqlbi.com/tools/vertipaq-analyzer/ or this https://www.kasperonbi.com/new-ssas-memory-usage-report-using-power-bi/ tool.
Upvotes: 1