We are experiencing issues with creating view with multiple subqueries. The create view statement is in create_view_query.sql. It ran fine when I directly run the select statement against the cluster. When I ran the create view statement, I can select but other actions will hang and timeout. I have to rebuild the cluster in order to fix it. I have tried the method state in this link:
http://galeracluster.com/documentation-webpages/clusterstallonalter.html
but it doesn't help.
Is there any limitation on creating view with multiple subqueries in select statement?
I have attach all tables' schema as create_view_issue.sql and the server setup as variables.txt.
Thanks
{"report":{"fcp":1306.3000001907349,"ttfb":443,"pageVisibility":"visible","entityId":72382,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"b09e8940-31f4-4dd8-be23-5a23c27eae37","navigationType":0,"readyForUser":1424,"redirectCount":0,"resourceLoadedEnd":1795.7000002861023,"resourceLoadedStart":448.90000009536743,"resourceTiming":[{"duration":250.59999990463257,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":448.90000009536743,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":448.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.5,"responseStart":0,"secureConnectionStart":0},{"duration":250.59999990463257,"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":449.2000002861023,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":449.2000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":699.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":271.90000009536743,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":449.30000019073486,"connectEnd":449.30000019073486,"connectStart":449.30000019073486,"domainLookupEnd":449.30000019073486,"domainLookupStart":449.30000019073486,"fetchStart":449.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":449.30000019073486,"responseEnd":721.2000002861023,"responseStart":721.2000002861023,"secureConnectionStart":449.30000019073486},{"duration":319.90000009536743,"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":450.40000009536743,"connectEnd":450.40000009536743,"connectStart":450.40000009536743,"domainLookupEnd":450.40000009536743,"domainLookupStart":450.40000009536743,"fetchStart":450.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":450.40000009536743,"responseEnd":770.3000001907349,"responseStart":770.3000001907349,"secureConnectionStart":450.40000009536743},{"duration":324.7999997138977,"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":450.7000002861023,"connectEnd":450.7000002861023,"connectStart":450.7000002861023,"domainLookupEnd":450.7000002861023,"domainLookupStart":450.7000002861023,"fetchStart":450.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":450.7000002861023,"responseEnd":775.5,"responseStart":775.5,"secureConnectionStart":450.7000002861023},{"duration":325,"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":450.90000009536743,"connectEnd":450.90000009536743,"connectStart":450.90000009536743,"domainLookupEnd":450.90000009536743,"domainLookupStart":450.90000009536743,"fetchStart":450.90000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":450.90000009536743,"responseEnd":775.9000000953674,"responseStart":775.9000000953674,"secureConnectionStart":450.90000009536743},{"duration":325.2999997138977,"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":451.1000003814697,"connectEnd":451.1000003814697,"connectStart":451.1000003814697,"domainLookupEnd":451.1000003814697,"domainLookupStart":451.1000003814697,"fetchStart":451.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":451.1000003814697,"responseEnd":776.4000000953674,"responseStart":776.4000000953674,"secureConnectionStart":451.1000003814697},{"duration":462.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":451.30000019073486,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":451.30000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":914,"responseStart":0,"secureConnectionStart":0},{"duration":325.59999990463257,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":451.40000009536743,"connectEnd":451.40000009536743,"connectStart":451.40000009536743,"domainLookupEnd":451.40000009536743,"domainLookupStart":451.40000009536743,"fetchStart":451.40000009536743,"redirectEnd":0,"redirectStart":0,"requestStart":451.40000009536743,"responseEnd":777,"responseStart":777,"secureConnectionStart":451.40000009536743},{"duration":463,"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":451.6000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":451.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":914.6000003814697,"responseStart":0,"secureConnectionStart":0},{"duration":326,"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":451.80000019073486,"connectEnd":451.80000019073486,"connectStart":451.80000019073486,"domainLookupEnd":451.80000019073486,"domainLookupStart":451.80000019073486,"fetchStart":451.80000019073486,"redirectEnd":0,"redirectStart":0,"requestStart":451.80000019073486,"responseEnd":777.8000001907349,"responseStart":777.8000001907349,"secureConnectionStart":451.80000019073486},{"duration":807.6000003814697,"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":452.5,"connectEnd":452.5,"connectStart":452.5,"domainLookupEnd":452.5,"domainLookupStart":452.5,"fetchStart":452.5,"redirectEnd":0,"redirectStart":0,"requestStart":452.5,"responseEnd":1260.1000003814697,"responseStart":1260.1000003814697,"secureConnectionStart":452.5},{"duration":1343.0999999046326,"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":452.6000003814697,"connectEnd":452.6000003814697,"connectStart":452.6000003814697,"domainLookupEnd":452.6000003814697,"domainLookupStart":452.6000003814697,"fetchStart":452.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":452.6000003814697,"responseEnd":1795.7000002861023,"responseStart":1795.7000002861023,"secureConnectionStart":452.6000003814697},{"duration":298.40000009536743,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":962.8000001907349,"connectEnd":962.8000001907349,"connectStart":962.8000001907349,"domainLookupEnd":962.8000001907349,"domainLookupStart":962.8000001907349,"fetchStart":962.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":962.8000001907349,"responseEnd":1261.2000002861023,"responseStart":1261.2000002861023,"secureConnectionStart":962.8000001907349},{"duration":612.6999998092651,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1298.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1298.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1911,"responseStart":0,"secureConnectionStart":0},{"duration":532.6999998092651,"initiatorType":"script","name":"https://jira.mariadb.org/s/d41d8cd98f00b204e9800998ecf8427e-CDN/lu2cib/820016/12ta74/e65b778d185daf5aee24936755b43da6/_/download/contextbatch/js/browser-metrics-plugin.contrib,-_super,-atl.general/batch.js?agile_global_admin_condition=true&jag=true&slack-enabled=true&whisper-enabled=true","startTime":1323.3000001907349,"connectEnd":1323.3000001907349,"connectStart":1323.3000001907349,"domainLookupEnd":1323.3000001907349,"domainLookupStart":1323.3000001907349,"fetchStart":1323.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1323.3000001907349,"responseEnd":1856,"responseStart":1856,"secureConnectionStart":1323.3000001907349}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":278,"responseStart":443,"responseEnd":444,"domLoading":446,"domInteractive":1821,"domContentLoadedEventStart":1821,"domContentLoadedEventEnd":1870,"domComplete":2690,"loadEventStart":2690,"loadEventEnd":2691,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":1798.9000000953674},{"name":"bigPipe.sidebar-id.end","time":1799.8000001907349},{"name":"bigPipe.activity-panel-pipe-id.start","time":1800},{"name":"bigPipe.activity-panel-pipe-id.end","time":1801},{"name":"activityTabFullyLoaded","time":1927.7000002861023}],"measures":[],"correlationId":"2c724acdeea92","effectiveType":"4g","downlink":10,"rtt":0,"serverDuration":97,"dbReadsTimeInMs":12,"dbConnsTimeInMs":22,"applicationHash":"9d11dbea5f4be3d4cc21f03a88dd11d8c8687422","experiments":[]}}
Please explain more about your workflow.
"When I ran the create view statement, I can select but other actions will hang and timeout." - does it mean that the view is created and then select from that view executed without problems? What other actions have you performed?