Quantcast
Channel: SQLServerCentral » Data Warehousing » Analysis Services » Latest topics
Viewing all articles
Browse latest Browse all 1341

Alert me cube size by sql query

$
0
0
I need to write an query to fetch the size of the cube from SQL server.This will help me to send the daily cube size after processing and have an record. I dont want to go to manually right click the cube and see the properties for the size.In case of Database, i have the query as [font="Courier New"]SELECT CAST(SUM(size) * 8. / 1024 AS DECIMAL(8,2)) Size_MB , CAST(SUM(size) * 8. / 1024 AS DECIMAL(8,2))* 0.001 Size_GB FROM sys.master_files WITH(NOWAIT)WHERE database_id = 6 [/font]I need similar query for the cube size

Viewing all articles
Browse latest Browse all 1341

Trending Articles