mariadb/storage/perfschema
Monty c9f612dbde Add more execution stages (commit, rollback, etc)
This was done to get more information about where time is spent.
Now we can get proper timing for time spent in commit, rollback,
binlog write etc.

Following stages was added:
- Commit
- Commit_implicit
- Rollback
- Rollback implicit
- Binlog write
- Init for update
  - This is used instead of "Init" for insert, update and delete.
- Staring cleanup

Following stages where changed:
- "Unlocking tables" stage reset stage to previous stage at end
- "binlog write" stage resets stage to previous stage at end
- "end" -> "end of update loop"
- "cleaning up" -> "Reset for next command"
- Added stage_searching_rows_for_update when searching for rows
  to be deleted.

Other things:
- Renamed all stages to start with big letter (before there was no
  consitency)
- Increased performance_schema_max_stage_classes from 150 to 160.
- Most of the test changes in performance schema comes from renaming of
  stages.
- Removed duplicate output of variables and inital state in a lot of
  performance schema tests.
  This was done to make it easier to change a default value for a
  performance variable without affecting all tests.
- Added start_server_variables.test to check configuration
- Removed some duplicate "closing tables" stages
- Updated position for "stage_init_update" and "stage_updating" for
  delete, insert and update to be just before update loop (for more
  exact timing).
- Don't set "Checking permissions" twice in a row.
- Remove stage_end stage from creating views (not done for create table
  either).
- Updated default performance history size from 10 to 20 because of new
  stages
- Ensure that ps_enabled is correct (to be used in a later patch)
2017-11-05 22:23:31 +02:00
..
unittest Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
CMakeLists.txt Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
cursor_by_account.cc 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_account.h 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_host.cc 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_host.h 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_thread.cc 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_thread.h 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_thread_connect_attr.cc perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
cursor_by_thread_connect_attr.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
cursor_by_user.cc 5.6.17 2014-05-07 10:04:30 +02:00
cursor_by_user.h 5.6.17 2014-05-07 10:04:30 +02:00
gen_pfs_lex_token.cc Merge branch '10.0' into merge-wip 2015-01-31 21:48:47 +01:00
ha_perfschema.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-06-15 15:27:11 +04:00
ha_perfschema.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
pfs.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-30 16:42:46 +04:00
pfs.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_account.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_account.h 5.6.17 2014-05-07 10:04:30 +02:00
pfs_atomic.h MDEV-7437 remove suport for "atomics" with rwlocks 2015-01-13 10:15:21 +01:00
pfs_autosize.cc Add more execution stages (commit, rollback, etc) 2017-11-05 22:23:31 +02:00
pfs_column_types.h 5.6.24 2015-05-04 22:16:00 +02:00
pfs_column_values.cc Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
pfs_column_values.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
pfs_con_slice.cc 5.6.26 2015-08-03 13:05:40 +02:00
pfs_con_slice.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_defaults.cc 5.6.17 2014-05-07 10:04:30 +02:00
pfs_defaults.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_digest.cc Merge 10.0 into 10.1 2017-05-20 08:41:20 +03:00
pfs_digest.h 5.6.35 2017-01-07 15:53:37 +02:00
pfs_engine_table.cc Merge remote-tracking branch 'origin/10.2' into bb-10.2-ext 2017-10-02 22:35:13 +04:00
pfs_engine_table.h Changing field::field_name and Item::name to LEX_CSTRING 2017-04-23 22:35:46 +03:00
pfs_events.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_events_stages.cc 5.6.26 2015-08-03 13:05:40 +02:00
pfs_events_stages.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_events_statements.cc 5.6.26 2015-08-03 13:05:40 +02:00
pfs_events_statements.h 5.6.28 2015-12-13 10:15:55 +01:00
pfs_events_waits.cc 5.6.26 2015-08-03 13:05:40 +02:00
pfs_events_waits.h Fix many -Wconversion warnings. 2017-03-07 19:07:27 +02:00
pfs_global.cc Merge branch 'merge-perfschema-5.6' into 10.0 2015-08-03 16:34:59 +02:00
pfs_global.h MDEV-9857 - CACHE_LINE_SIZE in innodb should be 128 on POWER 2016-06-07 13:02:31 +04:00
pfs_host.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_host.h 5.6.17 2014-05-07 10:04:30 +02:00
pfs_instr.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_instr.h 5.6.26 2015-08-03 13:05:40 +02:00
pfs_instr_class.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_instr_class.h perfschema 5.6.17 2014-05-07 16:12:16 +02:00
pfs_lock.h Merge remote-tracking branch 'merge/merge-perfschema-5.6' into 10.0 2017-01-10 12:32:54 +02:00
pfs_server.cc Add more execution stages (commit, rollback, etc) 2017-11-05 22:23:31 +02:00
pfs_server.h Add more execution stages (commit, rollback, etc) 2017-11-05 22:23:31 +02:00
pfs_setup_actor.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_setup_actor.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_setup_object.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_setup_object.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_stat.h 5.6.17 2014-05-07 10:04:30 +02:00
pfs_timer.cc 5.6.27 2015-10-09 17:22:53 +02:00
pfs_timer.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_user.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
pfs_user.h 5.6.17 2014-05-07 10:04:30 +02:00
pfs_visitor.cc perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
pfs_visitor.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
table_accounts.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_accounts.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_all_instr.cc perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
table_all_instr.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
table_esgs_by_account_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_account_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_host_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_host_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_thread_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_thread_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_user_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_by_user_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_global_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esgs_global_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_account_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_account_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_digest.cc Merge branch '10.0' into 10.1 2017-01-16 03:18:14 +02:00
table_esms_by_digest.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_host_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_host_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_thread_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_thread_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_user_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_by_user_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_global_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_esms_global_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_events_stages.cc Merge branch '10.0' into 10.1 2015-09-03 12:58:41 +02:00
table_events_stages.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_events_statements.cc MDEV-7769 MY_CHARSET_INFO refactoring# On branch 10.2 2016-10-10 14:36:09 +04:00
table_events_statements.h Merge branch '10.0' into 10.1 2015-12-21 21:24:22 +01:00
table_events_waits.cc MDEV-13384 - misc Windows warnings fixed 2017-09-28 17:20:46 +00:00
table_events_waits.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_events_waits_summary.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_events_waits_summary.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_account_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_account_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_host_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_host_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_thread_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_thread_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_user_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_by_user_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_global_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_ews_global_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_instances.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_instances.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_summary_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_summary_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_summary_by_instance.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_file_summary_by_instance.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_helper.cc 5.6.26 2015-08-03 13:05:40 +02:00
table_helper.h 5.6.24 2015-05-04 22:16:00 +02:00
table_host_cache.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_host_cache.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_hosts.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_hosts.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_os_global_by_type.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_os_global_by_type.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_performance_timers.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_performance_timers.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_session_account_connect_attrs.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_session_account_connect_attrs.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
table_session_connect.cc Merge branch '10.0' into 10.1 2016-02-23 21:35:05 +01:00
table_session_connect.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_session_connect_attrs.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_session_connect_attrs.h perfschema 5.6.10 initial commit. 2014-05-06 23:20:50 +02:00
table_setup_actors.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_actors.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_consumers.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_consumers.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_instruments.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_instruments.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_objects.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_objects.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_timers.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_setup_timers.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_socket_instances.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_socket_instances.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_socket_summary_by_event_name.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_socket_summary_by_event_name.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_socket_summary_by_instance.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_socket_summary_by_instance.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_sync_instances.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_sync_instances.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_threads.cc Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_threads.h Added "const" to new data for handler::update_row() 2017-04-18 12:23:53 +03:00
table_tiws_by_index_usage.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_tiws_by_index_usage.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_tiws_by_table.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_tiws_by_table.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_tlws_by_table.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_tlws_by_table.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_users.cc MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00
table_users.h MDEV-4262 - P_S discovery 2014-08-19 15:18:18 +04:00