Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
M
MariaDB
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Analytics
Analytics
CI / CD
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
nexedi
MariaDB
Commits
8690e937
Commit
8690e937
authored
Dec 01, 2010
by
Marc Alff
Browse files
Options
Browse Files
Download
Plain Diff
Local merge
parents
0c9c2112
646a4374
Changes
3
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
232 additions
and
70 deletions
+232
-70
BUILD/build_mccge.sh
BUILD/build_mccge.sh
+223
-70
mysql-test/suite/perfschema/r/myisam_file_io.result
mysql-test/suite/perfschema/r/myisam_file_io.result
+1
-0
mysql-test/suite/perfschema/t/myisam_file_io.test
mysql-test/suite/perfschema/t/myisam_file_io.test
+8
-0
No files found.
BUILD/build_mccge.sh
View file @
8690e937
This diff is collapsed.
Click to expand it.
mysql-test/suite/perfschema/r/myisam_file_io.result
View file @
8690e937
...
...
@@ -16,6 +16,7 @@ operation, number_of_bytes,
substring(object_name, locate("no_index_tab", object_name)) as short_name
from performance_schema.events_waits_history_long
where operation not like "tell"
and event_name like "wait/io/file/myisam/%"
order by thread_id, event_id;
event_name short_source operation number_of_bytes short_name
wait/io/file/myisam/kfile mi_create.c: create NULL no_index_tab.MYI
...
...
mysql-test/suite/perfschema/t/myisam_file_io.test
View file @
8690e937
...
...
@@ -46,6 +46,13 @@ insert into no_index_tab set a = 'foo', b = 1;
# Verification
# Note that mi_create.c contains mysql_file_tell() calls in debug only,
# so the result are filtered to remove 'tell'.
# Note that even after setting other instruments to enabled='NO'
# and truncating the events_waits_history_long table,
# some events -- that were already started but not completed --
# for other instruments could still be added in the history.
# To protect against that, an extra where clause
# "and event_name like "wait/io/file/myisam/%"
# is added to the select to filter out the result.
select
event_name
,
left
(
source
,
locate
(
":"
,
source
))
as
short_source
,
...
...
@@ -53,6 +60,7 @@ select event_name,
substring
(
object_name
,
locate
(
"no_index_tab"
,
object_name
))
as
short_name
from
performance_schema
.
events_waits_history_long
where
operation
not
like
"tell"
and
event_name
like
"wait/io/file/myisam/%"
order
by
thread_id
,
event_id
;
# In case of failures, this will tell if file io are lost.
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment