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

From dbscript Online Help
Jump to: navigation, search
 
(One intermediate revision 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.inventory
 
| public.inventory
|-
 
 
|}
 
|}
  
 
+
=== 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"
|-
 
 
| nodeid
 
| nodeid
 
| integer
 
| integer
Line 24: Line 22:
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_idxinventory_nodeid_name_idx
+
|- valign="top"
|-
 
 
| name
 
| name
 
| varchar(30)
 
| varchar(30)
Line 31: Line 28:
 
|  
 
|  
 
|  
 
|  
| inventory_nodeid_name_idx
+
|- valign="top"
|-
 
 
| createtime
 
| createtime
 
| timestamp without time zone
 
| timestamp without time zone
Line 38: Line 34:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| lastpolltime
 
| lastpolltime
 
| timestamp without time zone
 
| timestamp without time zone
Line 45: Line 40:
 
|  
 
|  
 
|  
 
|  
| inventory_lastpolltime_idx
+
|- valign="top"
|-
 
 
| pathtofile
 
| pathtofile
 
| varchar(256)
 
| varchar(256)
Line 52: Line 46:
 
|  
 
|  
 
|  
 
|  
|
+
|- valign="top"
|-
 
 
| status
 
| status
 
| char(1)
 
| char(1)
Line 59: Line 52:
 
|  
 
|  
 
|  
 
|  
| inventory_status_idx
 
 
|}
 
|}
  
 +
=== Indexes ===
 +
{| border="1" cellpadding="5" cellspacing="0" style="border-collapse:collapse"
 +
|- style="background:silver"
 +
| '''Index
 +
| '''Type
 +
| '''Columns
  
 +
|- valign="top"
 +
| inventory_lastpolltime_idx
 +
|
 +
| lastpolltime
 +
|- valign="top"
 +
| inventory_nodeid_idx
 +
|
 +
| nodeid
 +
|- valign="top"
 +
| inventory_nodeid_name_idx
 +
|
 +
| nodeid, name
 +
|- valign="top"
 +
| inventory_status_idx
 +
|
 +
| status
 +
|}
  
 +
=== 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 69: Line 85:
 
| '''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 23:38, 24 June 2010

wikibot[edit]

Table public.inventory

Columns[edit]

Column Data Type Nullable Default Description
nodeid integer not null
name varchar(30) not null
createtime timestamp without time zone not null
lastpolltime timestamp without time zone not null
pathtofile varchar(256) not null
status char(1) not null

Indexes[edit]

Index Type Columns
inventory_lastpolltime_idx lastpolltime
inventory_nodeid_idx nodeid
inventory_nodeid_name_idx nodeid, name
inventory_status_idx status

Foreign Keys[edit]

Relation Column Referenced Column
public.node nodeid nodeid