Type:
Bug
Priority:
Minor
Resolution:
Unresolved
Affects Version/s:
N/A
At the moment, rocksdb.slow_query_log fails with this error:
2016-12-03 17:58:02 139837224450432 [ERROR] /home/psergey/dev-git/10.2
mariarocks/sql/mysqld: unknown option '--log-slow-extra'
The test itself checks that log-slow-extra produces a few RocksDB-related counters like so:
# # Query_time: 0.022742 Lock_time: 0.000112 Rows_sent: 1 Rows_examined: 7500
Thread_id: 2 Errno: 0 Killed: 0 Bytes_received: 0 Bytes_sent: 66 Read_first: 1 Read_last: 0
Read_key: 0 Read_next: 7500 Read_prev: 0 Read_rnd: 0 Read_rnd_next: 0 *RocksDB_key_skipped: 9999 *
*RocksDB_del_skipped: 2499 *
Sort_merge_passes: 0 Sort_range_count: 0 Sort_rows: 0 Sort_scan_count: 0 Created_tmp_disk_tables: 0 Created_tmp_tables: 0 Tmp_table_bytes_written: 0 Start: 22:34:03 End: 22:34:03 Reads: 0 Read_time: 0.000000
The patch that introduced this:
https://github.com/facebook/mysql-5.6/commit/8098b78783624f87db83ed9c1022db3ba980f34e
As one can see, the counters are collected/printed in engine-agnostic fashion (despite having names like RocksDB_del_skipped and not having any universal meaning).
The question is, what do we do with this in MariaDB? Introduce a SE API "service" for printing extra stuff into the slow query log?
is part of
MDEV-9658
Make MyRocks in MariaDB stable
Closed
{"report":{"fcp":1067,"ttfb":349,"pageVisibility":"visible","entityId":59222,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"3f4856a9-a11c-41b8-aa8b-12344643e046","navigationType":0,"readyForUser":1137,"redirectCount":0,"resourceLoadedEnd":759.8999996185303,"resourceLoadedStart":362.3999996185303,"resourceTiming":[{"duration":37.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":362.3999996185303,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":362.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":399.5999994277954,"responseStart":0,"secureConnectionStart":0},{"duration":37.19999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/7ebd35e77e471bc30ff0eba799ebc151-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/css/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.css?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&slack-enabled=true&whisper-enabled=true","startTime":362.69999980926514,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":362.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":399.8999996185303,"responseStart":0,"secureConnectionStart":0},{"duration":246.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":363,"connectEnd":363,"connectStart":363,"domainLookupEnd":363,"domainLookupStart":363,"fetchStart":363,"redirectEnd":0,"redirectStart":0,"requestStart":402.80000019073486,"responseEnd":609.5,"responseStart":419.3999996185303,"secureConnectionStart":363},{"duration":383,"initiatorType":"script","name":"https://jira.mariadb.org/s/2d8175ec2fa4c816e8023260bd8c1786-CDN/lu2cib/820016/12ta74/494e4c556ecbb29f90a3d3b4f09cb99c/_/download/contextbatch/js/jira.browse.project,project.issue.navigator,jira.view.issue,jira.general,jira.global,atl.general,-_super/batch.js?agile_global_admin_condition=true&jag=true&jira.create.linked.issue=true&locale=en&slack-enabled=true&whisper-enabled=true","startTime":363,"connectEnd":363,"connectStart":363,"domainLookupEnd":363,"domainLookupStart":363,"fetchStart":363,"redirectEnd":0,"redirectStart":0,"requestStart":403.19999980926514,"responseEnd":746,"responseStart":424.69999980926514,"secureConnectionStart":363},{"duration":63.39999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/s/a9324d6758d385eb45c462685ad88f1d-CDN/lu2cib/820016/12ta74/c92c0caa9a024ae85b0ebdbed7fb4bd7/_/download/contextbatch/js/atl.global,-_super/batch.js?locale=en","startTime":363.19999980926514,"connectEnd":363.19999980926514,"connectStart":363.19999980926514,"domainLookupEnd":363.19999980926514,"domainLookupStart":363.19999980926514,"fetchStart":363.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":408,"responseEnd":426.5999994277954,"responseStart":423.80000019073486,"secureConnectionStart":363.19999980926514},{"duration":76.10000038146973,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-en/jira.webresources:calendar-en.js","startTime":363.3999996185303,"connectEnd":363.3999996185303,"connectStart":363.3999996185303,"domainLookupEnd":363.3999996185303,"domainLookupStart":363.3999996185303,"fetchStart":363.3999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":412.0999994277954,"responseEnd":439.5,"responseStart":432.19999980926514,"secureConnectionStart":363.3999996185303},{"duration":78.20000076293945,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:calendar-localisation-moment/jira.webresources:calendar-localisation-moment.js","startTime":363.5999994277954,"connectEnd":363.5999994277954,"connectStart":363.5999994277954,"domainLookupEnd":363.5999994277954,"domainLookupStart":363.5999994277954,"fetchStart":363.5999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":412.19999980926514,"responseEnd":441.80000019073486,"responseStart":433.5999994277954,"secureConnectionStart":363.5999994277954},{"duration":43.69999980926514,"initiatorType":"link","name":"https://jira.mariadb.org/s/b04b06a02d1959df322d9cded3aeecc1-CDN/lu2cib/820016/12ta74/a2ff6aa845ffc9a1d22fe23d9ee791fc/_/download/contextbatch/css/jira.global.look-and-feel,-_super/batch.css","startTime":363.80000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":363.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":407.5,"responseStart":0,"secureConnectionStart":0},{"duration":87.89999961853027,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":364,"connectEnd":364,"connectStart":364,"domainLookupEnd":364,"domainLookupStart":364,"fetchStart":364,"redirectEnd":0,"redirectStart":0,"requestStart":413.69999980926514,"responseEnd":451.8999996185303,"responseStart":450.8999996185303,"secureConnectionStart":364},{"duration":46.90000057220459,"initiatorType":"link","name":"https://jira.mariadb.org/s/3ac36323ba5e4eb0af2aa7ac7211b4bb-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/css/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.css?jira.create.linked.issue=true","startTime":364.0999994277954,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":364.0999994277954,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":411,"responseStart":0,"secureConnectionStart":0},{"duration":82.79999923706055,"initiatorType":"script","name":"https://jira.mariadb.org/s/5d5e8fe91fbc506585e83ea3b62ccc4b-CDN/lu2cib/820016/12ta74/d176f0986478cc64f24226b3d20c140d/_/download/contextbatch/js/com.atlassian.jira.projects.sidebar.init,-_super,-project.issue.navigator,-jira.view.issue/batch.js?jira.create.linked.issue=true&locale=en","startTime":364.30000019073486,"connectEnd":364.30000019073486,"connectStart":364.30000019073486,"domainLookupEnd":364.30000019073486,"domainLookupStart":364.30000019073486,"fetchStart":364.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":426.80000019073486,"responseEnd":447.0999994277954,"responseStart":444.19999980926514,"secureConnectionStart":364.30000019073486},{"duration":393.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-js/jira.webresources:bigpipe-js.js","startTime":365.19999980926514,"connectEnd":365.19999980926514,"connectStart":365.19999980926514,"domainLookupEnd":365.19999980926514,"domainLookupStart":365.19999980926514,"fetchStart":365.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":506.5999994277954,"responseEnd":759.0999994277954,"responseStart":752,"secureConnectionStart":365.19999980926514},{"duration":394.69999980926514,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/1.0/_/download/batch/jira.webresources:bigpipe-init/jira.webresources:bigpipe-init.js","startTime":365.19999980926514,"connectEnd":365.19999980926514,"connectStart":365.19999980926514,"domainLookupEnd":365.19999980926514,"domainLookupStart":365.19999980926514,"fetchStart":365.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":576.1999998092651,"responseEnd":759.8999996185303,"responseStart":754.3999996185303,"secureConnectionStart":365.19999980926514},{"duration":106.80000019073486,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":738.8999996185303,"connectEnd":738.8999996185303,"connectStart":738.8999996185303,"domainLookupEnd":738.8999996185303,"domainLookupStart":738.8999996185303,"fetchStart":738.8999996185303,"redirectEnd":0,"redirectStart":0,"requestStart":813.5999994277954,"responseEnd":845.6999998092651,"responseStart":844.5999994277954,"secureConnectionStart":738.8999996185303},{"duration":169.5999994277954,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":981.5,"connectEnd":981.5,"connectStart":981.5,"domainLookupEnd":981.5,"domainLookupStart":981.5,"fetchStart":981.5,"redirectEnd":0,"redirectStart":0,"requestStart":1118.5,"responseEnd":1151.0999994277954,"responseStart":1150.3000001907349,"secureConnectionStart":981.5}],"fetchStart":0,"domainLookupStart":89,"domainLookupEnd":111,"connectStart":111,"connectEnd":131,"secureConnectionStart":120,"requestStart":132,"responseStart":349,"responseEnd":361,"domLoading":353,"domInteractive":1192,"domContentLoadedEventStart":1192,"domContentLoadedEventEnd":1232,"domComplete":3108,"loadEventStart":3108,"loadEventEnd":3109,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1173.3999996185303},{"name":"bigPipe.sidebar-id.end","time":1174.1999998092651},{"name":"bigPipe.activity-panel-pipe-id.start","time":1174.3000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1176.8000001907349},{"name":"activityTabFullyLoaded","time":1240.3000001907349}],"measures":[],"correlationId":"4bf7b4f65c2874","effectiveType":"4g","downlink":9.6,"rtt":0,"serverDuration":155,"dbReadsTimeInMs":12,"dbConnsTimeInMs":23,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}