Columns
Column | Type | Size | Nulls | Auto | Default | Children | Parents | Comments | ||
---|---|---|---|---|---|---|---|---|---|---|
id | serial | 10 | √ | nextval('zone.device_attribute_id_seq'::regclass) |
|
|
Unique identifier for device_attribute record |
|||
zone_id | int4 | 10 | null |
|
|
Zone Id of a device_attribute record. It maps to zone.id column |
||||
device_id | int4 | 10 | null |
|
|
Id of a device this attribute belongs to. It maps to device.id |
||||
attributetype_id | int4 | 10 | null |
|
|
Id that denotes what type of attribute this record indicates. It maps to system.attributetype.id column. Example values for attributetypes - cifsName, sysDescr, serialNumber. |
||||
attribute_id | int4 | 10 | √ | null |
|
|
Id of attribute this mapping represents. It maps to zone.attribute.id |
|||
attribute_cidr_id | int4 | 10 | √ | null |
|
|
Id of CIDR that represents device_attribute record. It is mainly populated for ASName attributetype but can be used for any attribute that would contain a cidr. It maps to system.attribute_cidr.id |
|||
last_update | timestamptz | 35,6 | √ | now() |
|
|
The most recent time when a device has responded with given attribute. It gets updated with curren timestamp everytime device response is received for an attribute. |
Table contained 0 rows
Indexes
Constraint Name | Type | Sort | Column(s) |
---|---|---|---|
pk_devattr | Primary key | Asc | id |
idx_device_attribute_attribute_id | Performance | Asc | attribute_id |
idx_device_attribute_attributetype_id | Performance | Asc | attributetype_id |
idx_device_attribute_device_id | Performance | Asc | device_id |
idx_device_attribute_devtype | Performance | Asc/Asc | device_id + attributetype_id |
uk_devattr | Must be unique | Asc/Asc/Asc/Asc | zone_id + device_id + attributetype_id + attribute_id |