Query 11244563016806378505

First Seen: 2012-04-10 14:28:45
Last Seen: 2012-04-10 14:28:45

Fingerprint
create table `city` ( `id` int(?) not ? auto_increment, `name` char(?) not ? default ?, `countrycode` char(?) not ? default ?, `district` char(?) not ? default ?, `population` int(?) not ? default ?, primary key (`id`), key `countrycode` (`countrycode`), constraint `city_ibfk_?` foreign key (`countrycode`) references `country` (`code`) ) engine=innodb auto_increment=? default charset=latin?

Last Sample on host mysql.geoffreyanderson.net at 2012-04-10 14:28:45
CREATE TABLE `City` (
  `ID` int(11) NOT NULL AUTO_INCREMENT,
  `Name` char(35) NOT NULL DEFAULT '',
  `CountryCode` char(3) NOT NULL DEFAULT '',
  `District` char(20) NOT NULL DEFAULT '',
  `Population` int(11) NOT NULL DEFAULT '0',
  PRIMARY KEY (`ID`),
  KEY `CountryCode` (`CountryCode`),
  CONSTRAINT `city_ibfk_1` FOREIGN KEY (`CountryCode`) REFERENCES `Country` (`Code`)
) ENGINE=InnoDB AUTO_INCREMENT=4080 DEFAULT CHARSET=latin1
comments
Status:

Reviewed By:

90 Day History

Show Raw SQL Permalink
SELECT DATE(ts_min) AS `date`,
  ROUND(SUM(Rows_examined_sum)/SUM(rows_sent_sum),2) AS `index_ratio`,
  SUM(Query_time_sum) / SUM(ts_cnt) AS `query_time_avg`,
  ROUND(SUM(Rows_sent_sum)/SUM(ts_cnt),0) AS `rows_sent_avg`,
  SUM(ts_cnt) AS `ts_cnt`,
  SUM(Query_time_sum) AS `Query_time_sum`,
  SUM(Lock_time_sum) AS `Lock_time_sum`,
  SUM(Rows_sent_sum) AS `Rows_sent_sum`,
  SUM(Rows_examined_sum) AS `Rows_examined_sum`,
  SUM(Tmp_table_sum) AS `Tmp_table_sum`,
  SUM(Filesort_sum) AS `Filesort_sum`,
  SUM(Full_scan_sum) AS `Full_scan_sum`
 FROM `global_query_review` AS `fact` 
 JOIN `global_query_review_history` AS `dimension` USING (`checksum`) 
 WHERE checksum = "11244563016806378505"
  AND dimension.ts_min >= "2026-02-23 17:36:51"
  AND dimension.ts_min <= "2026-05-24 17:36:51"
 GROUP BY date 
 ORDER BY date DESC 
 LIMIT 90 
date index_ratio query_time_avg rows_sent_avg ts_cnt Query_time_sum Lock_time_sum Rows_sent_sum Rows_examined_sum Tmp_table_sum Filesort_sum Full_scan_sum