Issues
- Code review fixes from 8.0: userstatPS-5746Resolved issue: PS-5746Laurynas Biveinis
- undefined reference to end_cpu_nsecsPS-5457Resolved issue: PS-5457
- Broken fields in user statisticsPS-4996Resolved issue: PS-4996Zsolt Parragi
- Improve user statistics accuracyPS-4790Resolved issue: PS-4790Przemyslaw Skibinski
- sql_yacc.yy uses SQLCOM_SELECT instead of SQLCOM_SHOW_XXXX_STATSPS-4781Resolved issue: PS-4781Przemyslaw Skibinski
- access_denied component of userstats doesn't workPS-3956Resolved issue: PS-3956Zsolt Parragi
- Convert user statistics time columns to floating pointPS-3945Resolved issue: PS-3945Przemyslaw Skibinski
- LP #1580710: Using thread_statistics does not clear state when a thread goes awayPS-3430Resolved issue: PS-3430
- LP #1733006: User statistics: track USE/FORCE/IGNORE INDEXPS-2511Resolved issue: PS-2511
- LP #1629448: information_schema.index_statistics isn't populated for tokudb tablesPS-2485Resolved issue: PS-2485
- LP #1528600: Add stored procedures invocation in User StatisticsPS-2476Resolved issue: PS-2476
- LP #1022647: Record last_connection timestamp for USER_STATISTICSPS-2376Resolved issue: PS-2376
- LP #673622: Add more information to TABLE_STATISTICS and USER_STATISTICSPS-2331Resolved issue: PS-2331
- LP #483249: Userstats to capture how many bytes of an index has been usedPS-2295Resolved issue: PS-2295
- LP #1664249: Test rpl.rpl_percona_userstat fails with --repeat=2PS-2237Resolved issue: PS-2237
- LP #1637154: THREAD_STATISTICS.CONCURRENT_CONNECTIONS does not make sensePS-2211Resolved issue: PS-2211
- LP #1182050: Duplicate LIST_PROCESS_HOST_LEN definitionPS-2014Resolved issue: PS-2014
- LP #1179534: Spotty userstat testing coverage in MTRPS-2012Resolved issue: PS-2012
- LP #1128066: Suboptimal userstat codePS-1969Resolved issue: PS-1969
- LP #1082333: Dead code in extended user statisticsPS-1951Resolved issue: PS-1951
- LP #997036: thread_statistics is a reserved word in 5.5PS-1913Resolved issue: PS-1913
- LP #743801: inserts and updates to MRG_MYISAM table not tracked in TABLE_STATISTICSPS-1852Resolved issue: PS-1852
- LP #728080: THREAD_STATISTICS is always emptyPS-1850Resolved issue: PS-1850
- LP #625045: INDEX_STATISTICS can not STATISTICS partition tablePS-1833Resolved issue: PS-1833
- LP #482454: userstats patch only updates I_S tables when handle is closedPS-1830Resolved issue: PS-1830
- LP #1449440: when drop a table, TABLE_STATISTICS not clean it.PS-1622Resolved issue: PS-1622
- LP #1394483: innodb index stats inadequate using constant innodb_stats_sample_pagesPS-1585Resolved issue: PS-1585
- LP #1167486: Valgrind error at THD::update_statsPS-1354Resolved issue: PS-1354
- LP #995624: RBR events are not reflected in userstat's Rows_updatedPS-1247Resolved issue: PS-1247
- LP #924872: userstat.patch has several bugs (incorrectly ported from Google Tools for MySQL)PS-1235Resolved issue: PS-1235
- LP #728082: USER_STATISTICS shows incorrect value for number of concurrent connectionsPS-1193Resolved issue: PS-1193
- LP #608027: CPU_TIME is UserStats is brokenPS-1149Resolved issue: PS-1149
- LP #1732252: Percona Server crashes during stop/restart when using userstat=1 and Slave_open_temp_tables > 0PS-1124Resolved issue: PS-1124
- LP #1661488: Assertion `user_stats->concurrent_connections > 0' failed.PS-1057Resolved issue: PS-1057
- LP #1659992: Function over userstat tables cause mysql to crashPS-1053Resolved issue: PS-1053
- LP #1183625: handle_fatal_signal (sig=11) in handler::update_global_table_stats @ sql/handler.cc:4679 | Userstat relatedPS-363Resolved issue: PS-363
- Group user network errors by error code.FB8-51Resolved issue: FB8-51Przemyslaw Skibinski
- Add stats to track network errors on the server side.FB8-50Resolved issue: FB8-50Przemyslaw Skibinski
38 of 38
Code review fixes from 8.0: userstat
Done
General
Escalation
General
Escalation
Description
Environment
None
Smart Checklist
Created July 1, 2019 at 1:56 PM
Updated March 6, 2024 at 12:02 PM
Resolved July 3, 2019 at 6:09 AM
Backport code review fixes from 8.0:
(5.6) get_key_user_stats, free_user_stats, init_user_stats, get_key_thread_stats, (+ 5.7) free_thread_stats, init_thread_stats, free_table_stats, get_key_index_stats, free_index_stats should be static to sql_connect.cc
(5.6) get_key_user_stats, get_key_thread_stats, get_key_table_stats, get_key_index_stats, free_index_stats do not have to be extern "C".
(5.6, 5.7, 8.0) init_global_thread_stats referencing client_stats in the error message
(5.6, 5.7) THD::get_client_host_port no longer used