Difference between revisions of "Public.atinterface (table)"

From dbscript Online Help
Jump to: navigation, search
Line 9: Line 9:
  
  
 +
=== Columns ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"
Line 15: Line 16:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
 
 
 
 
|-
 
|-
Line 23: Line 23:
 
| not null
 
| not null
 
| nextval('opennmsnxtid'::regclass)
 
| nextval('opennmsnxtid'::regclass)
|
 
 
|  
 
|  
 
|-
 
|-
Line 30: Line 29:
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_nodeid_idxatinterface_node_ipaddr_idx
 
 
|-
 
|-
 
| ipaddr
 
| ipaddr
Line 37: Line 35:
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_node_ipaddr_idx
 
 
|-
 
|-
 
| atphysaddr
 
| atphysaddr
Line 44: Line 41:
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_atphysaddr_idx
 
 
|-
 
|-
 
| status
 
| status
 
| char(1)
 
| char(1)
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 57: Line 52:
 
| integer
 
| integer
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 64: Line 58:
 
| integer
 
| integer
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 71: Line 64:
 
| timestamp without time zone
 
| timestamp without time zone
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 +
| pk_atinterface
 +
| nodeid, ipaddr, atphysaddr
 +
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| atinterface_nodeid_idx
 +
|
 +
| nodeid
 +
|-
 +
| atinterface_atphysaddr_idx
 +
|
 +
| atphysaddr
 +
|-
 +
| atinterface_node_ipaddr_idx
 +
|
 +
| nodeid, ipaddr
 +
|}
  
 +
=== Foreign Keys ===
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
|- style="background:silver"
 
|- style="background:silver"

Revision as of 09:31, 11 February 2010

wikibot

Table public.atinterface


Columns

Column Data Type Nullable Default Description
id integer not null nextval('opennmsnxtid'::regclass)
nodeid integer not null
ipaddr varchar(16) not null
atphysaddr varchar(12) not null
status char(1) not null
sourcenodeid integer not null
ifindex integer not null
lastpolltime timestamp without time zone not null

Primary Key

Primary Key Columns
pk_atinterface nodeid, ipaddr, atphysaddr

Indexes

Index Type Columns
atinterface_nodeid_idx nodeid
atinterface_atphysaddr_idx atphysaddr
atinterface_node_ipaddr_idx nodeid, ipaddr

Foreign Keys

Relation Column Referenced Column
public.node nodeid nodeid