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
No workflow transitions have been executed yet.
{"report":{"fcp":1405.9000005722046,"ttfb":201.9000005722046,"pageVisibility":"visible","entityId":59222,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"d8fa5fd7-a1da-4288-9919-4511a5256436","navigationType":0,"readyForUser":1479.1000003814697,"redirectCount":0,"resourceLoadedEnd":1634.1000003814697,"resourceLoadedStart":207.10000038146973,"resourceTiming":[{"duration":718.1999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":207.10000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":925.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":718,"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":207.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":207.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":925.5,"responseStart":0,"secureConnectionStart":0},{"duration":726.8999996185303,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":207.60000038146973,"connectEnd":207.60000038146973,"connectStart":207.60000038146973,"domainLookupEnd":207.60000038146973,"domainLookupStart":207.60000038146973,"fetchStart":207.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":207.60000038146973,"responseEnd":934.5,"responseStart":934.5,"secureConnectionStart":207.60000038146973},{"duration":790.5,"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":207.9000005722046,"connectEnd":207.9000005722046,"connectStart":207.9000005722046,"domainLookupEnd":207.9000005722046,"domainLookupStart":207.9000005722046,"fetchStart":207.9000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":207.9000005722046,"responseEnd":998.4000005722046,"responseStart":998.4000005722046,"secureConnectionStart":207.9000005722046},{"duration":794.1000003814697,"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":208,"connectEnd":208,"connectStart":208,"domainLookupEnd":208,"domainLookupStart":208,"fetchStart":208,"redirectEnd":0,"redirectStart":0,"requestStart":208,"responseEnd":1002.1000003814697,"responseStart":1002.1000003814697,"secureConnectionStart":208},{"duration":794.3000001907349,"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":208.30000019073486,"connectEnd":208.30000019073486,"connectStart":208.30000019073486,"domainLookupEnd":208.30000019073486,"domainLookupStart":208.30000019073486,"fetchStart":208.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":208.30000019073486,"responseEnd":1002.6000003814697,"responseStart":1002.6000003814697,"secureConnectionStart":208.30000019073486},{"duration":794.5999994277954,"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":208.4000005722046,"connectEnd":208.4000005722046,"connectStart":208.4000005722046,"domainLookupEnd":208.4000005722046,"domainLookupStart":208.4000005722046,"fetchStart":208.4000005722046,"redirectEnd":0,"redirectStart":0,"requestStart":208.4000005722046,"responseEnd":1003,"responseStart":1003,"secureConnectionStart":208.4000005722046},{"duration":867.6999998092651,"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":208.60000038146973,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":208.60000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1076.3000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":794.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":208.80000019073486,"connectEnd":208.80000019073486,"connectStart":208.80000019073486,"domainLookupEnd":208.80000019073486,"domainLookupStart":208.80000019073486,"fetchStart":208.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":208.80000019073486,"responseEnd":1003.5,"responseStart":1003.5,"secureConnectionStart":208.80000019073486},{"duration":867.5,"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":209,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":209,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1076.5,"responseStart":0,"secureConnectionStart":0},{"duration":795.0999994277954,"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":209.10000038146973,"connectEnd":209.10000038146973,"connectStart":209.10000038146973,"domainLookupEnd":209.10000038146973,"domainLookupStart":209.10000038146973,"fetchStart":209.10000038146973,"redirectEnd":0,"redirectStart":0,"requestStart":209.10000038146973,"responseEnd":1004.1999998092651,"responseStart":1004.1999998092651,"secureConnectionStart":209.10000038146973},{"duration":1047.1000003814697,"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":214.69999980926514,"connectEnd":214.69999980926514,"connectStart":214.69999980926514,"domainLookupEnd":214.69999980926514,"domainLookupStart":214.69999980926514,"fetchStart":214.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":214.69999980926514,"responseEnd":1261.8000001907349,"responseStart":1261.8000001907349,"secureConnectionStart":214.69999980926514},{"duration":1419.3000001907349,"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":214.80000019073486,"connectEnd":214.80000019073486,"connectStart":214.80000019073486,"domainLookupEnd":214.80000019073486,"domainLookupStart":214.80000019073486,"fetchStart":214.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":214.80000019073486,"responseEnd":1634.1000003814697,"responseStart":1634.1000003814697,"secureConnectionStart":214.80000019073486},{"duration":176.39999961853027,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1087.3000001907349,"connectEnd":1087.3000001907349,"connectStart":1087.3000001907349,"domainLookupEnd":1087.3000001907349,"domainLookupStart":1087.3000001907349,"fetchStart":1087.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1087.3000001907349,"responseEnd":1263.6999998092651,"responseStart":1263.6000003814697,"secureConnectionStart":1087.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":22,"responseStart":202,"responseEnd":206,"domLoading":205,"domInteractive":1649,"domContentLoadedEventStart":1649,"domContentLoadedEventEnd":1688,"domComplete":1976,"loadEventStart":1976,"loadEventEnd":1977,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1635.8000001907349},{"name":"bigPipe.sidebar-id.end","time":1636.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.start","time":1636.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.end","time":1637.1999998092651},{"name":"activityTabFullyLoaded","time":1694.8000001907349}],"measures":[],"correlationId":"53ee5414e2b10e","effectiveType":"4g","downlink":9.1,"rtt":0,"serverDuration":109,"dbReadsTimeInMs":16,"dbConnsTimeInMs":26,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}