HP 3PAR StoreServ 7200 2-node HP 3PAR System Reporter 3.1.0 Software User& - Page 198

The Sample Data and Inventory Tables, The pdspace Table

Page 198 highlights

Table 68 recentsample_1 Table Column resolution tsecs Type Comment VARCHAR(32) NOT NULL The sample resolution, one of hires, hourly or daily. INTEGER NOT NULL Sample time in secs of the most recent complete sample of the resolution. This is the Unix time and is the number of seconds since 0:00:00 Jan 1, 1970 GMT. The Sample Data and Inventory Tables The sample data tables include the space and performance samples of various objects in the systems. For each type of sample, there are three separate tables, one for each sampling resolution: • hires - High resolution samples • hourly - Hourly samples • daily - Daily sample. The tables for the different resolutions are identical in their structure. In the table names, the substring can be replaced by either hires, hourly or daily. The database often needs to be queried to determine all the objects that are present in the table. Often, this information is used to populate the menus in a web browser or Excel client. Since the data tables can be very large, this type of query can take a long time in spite of indexes on the data tables. To improve the efficiency of these queries, a separate set of inventory tables is maintained, one for each sample data table. The inventory tables contain a row for each distinct object in the corresponding sample data table. When the sampler inserts new samples into a table, or removes older samples from a table, it also updates the corresponding inventory table. The pdspace Table The pdspace__3 table holds physical disk (PD) space data samples. Table 69 pdspace__3 Table Column tsecs sys_uid pdid cageid cageside mag disk disktype diskspeed state wwn NRM_USED_OK Type INTEGER NOT NULL INTEGER NOT NULL INTEGER NOT NULL INTEGER NOT NULL INTEGER NOT NULL INTEGER NOT NULL INTEGER NOT NULL VARCHAR(32) NOT NULL INTEGER NOT NULL VARCHAR(32) NOT NULL CHAR(16) NOT NULL INTEGER NOT NULL Comment Sample time in secs. This is the Unix time and is the number of seconds since 0:00:00 Jan 1, 1970 GMT. A unique identifier for the HP 3PAR StoreServ Storage instance refers to the uniq_id for the system instance in the system_3 table The physical disk ID. The cage ID that the PD is in The side of the disk chassis that the cage is in. The magazine number in the cage that the PD is in. The disk number in the magazine. The disk type. Currently, the disk types are FC - Fibre Channel drive. NL - Nearline drive. The approximate disk speed in K RPM The state of the PD. The WWN of the PD. Number of normal chunklets that are used in LDs. 198 Database Schema

  • 1
  • 2
  • 3
  • 4
  • 5
  • 6
  • 7
  • 8
  • 9
  • 10
  • 11
  • 12
  • 13
  • 14
  • 15
  • 16
  • 17
  • 18
  • 19
  • 20
  • 21
  • 22
  • 23
  • 24
  • 25
  • 26
  • 27
  • 28
  • 29
  • 30
  • 31
  • 32
  • 33
  • 34
  • 35
  • 36
  • 37
  • 38
  • 39
  • 40
  • 41
  • 42
  • 43
  • 44
  • 45
  • 46
  • 47
  • 48
  • 49
  • 50
  • 51
  • 52
  • 53
  • 54
  • 55
  • 56
  • 57
  • 58
  • 59
  • 60
  • 61
  • 62
  • 63
  • 64
  • 65
  • 66
  • 67
  • 68
  • 69
  • 70
  • 71
  • 72
  • 73
  • 74
  • 75
  • 76
  • 77
  • 78
  • 79
  • 80
  • 81
  • 82
  • 83
  • 84
  • 85
  • 86
  • 87
  • 88
  • 89
  • 90
  • 91
  • 92
  • 93
  • 94
  • 95
  • 96
  • 97
  • 98
  • 99
  • 100
  • 101
  • 102
  • 103
  • 104
  • 105
  • 106
  • 107
  • 108
  • 109
  • 110
  • 111
  • 112
  • 113
  • 114
  • 115
  • 116
  • 117
  • 118
  • 119
  • 120
  • 121
  • 122
  • 123
  • 124
  • 125
  • 126
  • 127
  • 128
  • 129
  • 130
  • 131
  • 132
  • 133
  • 134
  • 135
  • 136
  • 137
  • 138
  • 139
  • 140
  • 141
  • 142
  • 143
  • 144
  • 145
  • 146
  • 147
  • 148
  • 149
  • 150
  • 151
  • 152
  • 153
  • 154
  • 155
  • 156
  • 157
  • 158
  • 159
  • 160
  • 161
  • 162
  • 163
  • 164
  • 165
  • 166
  • 167
  • 168
  • 169
  • 170
  • 171
  • 172
  • 173
  • 174
  • 175
  • 176
  • 177
  • 178
  • 179
  • 180
  • 181
  • 182
  • 183
  • 184
  • 185
  • 186
  • 187
  • 188
  • 189
  • 190
  • 191
  • 192
  • 193
  • 194
  • 195
  • 196
  • 197
  • 198
  • 199
  • 200
  • 201
  • 202
  • 203
  • 204
  • 205
  • 206
  • 207
  • 208
  • 209
  • 210
  • 211
  • 212
  • 213
  • 214
  • 215
  • 216
  • 217
  • 218
  • 219
  • 220
  • 221
  • 222
  • 223
  • 224
  • 225
  • 226
  • 227
  • 228
  • 229
  • 230
  • 231

Table 68 recentsample_1 Table
Comment
Type
Column
The sample resolution, one of
hires
,
hourly
or
daily
.
VARCHAR(32) NOT NULL
resolution
Sample time in secs of the most recent complete sample of the
resolution. This is the Unix time and is the number of seconds since
0:00:00 Jan 1, 1970 GMT.
INTEGER NOT NULL
tsecs
The Sample Data and Inventory Tables
The sample data tables include the space and performance samples of various objects in the
systems. For each type of sample, there are three separate tables, one for each sampling resolution:
hires
- High resolution samples
hourly
- Hourly samples
daily
- Daily sample.
The tables for the different resolutions are identical in their structure. In the table names, the substring
<res> can be replaced by either
hires
,
hourly
or
daily
.
The database often needs to be queried to determine all the objects that are present in the table.
Often, this information is used to populate the menus in a web browser or Excel client. Since the
data tables can be very large, this type of query can take a long time in spite of indexes on the
data tables. To improve the efficiency of these queries, a separate set of inventory tables is
maintained, one for each sample data table. The inventory tables contain a row for each distinct
object in the corresponding sample data table. When the sampler inserts new samples into a table,
or removes older samples from a table, it also updates the corresponding inventory table.
The pdspace Table
The
pdspace_<res>_3
table holds physical disk (PD) space data samples.
Table 69 pdspace_<res>_3 Table
Comment
Type
Column
Sample time in secs. This is the Unix time and is the number
of seconds since 0:00:00 Jan 1, 1970 GMT.
INTEGER NOT NULL
tsecs
A unique identifier for the HP 3PAR StoreServ Storage instance
refers to the uniq_id for the system instance in the system_3
table
INTEGER NOT NULL
sys_uid
The physical disk ID.
INTEGER NOT NULL
pdid
The cage ID that the PD is in
INTEGER NOT NULL
cageid
The side of the disk chassis that the cage is in.
INTEGER NOT NULL
cageside
The magazine number in the cage that the PD is in.
INTEGER NOT NULL
mag
The disk number in the magazine.
INTEGER NOT NULL
disk
The disk type. Currently, the disk types are FC - Fibre Channel
drive. NL - Nearline drive.
VARCHAR(32) NOT NULL
disktype
The approximate disk speed in K RPM
INTEGER NOT NULL
diskspeed
The state of the PD.
VARCHAR(32) NOT NULL
state
The WWN of the PD.
CHAR(16) NOT NULL
wwn
Number of normal chunklets that are used in LDs.
INTEGER NOT NULL
NRM_USED_OK
198
Database Schema