Difference between revisions of "Database Table: clustertrack2"

From Dreamwidth Notes
Jump to: navigation, search
(Created page with 'This table on each clustered database tracks users on that cluster. clustertrack2 =Definition= <source lang="sql"> CREATE TABLE clustertrack2 ( ...')
 
(Robot: Updating: Format)
 
(9 intermediate revisions by 3 users not shown)
Line 1: Line 1:
This table on each clustered database tracks users on that cluster.
+
{{Database Table|name=clustertrack2|table type=clustered|repo=dw-free}}
 
+
[[Description::This table on each clustered database tracks users on that cluster.]]
[[Category: Database Table|clustertrack2]]
+
= Definition =
=Definition=
+
 
<source lang="sql">
 
<source lang="sql">
 
CREATE TABLE clustertrack2 (
 
CREATE TABLE clustertrack2 (
Line 9: Line 8:
 
     timeactive INT UNSIGNED NOT NULL,
 
     timeactive INT UNSIGNED NOT NULL,
 
     clusterid SMALLINT UNSIGNED,
 
     clusterid SMALLINT UNSIGNED,
 +
    accountlevel SMALLINT UNSIGNED,
 +
    journaltype char(1),
 +
 
     INDEX (timeactive, clusterid)
 
     INDEX (timeactive, clusterid)
 
)
 
)
 
</source>
 
</source>
 
+
{{Database Table Footer}}
=Relationships=
+
Foreign key userid to [[Database Table: user|user]].userid
+
=Location=
+
[[Clustered database]]
+

Latest revision as of 15:59, 22 July 2010

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,
    accountlevel SMALLINT UNSIGNED,
    journaltype CHAR(1),
 
    INDEX (timeactive, clusterid)
)

Relationships

Outgoing

  • Foreign key: userid to user.userid