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

From dbscript Online Help
Jump to: navigation, search
(New page: == wikibot == {| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse" |- | '''Table | public.atinterface |- |} {| border="1" cellpadding="5" cellspacing="0" style...)
 
 
(3 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
 
| not null
 
| not null
| nextval('opennmsnxtid'::regclass)
 
 
|  
 
|  
 
|  
 
|  
|-
+
|- valign="top"
 
| nodeid
 
| nodeid
 +
| integer
 +
| not null
 
|  
 
|  
| not null
 
 
|  
 
|  
| pk_atinterface
+
|- valign="top"
| atinterface_nodeid_idxatinterface_node_ipaddr_idx
 
|-
 
 
| ipaddr
 
| ipaddr
 +
| varchar(16)
 +
| not null
 
|  
 
|  
| not null
 
 
|  
 
|  
| pk_atinterface
+
|- valign="top"
| atinterface_node_ipaddr_idx
 
|-
 
 
| atphysaddr
 
| atphysaddr
 +
| varchar(12)
 +
| not null
 
|  
 
|  
| not null
 
 
|  
 
|  
| pk_atinterface
+
|- valign="top"
| atinterface_atphysaddr_idx
 
|-
 
 
| status
 
| status
|  
+
| char(1)
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| sourcenodeid
 
| sourcenodeid
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| ifindex
 
| ifindex
|  
+
| integer
 
| not null
 
| not null
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| lastpolltime
 
| lastpolltime
|  
+
| 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
 +
|- 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