forked from facebook/mysql-5.6
-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
FB8-128: track Semisync_ack Engine_commit time in slow query log (fac…
…ebook#982) (facebook#982) Summary: Jira issue: https://jira.percona.com/browse/FB8-128 Reference Patch: facebook@2dd16b3 Reference Pull: facebook#681 Originally Reviewed By: lth Pull Request resolved: facebook#982 Reviewed By: lloyd Differential Revision: D14421316 Pulled By: lth
- Loading branch information
Showing
6 changed files
with
44 additions
and
2 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,4 @@ | ||
SET SESSION long_query_time = 0; | ||
CREATE TABLE t1 (A INT); | ||
INSERT INTO t1 VALUES (1),(2),(3); | ||
DROP TABLE t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
--slow-query-log=1 --log-slow-extra=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,16 @@ | ||
SET SESSION long_query_time = 0; | ||
|
||
CREATE TABLE t1 (A INT); | ||
INSERT INTO t1 VALUES (1),(2),(3); | ||
|
||
--let SEARCH_FILE = $MYSQLTEST_VARDIR/mysqld.1/mysqld-slow.log | ||
|
||
# Check if Semisync_ack_time is included in slow log results | ||
--let SEARCH_PATTERN= Semisync_ack_time: | ||
--source include/search_pattern_in_file.inc | ||
|
||
# Check if Engine_commit_time is included in slow log results | ||
--let SEARCH_PATTERN= Engine_commit_time: | ||
--source include/search_pattern_in_file.inc | ||
|
||
DROP TABLE t1; |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters