Type:
Task
Priority:
Minor
Resolution:
Won't Fix
This tasks covers an alternative to MDEV-33404 :
Defining a low-level interface for storage engines to allow for page allocation
The purpose of this interface is to support lower-level implementation of indexing strategies, should the subtable (high level interface) prove too slow.
High level overview
The index will ask the engine for a page in the table space and can store the index there in any arbitrary way it wants, the engine will treat it as opaque.
Benefits
Drawbacks
The burden of ACID is on the index implementation, it handles undo/redo, recovery, isolation
This has to be done for every supported engine separately
Works only for very few selected engines, may be only InnoDB
So not very engine independent
Interface questions to be answered :
What operations should this interface support?
Alloc page(s) (implemented by SE)
Free page(s) (implemented by SE)
Register callback for row insert/update/delete (callback invoked by SE when event occurs)
Register callback for transaction start/commit/rollback (callback invoked by SE when event occurs)
Does Engine query the Index or is it only for the upper SQL layer level to decide?
There are no comments yet on this issue.
{"report":{"fcp":2243.7000002861023,"ttfb":787.4000000953674,"pageVisibility":"visible","entityId":127810,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":32,"apdex":0.5,"journeyId":"412489d0-d2bb-4fcb-b750-1b58b640b7f9","navigationType":0,"readyForUser":2317,"redirectCount":0,"resourceLoadedEnd":3001.1000003814697,"resourceLoadedStart":796.1000003814697,"resourceTiming":[{"duration":940.5,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":796.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":796.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1736.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":940.5999999046326,"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":796.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":796.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1737,"responseStart":0,"secureConnectionStart":0},{"duration":995.5,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":796.7000002861023,"connectEnd":796.7000002861023,"connectStart":796.7000002861023,"domainLookupEnd":796.7000002861023,"domainLookupStart":796.7000002861023,"fetchStart":796.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":796.7000002861023,"responseEnd":1792.2000002861023,"responseStart":1792.2000002861023,"secureConnectionStart":796.7000002861023},{"duration":1051,"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":797.2000002861023,"connectEnd":797.2000002861023,"connectStart":797.2000002861023,"domainLookupEnd":797.2000002861023,"domainLookupStart":797.2000002861023,"fetchStart":797.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":797.2000002861023,"responseEnd":1848.2000002861023,"responseStart":1848.2000002861023,"secureConnectionStart":797.2000002861023},{"duration":1054.3000001907349,"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":797.5,"connectEnd":797.5,"connectStart":797.5,"domainLookupEnd":797.5,"domainLookupStart":797.5,"fetchStart":797.5,"redirectEnd":0,"redirectStart":0,"requestStart":797.5,"responseEnd":1851.8000001907349,"responseStart":1851.8000001907349,"secureConnectionStart":797.5},{"duration":1054.6999998092651,"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":797.6000003814697,"connectEnd":797.6000003814697,"connectStart":797.6000003814697,"domainLookupEnd":797.6000003814697,"domainLookupStart":797.6000003814697,"fetchStart":797.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":797.6000003814697,"responseEnd":1852.3000001907349,"responseStart":1852.3000001907349,"secureConnectionStart":797.6000003814697},{"duration":1054.8000001907349,"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":797.8000001907349,"connectEnd":797.8000001907349,"connectStart":797.8000001907349,"domainLookupEnd":797.8000001907349,"domainLookupStart":797.8000001907349,"fetchStart":797.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":797.8000001907349,"responseEnd":1852.6000003814697,"responseStart":1852.6000003814697,"secureConnectionStart":797.8000001907349},{"duration":1135.8999996185303,"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":798.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":798.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1934,"responseStart":0,"secureConnectionStart":0},{"duration":1055,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":798.1000003814697,"connectEnd":798.1000003814697,"connectStart":798.1000003814697,"domainLookupEnd":798.1000003814697,"domainLookupStart":798.1000003814697,"fetchStart":798.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":798.1000003814697,"responseEnd":1853.1000003814697,"responseStart":1853.1000003814697,"secureConnectionStart":798.1000003814697},{"duration":1135.8000001907349,"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":798.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":798.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1934.2000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":1055.2000002861023,"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":798.5,"connectEnd":798.5,"connectStart":798.5,"domainLookupEnd":798.5,"domainLookupStart":798.5,"fetchStart":798.5,"redirectEnd":0,"redirectStart":0,"requestStart":798.5,"responseEnd":1853.7000002861023,"responseStart":1853.7000002861023,"secureConnectionStart":798.5},{"duration":2197.5999999046326,"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":802.7000002861023,"connectEnd":802.7000002861023,"connectStart":802.7000002861023,"domainLookupEnd":802.7000002861023,"domainLookupStart":802.7000002861023,"fetchStart":802.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":802.7000002861023,"responseEnd":3000.300000190735,"responseStart":3000.300000190735,"secureConnectionStart":802.7000002861023},{"duration":2196.2000002861023,"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":804.9000000953674,"connectEnd":804.9000000953674,"connectStart":804.9000000953674,"domainLookupEnd":804.9000000953674,"domainLookupStart":804.9000000953674,"fetchStart":804.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":804.9000000953674,"responseEnd":3001.1000003814697,"responseStart":3001.1000003814697,"secureConnectionStart":804.9000000953674},{"duration":707.2999997138977,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1945.2000002861023,"connectEnd":1945.2000002861023,"connectStart":1945.2000002861023,"domainLookupEnd":1945.2000002861023,"domainLookupStart":1945.2000002861023,"fetchStart":1945.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":1945.2000002861023,"responseEnd":2652.5,"responseStart":2652.5,"secureConnectionStart":1945.2000002861023},{"duration":823.0999999046326,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":2236.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":2236.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":3059.5,"responseStart":0,"secureConnectionStart":0}],"fetchStart":1,"domainLookupStart":1,"domainLookupEnd":1,"connectStart":1,"connectEnd":1,"requestStart":641,"responseStart":788,"responseEnd":805,"domLoading":792,"domInteractive":3020,"domContentLoadedEventStart":3020,"domContentLoadedEventEnd":3058,"domComplete":3807,"loadEventStart":3807,"loadEventEnd":3807,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":3006.5},{"name":"bigPipe.sidebar-id.end","time":3007.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.start","time":3007.6000003814697},{"name":"bigPipe.activity-panel-pipe-id.end","time":3008.1000003814697},{"name":"activityTabFullyLoaded","time":3062.7000002861023}],"measures":[],"correlationId":"42f37b534eeba1","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":89,"dbReadsTimeInMs":11,"dbConnsTimeInMs":19,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}