Type:
Bug
Priority:
Critical
Resolution:
Unresolved
Affects Version/s:
10.6.1 , 10.2.39 , 10.3.30 , 10.4.20 , 10.5.11
Simple table with two colums Type(varchar) and Point(point)
An index on Type(Tindex) and a spatial index on Point(Pindex)
Now a query like
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels WHERE (Type in ( "acco" )) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point)
;
Results in a
Error in query (1207): Update locks cannot be acquired during a READ UNCOMMITTED transaction
While both
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels USE INDEX (Pindex) WHERE (Type in ( "acco" )) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point)
;
and
SELECT X(Point) as x,Y(Point) as y,hotels.Type FROM hotels USE INDEX (Tindex) WHERE (Type in ( "acco" )) AND MBRContains( GeomFromText( 'LINESTRING(4.922 52.909,5.625 52.483)' ), hotels.Point)
;
work fine. As mariadb 10.5.10 did
id
select_type
table
type
possible_keys
key
key_len
ref
rows
Extra
1
SIMPLE
hotels
range
filter
Type,Pindex
Pindex
Type
34
302
NULL
340 (4%)
Using where; Using rowid filter
Transition
Time In Source Status
Execution Times
Open
In Progress
279d 9h 48m
1
In Progress
Stalled
562d 17h 26m
1
{"report":{"fcp":1673.8999998569489,"ttfb":463.59999990463257,"pageVisibility":"visible","entityId":101155,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"2b4091ad-fe5d-44eb-b0ec-0b022acb9249","navigationType":0,"readyForUser":1762.7999999523163,"redirectCount":0,"resourceLoadedEnd":1945.7999999523163,"resourceLoadedStart":469.5,"resourceTiming":[{"duration":657.3999998569489,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":469.5,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":469.5,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1126.8999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":657.5,"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":469.89999985694885,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":469.89999985694885,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1127.3999998569489,"responseStart":0,"secureConnectionStart":0},{"duration":689.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":470.09999990463257,"connectEnd":470.09999990463257,"connectStart":470.09999990463257,"domainLookupEnd":470.09999990463257,"domainLookupStart":470.09999990463257,"fetchStart":470.09999990463257,"redirectEnd":0,"redirectStart":0,"requestStart":470.09999990463257,"responseEnd":1159.1999998092651,"responseStart":1159.1999998092651,"secureConnectionStart":470.09999990463257},{"duration":775.7000000476837,"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":470.19999980926514,"connectEnd":470.19999980926514,"connectStart":470.19999980926514,"domainLookupEnd":470.19999980926514,"domainLookupStart":470.19999980926514,"fetchStart":470.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":470.19999980926514,"responseEnd":1245.8999998569489,"responseStart":1245.8999998569489,"secureConnectionStart":470.19999980926514},{"duration":779.1999998092651,"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":470.5,"connectEnd":470.5,"connectStart":470.5,"domainLookupEnd":470.5,"domainLookupStart":470.5,"fetchStart":470.5,"redirectEnd":0,"redirectStart":0,"requestStart":470.5,"responseEnd":1249.6999998092651,"responseStart":1249.6999998092651,"secureConnectionStart":470.5},{"duration":779.7000000476837,"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":470.69999980926514,"connectEnd":470.69999980926514,"connectStart":470.69999980926514,"domainLookupEnd":470.69999980926514,"domainLookupStart":470.69999980926514,"fetchStart":470.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":470.69999980926514,"responseEnd":1250.3999998569489,"responseStart":1250.3999998569489,"secureConnectionStart":470.69999980926514},{"duration":780,"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":470.7999999523163,"connectEnd":470.7999999523163,"connectStart":470.7999999523163,"domainLookupEnd":470.7999999523163,"domainLookupStart":470.7999999523163,"fetchStart":470.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":470.7999999523163,"responseEnd":1250.7999999523163,"responseStart":1250.7999999523163,"secureConnectionStart":470.7999999523163},{"duration":838.2999999523163,"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":471,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":471,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1309.2999999523163,"responseStart":0,"secureConnectionStart":0},{"duration":780.1000001430511,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":471.19999980926514,"connectEnd":471.19999980926514,"connectStart":471.19999980926514,"domainLookupEnd":471.19999980926514,"domainLookupStart":471.19999980926514,"fetchStart":471.19999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":471.19999980926514,"responseEnd":1251.2999999523163,"responseStart":1251.2999999523163,"secureConnectionStart":471.19999980926514},{"duration":838.2000000476837,"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":471.2999999523163,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":471.2999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1309.5,"responseStart":0,"secureConnectionStart":0},{"duration":780.5,"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":471.5,"connectEnd":471.5,"connectStart":471.5,"domainLookupEnd":471.5,"domainLookupStart":471.5,"fetchStart":471.5,"redirectEnd":0,"redirectStart":0,"requestStart":471.5,"responseEnd":1252,"responseStart":1252,"secureConnectionStart":471.5},{"duration":942.8000001907349,"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":472.69999980926514,"connectEnd":472.69999980926514,"connectStart":472.69999980926514,"domainLookupEnd":472.69999980926514,"domainLookupStart":472.69999980926514,"fetchStart":472.69999980926514,"redirectEnd":0,"redirectStart":0,"requestStart":472.69999980926514,"responseEnd":1415.5,"responseStart":1415.5,"secureConnectionStart":472.69999980926514},{"duration":1473,"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":472.7999999523163,"connectEnd":472.7999999523163,"connectStart":472.7999999523163,"domainLookupEnd":472.7999999523163,"domainLookupStart":472.7999999523163,"fetchStart":472.7999999523163,"redirectEnd":0,"redirectStart":0,"requestStart":472.7999999523163,"responseEnd":1945.7999999523163,"responseStart":1945.7999999523163,"secureConnectionStart":472.7999999523163},{"duration":92.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1323.5,"connectEnd":1323.5,"connectStart":1323.5,"domainLookupEnd":1323.5,"domainLookupStart":1323.5,"fetchStart":1323.5,"redirectEnd":0,"redirectStart":0,"requestStart":1323.5,"responseEnd":1416.0999999046326,"responseStart":1416.0999999046326,"secureConnectionStart":1323.5}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":259,"responseStart":464,"responseEnd":466,"domLoading":467,"domInteractive":1966,"domContentLoadedEventStart":1966,"domContentLoadedEventEnd":2010,"domComplete":2542,"loadEventStart":2542,"loadEventEnd":2543,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1947.6999998092651},{"name":"bigPipe.sidebar-id.end","time":1948.5999999046326},{"name":"bigPipe.activity-panel-pipe-id.start","time":1948.6999998092651},{"name":"bigPipe.activity-panel-pipe-id.end","time":1949.8999998569489},{"name":"activityTabFullyLoaded","time":2024.0999999046326}],"measures":[],"correlationId":"4ef2cd7e8c0c17","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":131,"dbReadsTimeInMs":31,"dbConnsTimeInMs":42,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}