Database Table: clustertrack2

From Dreamwidth Notes
Revision as of 15:59, 22 July 2010 by Exor674Bot (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

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