lp:~maria-captains/maria/maria-5.2-merge-5.1
- Get this branch:
- bzr branch lp:~maria-captains/maria/maria-5.2-merge-5.1
Branch merges
Branch information
Recent revisions
- 2731. By Sergey Petrunia
-
MWL#36: Add a mysqlbinlog option to change the used database
- Merge to MariaDB 5.2 - 2726. By Michael Widenius
-
This is based on the userstatv2 patch from Percona and OurDelta.
The original code comes, as far as I know, from Google (Mark Callaghan's team) with additional work from Percona, Ourdelta and Weldon Whipple.This code provides the same functionallity, but with a lot of changes to make it faster and better fit the MariaDB infrastucture.
Added new status variables:
- Com_show_client_ statistics, Com_show_ index_statistic s, Com_show_ table_statistic s, Com_show_ user_statistics
- Access_denied_ errors, Busy_time (clock time), Binlog_ bytes_written, Cpu_time, Empty_queries, Rows_sent, Rows_read Added new variable / startup option 'userstat' to control if user statistics should be enabled or not
Added my_getcputime(); Returns cpu time used by this thread.
New FLUSH commands:
- FLUSH SLOW QUERY LOG
- FLUSH TABLE_STATISTICS
- FLUSH INDEX_STATISTICS
- FLUSH USER_STATISTICS
- FLUSH CLIENT_STATISTICSNew SHOW commands:
- SHOW CLIENT_STATISTICS
- SHOW USER_STATISTICS
- SHOW TABLE_STATISTICS
- SHOW INDEX_STATISTICSNew Information schemas:
- CLIENT_STATISTICS
- USER_STATISTICS
- INDEX_STATISTICS
- TABLE_STATISTICSAdded support for all new flush commands to mysqladmin
Added handler::ha_... wrappers for all handler read calls to do statistics counting
- Changed all code to use new ha_... calls
- Count number of read rows, changed rows and rows read trough an indexAdded counting of number of bytes sent to binary log (status variable Binlog_
bytes_written)
Added counting of access denied errors (status variable Access_denied_ erors) Bugs fixed:
- Fixed bug in add_to_status() and add_diff_to_status( ) where longlong variables where threated as long
- CLOCK_GETTIME was not propely working on Linuxm
Branch metadata
- Branch format:
- Branch format 7
- Repository format:
- Bazaar RepositoryFormatKnitPack6 (bzr 1.9)
- Stacked on:
- lp:~maria-captains/maria/5.1-converting