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 ( ...')
 
m
Line 1: Line 1:
 
This table on each clustered database tracks users on that cluster.
 
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 13: Line 13:
 
</source>
 
</source>
  
=Relationships=
+
= Relationships =
 +
 
 
Foreign key userid to [[Database Table: user|user]].userid
 
Foreign key userid to [[Database Table: user|user]].userid
=Location=
+
 
 +
= Location =
 +
 
 
[[Clustered database]]
 
[[Clustered database]]
 +
 +
[[Category: Database Table|clustertrack2]]

Revision as of 16:13, 30 March 2009

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

Foreign key userid to user.userid

Location

Clustered database