Add lib/, t/lib/, and sandbox/. All modules are updated and passing on MySQL 5.1.

This commit is contained in:
Daniel Nichter
2011-06-24 11:22:06 -06:00
parent 01e0175ad9
commit 6c501128e6
567 changed files with 335952 additions and 0 deletions

View File

@@ -0,0 +1,40 @@
# Overall: 1 total, 1 unique, 0 QPS, 0x concurrency ______________________
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 1s 1s 1s 1s 1s 0 1s
# Lock time 1ms 1ms 1ms 1ms 1ms 0 1ms
# Query 1: 0 QPS, 0x concurrency, ID 0x5796997451B1FA1D at byte 123 ______
# Scores: Apdex = 1.00 [1.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 1s 1s 1s 1s 1s 0 1s
# Lock time 100 1ms 1ms 1ms 1ms 1ms 0 1ms
# String:
# cmd Query
# Databases foodb
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
# Tables
# SHOW TABLE STATUS FROM `foodb` LIKE 'tbl'\G
# SHOW CREATE TABLE `foodb`.`tbl`\G
# CRC 926
# EXPLAIN /*!50100 PARTITIONS*/
select col from tbl where id=42\G
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============= ===== ====== ==== ===== ==========
# 1 0x5796997451B1FA1D 1.0007 100.0% 1 1.0007 1.00 0.00 SELECT tbl

View File

@@ -0,0 +1,67 @@
# Query 1: 0 QPS, 0x concurrency, ID 0x3F79759E7FA2F117 at byte 1106 _____
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2009-12-08 09:23:49.637892
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 50 1
# Exec time 99 30ms 30ms 30ms 30ms 30ms 0 30ms
# Query size 51 37 37 37 37 37 0 37
# Statement id 50 2 2 2 2 2 0 2
# Warning coun 0 0 0 0 0 0 0 0
# String:
# cmd Query
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms ################################################################
# 100ms
# 1s
# 10s+
# Tables
# SHOW TABLE STATUS FROM `d` LIKE 't'\G
# SHOW CREATE TABLE `d`.`t`\G
# CRC 990
EXECUTE SELECT i FROM d.t WHERE i="3"\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
SELECT i FROM d.t WHERE i="3"\G
# Query 2: 0 QPS, 0x concurrency, ID 0xAA8E9FA785927259 at byte 0 ________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2009-12-08 09:23:49.637394
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 50 1
# Exec time 0 286us 286us 286us 286us 286us 0 286us
# Query size 48 35 35 35 35 35 0 35
# Statement id 50 2 2 2 2 2 0 2
# Warning coun 0 0 0 0 0 0 0 0
# String:
# cmd Query
# Query_time distribution
# 1us
# 10us
# 100us ################################################################
# 1ms
# 10ms
# 100ms
# 1s
# 10s+
# Tables
# SHOW TABLE STATUS FROM `d` LIKE 't'\G
# SHOW CREATE TABLE `d`.`t`\G
# CRC 348
PREPARE SELECT i FROM d.t WHERE i=?\G
# Converted for EXPLAIN
# EXPLAIN /*!50100 PARTITIONS*/
SELECT i FROM d.t WHERE i=?\G
# Prepared statements
# Rank Query ID PREP PREP Response EXEC EXEC Response Item
# ==== ================== ==== ============= ==== ============= ==========
# 1 0x3F79759E7FA2F117 0 0.0003 0.9% 1 0.0303 99.1% SELECT d.t

View File

@@ -0,0 +1,40 @@
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============= ===== ====== ==== ===== ==========
# 1 0x5796997451B1FA1D 1.0007 100.0% 1 1.0007 1.00 0.00 SELECT tbl
# Query 1: 0 QPS, 0x concurrency, ID 0x5796997451B1FA1D at byte 123 ______
# Scores: Apdex = 1.00 [1.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 1s 1s 1s 1s 1s 0 1s
# Lock time 100 1ms 1ms 1ms 1ms 1ms 0 1ms
# String:
# cmd Query
# Databases foodb
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+
# Tables
# SHOW TABLE STATUS FROM `foodb` LIKE 'tbl'\G
# SHOW CREATE TABLE `foodb`.`tbl`\G
# CRC 926
# EXPLAIN /*!50100 PARTITIONS*/
select col from tbl where id=42\G
# Overall: 1 total, 1 unique, 0 QPS, 0x concurrency ______________________
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 1s 1s 1s 1s 1s 0 1s
# Lock time 1ms 1ms 1ms 1ms 1ms 0 1ms

View File

@@ -0,0 +1,6 @@
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============= ===== ====== ==== ===== ==========
# 1 0xAECF4CA2310AC9E2 1.0303 97.1% 1 1.0303 NS 0.00 UPDATE foo
# MISC 0xMISC 0.0306 2.9% 2 0.0153 NS 0.0 <2 ITEMS>

View File

@@ -0,0 +1,5 @@
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M Item
# ==== ================== ============== ===== ====== ==== ===== ========
# 1 0xCB5621E548E5497F 17.5000 100.0% 4 4.3750 NS 2.23 SELECT t

View File

@@ -0,0 +1,8 @@
# Overall: 3 total, 2 unique, 3 QPS, 10.00x concurrency __________________
# Time range: 2007-10-15 21:43:52 to 21:43:53
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 10s 1s 8s 3s 8s 3s 992ms
# Lock time 455us 109us 201us 151us 194us 35us 144us
# Rows sent 2 0 1 0.67 0.99 0.47 0.99
# Rows examine 3 0 2 1 1.96 0.80 0.99

View File

@@ -0,0 +1,14 @@
# Query 1: 2 QPS, 9.00x concurrency, ID 0x82860EDA9A88FCC5 at byte 1 _____
# This item is included in the report because it matches --limit.
# Scores: Apdex = 0.50 [1.0]*, V/M = 5.44
# Time range: 2007-10-15 21:43:52 to 21:43:53
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 66 2
# Exec time 89 9s 1s 8s 5s 8s 5s 5s
# Lock time 68 310us 109us 201us 155us 201us 65us 155us
# Rows sent 100 2 1 1 1 1 0 1
# Rows examine 100 3 1 2 1.50 2 0.71 1.50
# String:
# Databases test1 (1/50%), test3 (1/50%)
# Users bob (1/50%), root (1/50%)

View File

@@ -0,0 +1,9 @@
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s ################################################################
# 10s+

View File

@@ -0,0 +1,11 @@
# Query 1: 0 QPS, 0x concurrency, ID 0x5D51E5F01B88B79E at byte 0 ________
# This item is included in the report because it matches --limit.
# Scores: Apdex = 1.00 [1.0]*, V/M = 0.00
# Time range: all events occurred at 2009-04-12 11:00:13.118191
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 0 0 0 0 0 0 0 0
# String:
# Databases mysql
# Users msandbox

View File

@@ -0,0 +1,10 @@
# Query 1: 0 QPS, 0x concurrency, ID 0x82860EDA9A88FCC5 at byte 0 ________
# This item is included in the report because it matches --limit.
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 1s 1s 1s 1s 1s 0 1s
# String:
# foo Hi. I'm a very long string. I'm way over t...

View File

@@ -0,0 +1,10 @@
# Query 1: 0.67 QPS, 1x concurrency, ID 0x82860EDA9A88FCC5 at byte 0 _____
# This item is included in the report because it matches --limit.
# Scores: Apdex = NS [0.0]*, V/M = 0.33
# Time range: 2007-10-15 21:43:52 to 21:43:55
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 2
# Exec time 100 3s 1s 2s 2s 2s 707ms 2s
# String:
# foo Hi. I'm a... (1/50%), Me too! I'... (1/50%)

View File

@@ -0,0 +1,10 @@
# Query 1: 1 QPS, 2x concurrency, ID 0x82860EDA9A88FCC5 at byte 0 ________
# This item is included in the report because it matches --limit.
# Scores: Apdex = NS [0.0]*, V/M = 0.30
# Time range: 2007-10-15 21:43:52 to 21:43:55
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 3
# Exec time 100 6s 1s 3s 2s 3s 780ms 2s
# String:
# foo Hi. I'm a... (1/33%), Me too! I'... (1/33%)... 1 more

View File

@@ -0,0 +1,8 @@
# Item 1: 0 QPS, 0x concurrency, ID 0xEDEF654FCCC4A4D8 at byte 0 _________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 2
# Exec time 100 16s 8s 8s 8s 8s 0 8s
# String:
# Hosts 123.123.123.456 (1/50%)... 1 more

View File

@@ -0,0 +1,8 @@
# Item 1: 0 QPS, 0x concurrency, ID 0xEDEF654FCCC4A4D8 at byte 0 _________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 3
# Exec time 100 24s 8s 8s 8s 8s 0 8s
# String:
# Hosts 123.123.123.456 (1/33%)... 2 more

View File

@@ -0,0 +1,9 @@
# Item 1: 0 QPS, 0x concurrency, ID 0xEDEF654FCCC4A4D8 at byte 0 _________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 3
# Exec time 100 24s 8s 8s 8s 8s 0 8s
# String:
# Hosts 123.123.123.456 (1/33%), 123.123.123.789 (1/33%), 123.123.123.999 (1/33%)

View File

@@ -0,0 +1,11 @@
# Item 1: 0 QPS, 0x concurrency, ID 0xEDEF654FCCC4A4D8 at byte 0 _________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Query_time sparkline: | ^ |
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 8s 8s 8s 8s 8s 0 8s
# InnoDB:
# IO r wait 100 2ms 2ms 2ms 2ms 2ms 0 2ms
# queue wait 100 3ms 3ms 3ms 3ms 3ms 0 3ms
# rec lock wai 100 1ms 1ms 1ms 1ms 1ms 0 1ms

View File

@@ -0,0 +1,12 @@
# Query 1: 2 QPS, 9.00x concurrency, ID 0x82860EDA9A88FCC5 at byte 1 ___________
# This item is included in the report because it matches --limit.
# Attribute pct total min max avg 95% stddev median
# =============== ====== ======= ======= ======= ======= ======= ======= =======
# Count 66 2
# Exec time 89 9s 1s 8s 5s 8s 5s 5s
# Lock time 68 310us 109us 201us 155us 201us 65us 155us
# Rows sent 100 2 1 1 1 1 0 1
# Rows examined 100 3 1 2 1.50 2 0.71 1.50
# Users 2 bob (1), root (1)
# Databases 2 test1 (1), test3 (1)
# Time range 2007-10-15 21:43:52 to 2007-10-15 21:43:53

View File

@@ -0,0 +1,5 @@
# Overall: 1 total, 1 unique, 0 QPS, 0x concurrency ______________________
# Time range: all events occurred at 2009-04-12 11:00:13.118191
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 0 0 0 0 0 0 0

View File

@@ -0,0 +1,9 @@
# Query_time distribution
# 1us
# 10us
# 100us
# 1ms
# 10ms
# 100ms
# 1s
# 10s+

View File

@@ -0,0 +1,12 @@
# Overall: 3 total, 1 unique, 3 QPS, 10.00x concurrency __________________
# Time range: 2007-10-15 21:43:52 to 21:43:53
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 10s 1s 8s 3s 8s 3s 992ms
# Lock time 8ms 2ms 3ms 3ms 3ms 500us 2ms
# InnoDB:
# IO r bytes 7 2 3 2.33 2.90 0.44 1.96
# pages distin 49 11 20 16.33 19.46 3.71 17.65
# Boolean:
# Filesort 100% yes, 0% no
# QC Hit 66% yes, 33% no

View File

@@ -0,0 +1,8 @@
# Overall: 3 total, 1 unique, 3 QPS, 10.00x concurrency __________________
# Time range: 2007-10-15 21:43:52 to 21:43:53
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 10s 1s 8s 3s 8s 3s 992ms
# Lock time 8ms 2ms 3ms 3ms 3ms 500us 2ms
# Boolean:
# QC Hit 66% yes, 33% no

View File

@@ -0,0 +1,4 @@
# Overall: 3 total, 1 unique, 0 QPS, 0x concurrency ______________________
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 10s 1s 8s 3s 8s 3s 992ms

View File

@@ -0,0 +1,9 @@
# Overall: 1 total, 1 unique, 0 QPS, 0x concurrency ______________________
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute total min max avg 95% stddev median
# ============ ======= ======= ======= ======= ======= ======= =======
# Exec time 8s 8s 8s 8s 8s 0 8s
# Lock time 2ms 2ms 2ms 2ms 2ms 0 2ms
# InnoDB:
# IO r bytes 2 2 2 2 2 0 2
# pages distin 20 20 20 20 20 0 20

View File

@@ -0,0 +1,11 @@
# Query 0: 0 QPS, 0x concurrency, ID 0x82860EDA9A88FCC5 at byte 0 ________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# Time range: all events occurred at 2007-10-15 21:43:52
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 8s 8s 8s 8s 8s 0 8s
# Lock time 100 2ms 2ms 2ms 2ms 2ms 0 2ms
# InnoDB:
# IO r bytes 100 2 2 2 2 2 0 2
# pages distin 100 20 20 20 20 20 0 20

View File

@@ -0,0 +1,12 @@
# *************************** 1. row ***************************
# id: 1
# select_type: SIMPLE
# table: t
# partitions: NULL
# type: const
# possible_keys: PRIMARY
# key: PRIMARY
# key_len: 4
# ref: const
# rows: 1
# Extra:

View File

@@ -0,0 +1,11 @@
# *************************** 1. row ***************************
# id: 1
# select_type: SIMPLE
# table: t
# type: const
# possible_keys: PRIMARY
# key: PRIMARY
# key_len: 4
# ref: const
# rows: 1
# Extra:

View File

@@ -0,0 +1,58 @@
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M EXPLAIN Item
# ==== ================== ============= ===== ====== ==== ===== ======= =========
# 1 0x46F81B022F1AD76B 0.0003 100.0% 1 0.0003 NS 0.00 TF>aI SELECT t
# MISC 0xMISC 0.0003 100.0% 1 0.0003 NS 0.0 MISC <1 ITEMS>
# Query 1: 0 QPS, 0x concurrency, ID 0x46F81B022F1AD76B at byte 0 ________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# EXPLAIN sparkline: TF>aI
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2009-12-08 09:23:49.637394
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 286us 286us 286us 286us 286us 0 286us
# Query size 100 90 90 90 90 90 0 90
# String:
# cmd Query
# Databases qrf
# Query_time distribution
# 1us
# 10us
# 100us ################################################################
# 1ms
# 10ms
# 100ms
# 1s
# 10s+
# Tables
# SHOW TABLE STATUS FROM `qrf` LIKE 't'\G
# SHOW CREATE TABLE `qrf`.`t`\G
# EXPLAIN /*!50100 PARTITIONS*/
select t1.i from t as t1 join t as t2 where t1.i < t2.i and t1.v is not null order by t1.i\G
# *************************** 1. row ***************************
# id: 1
# select_type: SIMPLE
# table: t1
# partitions: NULL
# type: ALL
# possible_keys: PRIMARY
# key: NULL
# key_len: NULL
# ref: NULL
# rows: 4
# Extra: Using where; Using temporary; Using filesort
# *************************** 2. row ***************************
# id: 1
# select_type: SIMPLE
# table: t2
# partitions: NULL
# type: index
# possible_keys: PRIMARY
# key: PRIMARY
# key_len: 4
# ref: NULL
# rows: 4
# Extra: Using where; Using index; Using join buffer

View File

@@ -0,0 +1,8 @@
# Query 1: 0 QPS, 0x concurrency, ID 0xFDE00DF974C61E9F at byte 0 ________
# This item is included in the report because it matches --limit.
# Scores: Apdex = 0.62 [1.0]*, V/M = 17.71
# Query_time sparkline: |^^ ^^|
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 8
# Exec time 100 66s 3us 30s 8s 29s 12s 3s

View File

@@ -0,0 +1,56 @@
# Profile
# Rank Query ID Response time Calls R/Call Apdx V/M EXPLAIN Item
# ==== ================== ============= ===== ====== ==== ===== ======= =========
# 1 0x46F81B022F1AD76B 0.0003 100.0% 1 0.0003 NS 0.00 TF>aI SELECT t
# MISC 0xMISC 0.0003 100.0% 1 0.0003 NS 0.0 MISC <1 ITEMS>
# Query 1: 0 QPS, 0x concurrency, ID 0x46F81B022F1AD76B at byte 0 ________
# Scores: Apdex = NS [0.0]*, V/M = 0.00
# EXPLAIN sparkline: TF>aI
# Query_time sparkline: | ^ |
# Time range: all events occurred at 2009-12-08 09:23:49.637394
# Attribute pct total min max avg 95% stddev median
# ============ === ======= ======= ======= ======= ======= ======= =======
# Count 100 1
# Exec time 100 286us 286us 286us 286us 286us 0 286us
# Query size 100 90 90 90 90 90 0 90
# String:
# cmd Query
# Databases qrf
# Query_time distribution
# 1us
# 10us
# 100us ################################################################
# 1ms
# 10ms
# 100ms
# 1s
# 10s+
# Tables
# SHOW TABLE STATUS FROM `qrf` LIKE 't'\G
# SHOW CREATE TABLE `qrf`.`t`\G
# EXPLAIN /*!50100 PARTITIONS*/
select t1.i from t as t1 join t as t2 where t1.i < t2.i and t1.v is not null order by t1.i\G
# *************************** 1. row ***************************
# id: 1
# select_type: SIMPLE
# table: t1
# type: ALL
# possible_keys: PRIMARY
# key: NULL
# key_len: NULL
# ref: NULL
# rows: 4
# Extra: Using where; Using temporary; Using filesort
# *************************** 2. row ***************************
# id: 1
# select_type: SIMPLE
# table: t2
# type: index
# possible_keys: PRIMARY
# key: PRIMARY
# key_len: 4
# ref: NULL
# rows: 4
# Extra: Using where; Using index

View File

@@ -0,0 +1,12 @@
DROP DATABASE IF EXISTS qrf;
CREATE DATABASE qrf;
USE qrf;
CREATE TABLE t (
i int not null auto_increment primary key,
v varchar(16)
) engine=InnoDB;
insert into qrf.t values
(null, 'hello'),
(null, ','),
(null, 'world'),
(null, '!');