CREATE TABLE ChannelUsage
(
    ts BIGINT UNSIGNED DEFAULT NULL,
    Node BIGINT UNSIGNED DEFAULT NULL,
    Exchange CHAR(6) DEFAULT NULL,
    Channels INT UNSIGNED DEFAULT NULL,
    UNIQUE KEY ( ts,Node,Exchange ),
    KEY ( Node,ts )

) ENGINE=INNODB CHARSET=UTF8;
