Search icon CANCEL
Subscription
0
Cart icon
Your Cart (0 item)
Close icon
You have no products in your basket yet
Arrow left icon
Explore Products
Best Sellers
New Releases
Books
Videos
Audiobooks
Learning Hub
Conferences
Free Learning
Arrow right icon
Arrow up icon
GO TO TOP
SQL Server Analysis Services 2012 Cube Development Cookbook

You're reading from   SQL Server Analysis Services 2012 Cube Development Cookbook If you prefer the instructional approach to a lot of theory, this cookbook is for you. It takes you straight into building data cubes through hands-on recipes, helping you get to grips with SQL Server Analysis Services fast.

Arrow left icon
Product type Paperback
Published in Dec 2013
Publisher Packt
ISBN-13 9781849689809
Length 340 pages
Edition 1st Edition
Arrow right icon
Toc

Table of Contents (14) Chapters Close

Preface 1. Introduction to Multidimensional Data Model Design FREE CHAPTER 2. Defining Analysis Services Dimensions 3. Creating Analysis Services Cubes 4. Extending and Customizing Cubes 5. Optimizing Dimension and Cube Processing 6. MDX 7. Analysis Services Security 8. Administering and Monitoring Analysis Services 9. Using Tabular Models 10. DAX Calculations and Queries 11. Performance Tuning and Troubleshooting Tabular Models A. Miscellaneous Analysis Services Topics Index

Checking SSAS object sizes programmatically


Most SSAS databases contain data for a finite time span instead of perpetually accumulating data. After a while, data becomes stale and irrelevant for frequent analysis and should be either purged or migrated to a historical database. Since the volumes of the data we work with tend to grow quickly, we need to have a way of quickly checking the available disk space as well as the size of each object.

How to do it...

Microsoft supplies a couple of handy commands you could execute directly from the SSMS MDX query window to obtain the free disk space amount on the data drive.

  1. You can execute SYSTEMGETLOGICALDrives within SSMS or from the ASCMD utility. The command doesn't take any parameters, as shown in the following code snippet:

    SYSTEMGETLOGICALDRIVES

    The following table shows the result:

    Drive

    Free Space

    E:

    5309

    The output of the SYSTEMGETLOGICALDRIVES command depends on the AllowedBrowsingFolders property value. Had I included C:\ in the AllowedBrowsingFolders...

lock icon The rest of the chapter is locked
Register for a free Packt account to unlock a world of extra content!
A free Packt account unlocks extra newsletters, articles, discounted offers, and much more. Start advancing your knowledge today.
Unlock this book and the full library FREE for 7 days
Get unlimited access to 7000+ expert-authored eBooks and videos courses covering every tech area you can think of
Renews at $19.99/month. Cancel anytime
Banner background image