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

From dbscript Online Help
Jump to: navigation, search
 
(2 intermediate revisions by the same user not shown)
Line 2: Line 2:
  
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
|-
+
|- valign="top"
 
| '''Table
 
| '''Table
 
| public.atinterface
 
| public.atinterface
|-
 
 
|}
 
|}
  
 
+
=== 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 14:
 
| '''Nullable
 
| '''Nullable
 
| '''Default
 
| '''Default
| '''PK
+
| '''Description
| '''Index
+
 
+
|- valign="top"
|-
 
 
| id
 
| id
 
| integer
 
| integer
 
| not null
 
| not null
| nextval('opennmsnxtid'::regclass)
 
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| nodeid
 
| nodeid
 
| integer
 
| integer
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_nodeid_idxatinterface_node_ipaddr_idx
+
|- valign="top"
|-
 
 
| ipaddr
 
| ipaddr
 
| varchar(16)
 
| varchar(16)
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_node_ipaddr_idx
+
|- valign="top"
|-
 
 
| atphysaddr
 
| atphysaddr
 
| varchar(12)
 
| varchar(12)
 
| not null
 
| not null
 
|  
 
|  
| pk_atinterface
+
|  
| atinterface_atphysaddr_idx
+
|- valign="top"
|-
 
 
| status
 
| status
 
| char(1)
 
| char(1)
Line 52: Line 46:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| sourcenodeid
 
| sourcenodeid
 
| integer
 
| integer
Line 59: Line 52:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| ifindex
 
| ifindex
 
| integer
 
| integer
Line 66: Line 58:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| lastpolltime
 
| lastpolltime
 
| timestamp without time zone
 
| timestamp without time zone
Line 73: Line 64:
 
|  
 
|  
 
|  
 
|  
|
 
 
|}
 
|}
  
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|- valign="top"
 +
| pk_atinterface
 +
| nodeid, ipaddr, atphysaddr
 +
|}
 +
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
  
 +
|- valign="top"
 +
| atinterface_atphysaddr_idx
 +
|
 +
| atphysaddr
 +
|- valign="top"
 +
| atinterface_node_ipaddr_idx
 +
|
 +
| nodeid, ipaddr
 +
|- valign="top"
 +
| atinterface_nodeid_idx
 +
|
 +
| nodeid
 +
|}
  
 +
=== 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"
Line 83: Line 103:
 
| '''Column
 
| '''Column
 
| '''Referenced Column
 
| '''Referenced Column
+
 
|-
+
|- valign="top"
 
| [[public.node_(table)|public.node]]
 
| [[public.node_(table)|public.node]]
 
| nodeid
 
| nodeid
 
| nodeid
 
| nodeid
 
|}
 
|}

Latest revision as of 11:09, 27 August 2011

wikibot[edit]

Table public.atinterface

Columns[edit]

Column Data Type Nullable Default Description
id integer not null
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[edit]

Primary Key Columns
pk_atinterface nodeid, ipaddr, atphysaddr

Indexes[edit]

Index Type Columns
atinterface_atphysaddr_idx atphysaddr
atinterface_node_ipaddr_idx nodeid, ipaddr
atinterface_nodeid_idx nodeid

Foreign Keys[edit]

Relation Column Referenced Column
public.node nodeid nodeid