This repository was archived by the owner on Aug 28, 2024. It is now read-only.
v1.1.0
Improvements
- Added host summary views, which have the same structure as the user summary views, but aggregated by host instead (Contributed by Arnaud Adant)
host_summaryhost_summary_by_file_io_typehost_summary_by_file_iohost_summary_by_statement_typehost_summary_by_statement_latencyhost_summary_by_stageswaits_by_host_by_latency
- Added functions which return instruments are either enabled, or timed by default (#15) (Contributed by Jesper Wisborg Krogh)
ps_is_instrument_default_enabledps_is_instrument_default_timed
- Added a
ps_thread_idfunction, which returns the thread_id value exposed within performance_schema for the current connection (Contributed by Jesper Wisborg Krogh) - Improved each of the user specific views to return aggregate values for
backgroundthreads, instead of ignoring them (Contributed by Joe Grasse) - Optimized the
schema_table_statisticsandschema_table_statistics_with_bufferviews, to use a new view that will get materialized (x$ps_schema_table_statistics_io), along with the changes to the RETURN types forextract_schema_from_file_nameandextract_table_from_file_name, this results in a significant performance improvement - in one test changing the run time from 14 minutes to 20 seconds. (Conceived by Roy Lyseng, Mark Leith and Jesper Wisborg Krogh, implemented and contributed by Jesper Wisborg Krogh)
Bug Fixes
- Removed unintentially committed sys_56_rds.sql file (See Issue #5, which is still outstanding)
- Fixed the
ps_trace_statement_digestandps_trace_threadprocedures to properly set sql_log_bin, and reset the thread INSTRUMENTED value correctly (Contributed by Jesper Wisborg Krogh) - Removed various sql_log_bin disabling from other procedures that no longer require it - DML against the performance_schema data is no longer replicated (Contributed by Jesper Wisborg Krogh)
- Fixed EXPLAIN within
ps_trace_statement_digestprocedure (Contributed by Jesper Wisborg Krogh) - Fixed the datatype for the
thd_idvariable within theps_thread_stackprocedure (Contributed by Jesper Wisborg Krogh) - Fixed datatypes used for temporary tables within the
ps_trace_statement_digestprocedure (Contributed by Jesper Wisborg Krogh) - Fixed the RETURN datatype
extract_schema_from_file_nameandextract_table_from_file_nameto return a VARCHAR(64) (Contributed by Jesper Wisborg Krogh) - Added events_transactions_current to the default enabled consumers in 5.7 (#25)