Disk space requirements for Store database version 1.0 (HTnM-Agent for SAN Switch)
return to main contents page
return to "Management server" contents page
All records of one record type are stored in the same file in Store database version 1.0.
Table 1 Disk space requirements for the Store database shows the formula for estimating the amount of disk space required for the Store database version 1.0 for each record type.
Table 1 Disk space requirements for the Store database
Record type Formula for estimating disk space requirements (bytes)
PI X1 + ... + Xi + 3,500 * i
i.e., ƒ°(Xn + 3500)
PD Y1 + ... + Yj + 700 * j
i.e., ƒ°(Yn + 700)
Legend: Xn: Disk space requirements for the PI-type records collected as historical data
Yn: Disk space requirements for the PD-type records collected as historical data
i: Number of PI-type records collected as historical data
j: Number of PD-type records collected as historical data
The following shows the calculations for obtaining Xn and Yn used in the legend of Table 1 Disk space requirements for the Store database:
Xn= {b * c + (a + 1,900) * {(b * c) / (65,250 - a) + 1}(see 1)} * d * 1.5
Yn= {b * e + (a + 1,900) * {(b * c) / (65,250 - a) + 1}(see 1) * (e / c)(see 2) } * 1.5
The meanings of a to e in the formulas are as follows:
a: The size of the fixed part of each record collected as historical data.
b: The size of the variable part of each record collected as historical data.
c: The number of instances of each record collected as historical data (For single-instance records, the value of this parameter is 1.) (see 3)
d: The number of instances stored for each PI-type record collected as historical data (see 4)
e: The number of instances stored for each PD-type record collected as historical data (see 5)
Notes:
1. Round down the calculation result of {(b * c)/(65,250 -a) + 1} to the nearest integer.
2. Round down the calculation result of (e/c) to the nearest integer.
3. For the number of instances for each record, see Table 2 Methods for calculating the number of instances for records. 
Note that the method for checking the values necessary for obtaining the number of instances varies according to the partner product to which Agent for SAN Switch is connected. 
The following shows how you can check the necessary values for each partner product:
-  Network Advisor SMI Agent (Brocade): Start Network Advisor.
-  DCFM SMI Agent (Brocade): Start DCFM.
-  SMI Agent for FOS (Brocade): Log in to Proxy Switch, and execute a switch command.
-  DCNM-SAN SMI-S Agent (Cisco): Start DCNM-SAN.
-  Seed Switch (Cisco): Start Cisco Fabric Manager.
4. PI-type records are automatically aggregated for fixed intervals (minute, hour, day, week, month, and year). 
Therefore, the number of records to be stored must be calculated separately for each classification. 
Table 3 Defaults for retention period and number of records for PI record type shows the default storage period and number of records for each classification.
5. For details about the number of stored records, see the chapter that describes management of the Store database, and the section that describes the properties of the Agent Store service in the Tuning Manager Agent Administration Guide. 
Table 4 Defaults for number of stored records for each PD record type lists the default number of records to be stored, for records of each PD record type.
Table 2 Methods for calculating the number of instances for records
Record name (Record ID) Methods for calculating the number of instances
Connected Port Detail�@
(PD_CPTD)
Number of ports connected to the switches in the monitored fabric x 2
Device Detail (PD_DEVD) Number of HBAs and storage systems connected to the switches in the monitored fabric
Port Detail (PD_PTD) Total number of the following:
- Number of ports on the switches in the monitored fabric
- Number of HBAs and storage systems connected to the switches in the monitored fabric
Port Error Summary
(PI_PTES)
Total number of ports on the switches in the monitored fabric
Port Summary (PI_PTS) Total number of ports on the switches in the monitored fabric
Switch Detail (PD) Number of switches in the monitored fabric
Switch Error Summary
(PI_SWES)
Number of switches in the monitored fabric
Switch Summary (PI_SWS) Number of switches in the monitored fabric
System Summary (PI) 1 (because it is a single-instance record)
Table 3 Defaults for retention period and number of records for PI record type
Data type Retention
period
Number of records to be stored
(when collection interval is 1 minute)
Minute 1 day*1 1,440
Hour 7 days 168
Day 1 year 366
Week 1 year 53
Month 1 year 12
Year Unlimited (years-collected) x 1
*1 If you change the retention period from the default value, the Store database size greatly increases.
Therefore, substantial processing time is necessary to convert the data model when installing the updated version.
For an estimate of the required time, see the description of �gBefore starting an upgrade or overwrite installation�hin Preparing to install or upgrade agents.
Also, twice as much capacity is temporarily required in the disk storage Store database.
Therefore, make sure that enough capacity exists.
Table 4 Defaults for number of stored records for each PD record type
Record name (Record ID) Number of records to be stored
Connected Port Detail (PD_CPTD) 807,000
Device Detail (PD_DEVD) 132,000
Port Detail (PD_PTD) 396,000
Switch Detail (PD) 8,400
Disk space requirements for Store database version 2.0 (HTnM-Agent for SAN Switch)
All records are stored in different directories and files for each summarization unit, date, and record type in the Store database version 2.0.
The following provides estimates for the following information: the amount of disk space required for the Store database version 2.0, the number of files and directories to be created, and the number of files to be opened by the Store service.
• Disk space requirements
The amount of disk space required for the Store database equals the total amount of disk space required for each record type. For the PI record type, the disk space requirements equal the total amount of disk space required for each summarization unit.
The formula for estimating the disk space requirements (X) for each record type (unit: bytes) is as follows:
X={(e + 2) * f + (d + 60) * {((e + 2) * f) / (65,250 - d)+1}(see 1)} * a / b * (c + 1) * 1.1
a: This value differs for each record type or summarization unit. For details, see Table 5 Values set to a, b, and c.
b: This value differs for each record type or summarization unit. For details, see Table 5 Values set to a, b, and c (see 2).
c: The setting value for the retention period of historical data (see 3). The units specified for this value differ for each record type or summarization unit. For details see Table 5 Values set to a, b, and c.
d: Size of the fixed part of each record that collects historical data (see 4)
e: Size of the variable part of each record that collects historical data (see 4)
f: Number of instances for each record that collects historical data (1 for a single instance record) (see 5). 
Note that if the number of instances is 2 or more, the value will be rounded up to a multiple of 4. For example, if the number of instances is 2, f will be 4. If the number of instances is 1, f will be 1.
Table 5 Values set to a, b, and c
Record type Summarization unit a b c
PI Minute 1,440 1 + (g-1) / 60(see 2) Retention period (unit:days)
Hour 24 1 + (g-1) / 3,600 (see 2) Retention period (unit:days)
Day 7 1 + (g-1) / 86,400 (see 2) Retention period (unit:weeks)
Week 1 1 + (g-1) / 604,800 (see 2) Retention period (unit:weeks)
Month 1 1 + (g-1) / 2,592,000 (see 2) Retention period (unit:months)
Year 1 1 + (g-1) / 31,622,400 (see 2) Retention period (unit:years)
PD --- 1,440 g / 60 Retention period (unit:days)
Legend: g: The setting value for collection interval of historical data (unit: seconds)
---: Not applicable
Notes: 1. In the calculated value for {((e + 2) *f) / (65,250 - d) + 1}, discard digits after the decimal point.
2. In the calculated value for b of the PI record type, discard digits after the decimal point.
3. Table 6 Default retention period of the PI record type records lists the default retention period of the PI record type records for Store database version 2.0.
 The default retention period of the PD record type records is 7 days.
4. For details about the fixed part and variable part of each record, see the section that describes Agent for SAN Switch records in the Tuning Manager Hardware Reports Reference.
5. For details about the number of instances for each record, see the explanation in Disk space requirements for Store database version 1.0 (HTnM-Agent for SAN Switch).
Table 6 Default retention period of the PI record type records
Data type Retention period
Minute-by-minute 1 day     
Hourly 7 days    
Daily 54 weeks 
Weekly 54 weeks 
Monthly 12 months
Yearly No limit
• Number of files
Following is the formula to estimate the number of files (N) to be created
by the Store database:
N = 20 + 2 * (
(A11 + A12 + ... +A1m + m) +
(A21 + A22 + ... +A2m + m) +
(A31 + A32 + ... +A3m + m) +
(A41 + A42 + ... +A4m + m) +
(A51 + A52 + ... +A5m + m) +
(11 * m) +
(B1 + B2 + ... +Bn + n)
)
m: Number of records collected by the PI record type record
n: Number of records collected by the PD record type record
A11 - A1m: The setting value of the retention period for the minute-byminute record of each record of the PI record type (unit: days)
A21 - A2m: The setting value of the retention period for the hourly record for each record of the PI record type (unit: days)
A31 - A3m: The setting value of the retention period for the daily record for each record of the PI record type (unit: weeks)
A41 - A4m: The setting value of the retention period for the weekly record for each record of the PI record type (unit: weeks)
A51 - A5m: The setting value of the retention period for the monthly record for each record of the PI record type (unit: months)
B1 - Bn: The setting value of the retention period for each PD record type record (unit: days)
• Number of directories
Following is the formula to estimate the number of directories (N) to be created by the Store database:
N = 25 + 2 * ((A1max) + (A2max) + (A3max) + (A4max) + (A5max) + 11 + (Bmax))
A1max: The maximum setting value of the retention period for the data where the summarization unit of a record collected by the PI record type is minutes (unit: days)
A2max: The maximum setting value of the retention period for the data where the summarization unit of a record collected by the PI record type is hours (unit: days)
A3max: The maximum setting value of the retention period for the data where the summarization unit of a record collected by the PI record type is days (unit: weeks)
A4max: The maximum setting value of the retention period for the data where the summarization unit of a record collected by the PI record type is weeks (unit: weeks)
A5max: The maximum setting value of the retention period for the data where the summarization unit of a record collected by the PI record type is months (unit: months)
Bmax: The maximum setting value of the retention period for each PD record type record (unit: days)
• Number of files to be opened by the Store service
Following is the formula to estimate the number of files (N) to be opened by the Store service:
N = 20 + 2 x (6 * m +n)
m: Number of records collected by the PI record type record
n: Number of records collected by the PD record type record