Difference between revisions of "Public.stpinterface (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
 
|  
 
|  
| pk_stpinterface
+
|  
| stpinterface_node_idxstpinterface_node_ifindex_idx
 
 
|-
 
|-
 
| bridgeport
 
| bridgeport
Line 30: Line 29:
 
| not null
 
| not null
 
|  
 
|  
| pk_stpinterface
 
 
|  
 
|  
 
|-
 
|-
Line 38: Line 36:
 
|  
 
|  
 
|  
 
|  
| stpinterface_node_ifindex_idx
 
 
|-
 
|-
 
| stpportstate
 
| stpportstate
 
| integer
 
| integer
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 50: Line 46:
 
| integer
 
| integer
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 57: Line 52:
 
| varchar(16)
 
| varchar(16)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 64: Line 58:
 
| integer
 
| integer
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 73: Line 66:
 
|  
 
|  
 
|  
 
|  
| stpinterface_stpdesbridge_idx
 
 
|-
 
|-
 
| stpportdesignatedport
 
| stpportdesignatedport
 
| varchar(4)
 
| varchar(4)
 
| null
 
| null
|
 
 
|  
 
|  
 
|  
 
|  
Line 85: Line 76:
 
| char(1)
 
| char(1)
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 92: Line 82:
 
| timestamp without time zone
 
| timestamp without time zone
 
| not null
 
| not null
|
 
 
|  
 
|  
 
|  
 
|  
Line 100: Line 89:
 
| not null
 
| not null
 
|  
 
|  
 +
|
 +
|}
 +
 +
=== Primary Key ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Primary Key
 +
| '''Columns
 +
|-
 
| pk_stpinterface
 
| pk_stpinterface
 +
| nodeid, bridgeport, stpvlan
 +
|}
 +
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
 +
 +
|-
 +
| stpinterface_node_idx
 +
|
 +
| nodeid
 +
|-
 +
| stpinterface_node_ifindex_idx
 +
|
 +
| nodeid, ifindex
 +
|-
 +
| stpinterface_stpdesbridge_idx
 +
|
 +
| stpportdesignatedbridge
 +
|-
 
| stpinterface_stpvlan_idx
 
| stpinterface_stpvlan_idx
 +
|
 +
| stpvlan
 
|}
 
|}
  
 
+
=== 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 08:33, 11 February 2010

wikibot

Table public.stpinterface


Columns

Column Data Type Nullable Default Description
nodeid integer not null
bridgeport integer not null
ifindex integer not null
stpportstate integer null
stpportpathcost integer null
stpportdesignatedroot varchar(16) null
stpportdesignatedcost integer null
stpportdesignatedbridge varchar(16) null
stpportdesignatedport varchar(4) null
status char(1) not null
lastpolltime timestamp without time zone not null
stpvlan integer not null

Primary Key

Primary Key Columns
pk_stpinterface nodeid, bridgeport, stpvlan

Indexes

Index Type Columns
stpinterface_node_idx nodeid
stpinterface_node_ifindex_idx nodeid, ifindex
stpinterface_stpdesbridge_idx stpportdesignatedbridge
stpinterface_stpvlan_idx stpvlan

Foreign Keys

Relation Column Referenced Column
public.node nodeid nodeid