# Class CIM_DatabaseSegment
extends CIM_StorageExtent

A database segment is a logical storage entity that is composed of one or more storage extents, each of which can have one or more database blocks. Database segments have various types depending on their purpose. Note that the order of extents within a DatabaseSegment should be represented in the BasedOn dependency of CIM_StorageExtent using the BasedOn.OrderIndex attribute.

### Table of Contents
Hierarchy
Direct Known Subclasses
Class Qualifiers
Class Properties
Class Methods

## Class Hierarchy

CIM_ManagedElement
|
+--CIM_ManagedSystemElement
|
+--CIM_LogicalElement
|
+--CIM_EnabledLogicalElement
|
+--CIM_LogicalDevice
|
+--CIM_StorageExtent
|
+--CIM_DatabaseSegment

## Direct Known Subclasses

## Class Qualifiers

Name | Data Type | Value
--- | --- | ---
Description | string | A database segment is a logical storage entity that is composed of one or more storage extents, each of which can have one or more database blocks. Database segments have various types depending on their purpose. Note that the order of extents within a DatabaseSegment should be represented in the BasedOn dependency of CIM_StorageExtent using the BasedOn.OrderIndex attribute.
UMLPackagePath | string | CIM::Database::Storage
Version | string | 2.8.0

## Class Properties

### Local Class Properties

Name | Data Type | Default Value | Qualifiers
--- | --- | --- | ---
Name | Data Type | Value
OtherPurpose | string |
Description | string | The purpose of this segment when the Purpose attribute has a value of "Other". This attribute should be null in all other cases.
ModelCorrespondence | string | CIM_DatabaseSegment.Purpose
Purpose | string |
Description | string | The purpose of this segment within the context of the database. A value of "Data" indicates that this segment contains data for database area. A value of "Data Partition" indicates that this segment contains a portion of a partitioned data area. A value of "Data Cluster" indicates that this segment contains a portion of a clustered database area. A value of "Index" indicates that this segment contains index information. A value of "Index Partition" indicates that this segment contains a portion of a partitioned index. A value of "LOB" indicates that this segment is used to hold large objects such as Binary Large Object (BLOB) or Character Large Object (CLOB) entities. A value of "LOB Index" indicates that this segment is used to hold index information relevant to a "LOB" segment. A value of "Undo" indicates that this segment contains undo or rollback information that might be used to reverse operations that are applied to a database. A value of "Snapshot" indicates that this segment is used to represent a portion of the database at a previous point-in-time. A value of "Temp" indicates that this segment is used as temporary space for database operations. A value of "Other" indicates that the segment is used for something other than any of the listed purposes and requires further description in the OtherPurpose attribute. Using a value of "Other" would generally indicate a need to extend the model to include an additional purpose.
MappingStrings | string | MIB.IETF|HOST-RESOURCES-MIB.hrStorageDescr
ModelCorrespondence | string | CIM_DatabaseSegment.OtherPurpose
Override | string | Purpose
ValueMap | string | 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11
Values | string | Other, Data, Data Partition, Data Cluster, Index, Index Partition, LOB, LOB Index, Undo, Snapshot, Temp

### Inherited Properties

Name | Data Type | Class Origin
--- | --- | ---
Access | uint16 | CIM_StorageExtent
Availability | uint16 | CIM_LogicalDevice
BlockSize | uint64 | CIM_StorageExtent
Caption | string | CIM_ManagedElement
CommunicationStatus | uint16 | CIM_ManagedSystemElement
ConsumableBlocks | uint64 | CIM_StorageExtent
CreationClassName | string | CIM_LogicalDevice
DataOrganization | uint16 | CIM_StorageExtent
DataRedundancy | uint16 | CIM_StorageExtent
DeltaReservation | uint8 | CIM_StorageExtent
Description | string | CIM_ManagedElement
DetailedStatus | uint16 | CIM_ManagedSystemElement
DeviceID | string | CIM_LogicalDevice
ElementName | string | CIM_ManagedElement
EnabledDefault | uint16 | CIM_EnabledLogicalElement
EnabledState | uint16 | CIM_EnabledLogicalElement
ErrorCleared | boolean | CIM_LogicalDevice
ErrorDescription | string | CIM_LogicalDevice
ErrorMethodology | string | CIM_StorageExtent
HealthState | uint16 | CIM_ManagedSystemElement
InstallDate | datetime | CIM_ManagedSystemElement
InstanceID | string | CIM_ManagedElement
IsBasedOnUnderlyingRedundancy | boolean | CIM_StorageExtent
LastErrorCode | uint32 | CIM_LogicalDevice
MaxQuiesceTime | uint64 | CIM_LogicalDevice
Name | string | CIM_StorageExtent
NameFormat | uint16 | CIM_StorageExtent
NameNamespace | uint16 | CIM_StorageExtent
NoSinglePointOfFailure | boolean | CIM_StorageExtent
NumberOfBlocks | uint64 | CIM_StorageExtent
OperatingStatus | uint16 | CIM_ManagedSystemElement
OtherEnabledState | string | CIM_EnabledLogicalElement
OtherNameFormat | string | CIM_StorageExtent
OtherNameNamespace | string | CIM_StorageExtent
PackageRedundancy | uint16 | CIM_StorageExtent
PowerManagementSupported | boolean | CIM_LogicalDevice
PowerOnHours | uint64 | CIM_LogicalDevice
PrimaryStatus | uint16 | CIM_ManagedSystemElement
Primordial | boolean | CIM_StorageExtent
RequestedState | uint16 | CIM_EnabledLogicalElement
SequentialAccess | boolean | CIM_StorageExtent
Status | string | CIM_ManagedSystemElement
StatusInfo | uint16 | CIM_LogicalDevice
SystemCreationClassName | string | CIM_LogicalDevice
SystemName | string | CIM_LogicalDevice
TimeOfLastStateChange | datetime | CIM_EnabledLogicalElement
TotalPowerOnHours | uint64 | CIM_LogicalDevice
TransitioningToState | uint16 | CIM_EnabledLogicalElement
AdditionalAvailability | uint16[] | CIM_LogicalDevice
AvailableRequestedStates | uint16[] | CIM_EnabledLogicalElement
ExtentStatus | uint16[] | CIM_StorageExtent
IdentifyingDescriptions | string[] | CIM_LogicalDevice
OperationalStatus | uint16[] | CIM_ManagedSystemElement
OtherIdentifyingInfo | string[] | CIM_LogicalDevice
PowerManagementCapabilities | uint16[] | CIM_LogicalDevice
StatusDescriptions | string[] | CIM_ManagedSystemElement

## Class Methods

### Inherited Class Methods

Name | Return Type | Class Origin
--- | --- | ---
EnableDevice | uint32 | CIM_LogicalDevice
OnlineDevice | uint32 | CIM_LogicalDevice
QuiesceDevice | uint32 | CIM_LogicalDevice
RequestStateChange | uint32 | CIM_EnabledLogicalElement
Reset | uint32 | CIM_LogicalDevice
RestoreProperties | uint32 | CIM_LogicalDevice
SaveProperties | uint32 | CIM_LogicalDevice
SetPowerState | uint32 | CIM_LogicalDevice