Difference between revisions of "Database Table: clustertrack2"

From Dreamwidth Notes
Jump to: navigation, search
m
m (Robot: Converting database table to use semantic mediawiki form.)
Line 1: Line 1:
{{#set:name=clustertrack2|table type=clustered}}
+
{{Database Table|name=clustertrack2|table type=clustered}}
 
[[Description::This table on each clustered database tracks users on that cluster.]]
 
[[Description::This table on each clustered database tracks users on that cluster.]]
 
= Definition =
 
= Definition =

Revision as of 11:24, 27 January 2010

"{{{repo}}}" is not in the list of possible values (dw-free, dw-nonfree) for this property. This is a clustered table. This table on each clustered database tracks users on that cluster.

Definition

CREATE TABLE clustertrack2 (
    userid INT UNSIGNED NOT NULL,
    PRIMARY KEY (userid),
    timeactive INT UNSIGNED NOT NULL,
    clusterid SMALLINT UNSIGNED,
    INDEX (timeactive, clusterid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid