Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments

Assessing volume size

This section describes how to estimate the storage requirements on your storage system.

For additional details about how to evaluate your space requirements, see the SnapDrive Installation and Administration Guide for your version of SnapDrive.

Storage system volume sizing requirements  Top

In addition to the space required for your LUNs, free space on the storage system volume is required to store data that changed between Snapshot copies and the active file system of the LUN. The storage system volume also requires space to store metadata. Allowing for this additional space ensures that making multiple Snapshot copies does not encroach on the LUN objects in the volume.

When you create storage system volumes to hold LUNs, you must take into account the following SnapDrive requirements:

LUN size calculations  Top

To ensure that you create volumes to meet these requirements, you must calculate the potential size of your LUNs. The following formulas work best to calculate both the SQL Server database size (LUN size) and the volume size.

Example

Given these requirements, the following parameters can be expressed by the formula shown after them:

Calculations

  1. The database size after growth is about 177 GB (rounded up to 180 GB for the LUN size).

    Note
    If the database is growing by 10 percent per month, this does not mean that the database is growing by the same 10 GB every month. Rather, the database grows to about 110 GB in the first month (100 GB x 1.1) and 121 GB in the second month (110 GB x 1.1).

    In general, the formula is as follows:

    <projected future database size>=<present database size> x (<1 + <monthly growth rate percentage in decimal>+<monthly change rate percentage expressed in decimal>)<number of months>

  2. Approximately 27 GB of the database changes per month after six months.
  3. Minimum space requirements after six months are (180 GB x 2) + (0.15 GB x 12) = 362 GB.

    Note
    You should round up the final space requirements listed in Step 1 to determine the volume size you want to create. For example, round up 368.4 GB to 370 when you are creating your volume size.

  4. A 72-GB disk drive has approximately 68 GB of usable volume space, and because 20 percent is allocated for permanent free space, then only 54 GB is usable per disk drive. Therefore, 13 disk drives are needed for data and two disk drives are needed for parity.

Overall storage system volume requirements for a transaction log  Top

The storage system volume requirements for a transaction log require an understanding of the following factors:

Note
The key to sizing correctly is to monitor usage over time.

Example

With a table that contains three columns with two indexes defined on column one and column three, for each update operation that adds one data row, there are at least three operations:

  1. The actual update to the row (including any old data) is logged.
  2. An entry is created for the first index that needs to be updated.
  3. An entry is also created for the second index that needs to be updated.

Note
There might be extra entries created if a new index page or data page needs to be created to accommodate the row in the table.

Estimating the amount of space required for a transaction log  Top

The quantity of what is logged is dependent on the underlying table structure and the database activity on the SQL Server.

If the database already exists, then the current transaction log size can be used as is or the transaction log activities can be monitored from the performance monitor with some SQL Server database metrics:

Initial sizing guidelines for new environments  Top

If you have set up a new environment, you might want to consider the following initial sizing guidelines and monitor the used size before and after the transaction log is backed up.

Note
The following recommendations are also applicable when you specify the size of the SnapInfo directory.

The recommendations are as follows:

Note
The insert, update, and delete functions will increase a transaction log file's size.

Library Table of Contents Index Previous Page (Alt-p) Next Page (Alt-n) Comments