 
 -- Create the historical query review table
 CREATE TABLE `global_query_review_history` (
+  `hostname` varchar(64) NOT NULL,
+  `hostname_max` varchar(64) NOT NULL,
   `checksum` bigint(20) unsigned NOT NULL,
   `sample` text NOT NULL,
   `ts_min` datetime NOT NULL DEFAULT '0000-00-00 00:00:00',

  UNIQUE KEY `hostname_max` (`hostname_max`,`checksum`,`ts_min`,`ts_max`),
  KEY `ts_min` (`ts_min`),
  KEY `checksum` (`checksum`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;

  `InnoDB_IO_r_ops_median` float DEFAULT NULL,
  `InnoDB_IO_r_bytes_min` float DEFAULT NULL,
  `InnoDB_IO_r_bytes_max` float DEFAULT NULL,
  `InnoDB_IO_r_wait_stddev` float DEFAULT NULL,
  `InnoDB_IO_r_wait_median` float DEFAULT NULL,
  `InnoDB_rec_lock_wait_min` float DEFAULT NULL,
