eG Monitoring
 

Measures reported by SqlAzuDBSizeTest

Periodic monitoring of the usage of the files of each file type in the database is essential to ensure that the files of the database are always adequately sized to handle current and future loads. The SqlAzuDBSizeTest test monitors the usage of the files of the target Microsoft SQL Azure database server, and indicates if it requires resizing.

Outputs of the test : One set of results for each file type on the target Microsoft SQL Azure database server being monitored.

The measures made by this test are as follows:

Measurement Description Measurement Unit Interpretation
Allocated_size Indicates the space allocated for this file type. GB  
Free_space_by_max_size Indicates the amount of disk space that is currently available for use by the files of this file type. GB A high value implies that the database files have adequate space for growth. If the value of this measure is low, then you may have to fine-tune your auto-growth settings accordingly.
Free_space_util_by_max Indicates the percentage of Max file size that is currently available for use by the files of this file type. Percent If many files of this file type are set to auto-grow till disk capacity is reached, then, a high value of this measure indicates that there is enough space for the files to grow. A low value indicates that there is very little room for file growth.
Growth_rate Indicates the growth rate of the files of this file type. GB/sec  
Maximum_size Indicates the maximum size upto which the database files of this file type can grow. GB Each database file that is associated with your database has an auto-growth setting. There are three different settings you can use to identify how your database files will grow. They can grow by a specific size, a percentage of the current size, or not grow at all. Additionally you can set your files to unrestricted growth, which means they will keep growing as they need more space or you run out of disk space. Or you can restrict the growth of a database file to grow no larger than a specified size. Each one of these different auto-grow settings have defaults, or you can set them for each database file.

If the auto-growth setting is not enabled at all for a file in a file group, then the amount of space that was originally allocated to that file will be regarded as the Max file size of that file.

On the other hand, if the Auto-growth setting is enabled for a file in the file group, then the Max file size of that file will be one of the following:

  • If a specific size limit is explicitly set for the file, then this will be considered as the Max file size of that file.
  • If no size limit is set for the file, then the total capacity of the disk drive in which that file resides will be considered as the Max file size of that file.

So, if a file group consists of a few data files for which auto-growth is enabled and a few others for which it is disabled, then the Max file size of that file group will be a sum total of the following:

  • The sum of the space allocated to each of the files for which auto-growth is not enabled;
  • The sum of the maximum size limits, if defined, for each file for which auto-growth is disabled;
  • The sum of the total capacity of the disks containing the auto-growth-enabled files for which no size limit is defined.
Used_size Indicates the amount of space that was already utilized by the files of this file type. GB A high value for this measure indicates that the space in the files are depleting at a faster pace.