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":1886.7000002861023,"ttfb":601.3000001907349,"pageVisibility":"visible","entityId":72382,"key":"jira.project.issue.view-issue","isInitial":true,"threshold":1000,"elementTimings":{},"userDeviceMemory":8,"userDeviceProcessors":64,"apdex":0.5,"journeyId":"0044033b-026c-447e-84aa-fb7eba5203d8","navigationType":0,"readyForUser":1967.4000000953674,"redirectCount":0,"resourceLoadedEnd":2548.5,"resourceLoadedStart":607.1000003814697,"resourceTiming":[{"duration":571.6999998092651,"initiatorType":"link","name":"https://jira.mariadb.org/s/2c21342762a6a02add1c328bed317ffd-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/css/_super/batch.css","startTime":607.1000003814697,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":607.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1178.8000001907349,"responseStart":0,"secureConnectionStart":0},{"duration":572.4000000953674,"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":607.3000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":607.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1179.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":628.8000001907349,"initiatorType":"script","name":"https://jira.mariadb.org/s/0917945aaa57108d00c5076fea35e069-CDN/lu2cib/820016/12ta74/0a8bac35585be7fc6c9cc5a0464cd4cf/_/download/contextbatch/js/_super/batch.js?locale=en","startTime":607.5,"connectEnd":607.5,"connectStart":607.5,"domainLookupEnd":607.5,"domainLookupStart":607.5,"fetchStart":607.5,"redirectEnd":0,"redirectStart":0,"requestStart":607.5,"responseEnd":1236.3000001907349,"responseStart":1236.3000001907349,"secureConnectionStart":607.5},{"duration":707.6999998092651,"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":607.7000002861023,"connectEnd":607.7000002861023,"connectStart":607.7000002861023,"domainLookupEnd":607.7000002861023,"domainLookupStart":607.7000002861023,"fetchStart":607.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":607.7000002861023,"responseEnd":1315.4000000953674,"responseStart":1315.4000000953674,"secureConnectionStart":607.7000002861023},{"duration":712.8000001907349,"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":608,"connectEnd":608,"connectStart":608,"domainLookupEnd":608,"domainLookupStart":608,"fetchStart":608,"redirectEnd":0,"redirectStart":0,"requestStart":608,"responseEnd":1320.8000001907349,"responseStart":1320.8000001907349,"secureConnectionStart":608},{"duration":713.5,"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":608.1000003814697,"connectEnd":608.1000003814697,"connectStart":608.1000003814697,"domainLookupEnd":608.1000003814697,"domainLookupStart":608.1000003814697,"fetchStart":608.1000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":608.1000003814697,"responseEnd":1321.6000003814697,"responseStart":1321.6000003814697,"secureConnectionStart":608.1000003814697},{"duration":713.6999998092651,"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":608.3000001907349,"connectEnd":608.3000001907349,"connectStart":608.3000001907349,"domainLookupEnd":608.3000001907349,"domainLookupStart":608.3000001907349,"fetchStart":608.3000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":608.3000001907349,"responseEnd":1322,"responseStart":1322,"secureConnectionStart":608.3000001907349},{"duration":781.0999999046326,"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":608.4000000953674,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":608.4000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1389.5,"responseStart":0,"secureConnectionStart":0},{"duration":714.0999999046326,"initiatorType":"script","name":"https://jira.mariadb.org/rest/api/1.0/shortcuts/820016/47140b6e0a9bc2e4913da06536125810/shortcuts.js?context=issuenavigation&context=issueaction","startTime":608.6000003814697,"connectEnd":608.6000003814697,"connectStart":608.6000003814697,"domainLookupEnd":608.6000003814697,"domainLookupStart":608.6000003814697,"fetchStart":608.6000003814697,"redirectEnd":0,"redirectStart":0,"requestStart":608.6000003814697,"responseEnd":1322.7000002861023,"responseStart":1322.7000002861023,"secureConnectionStart":608.6000003814697},{"duration":780.9000000953674,"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":608.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":608.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":1389.7000002861023,"responseStart":0,"secureConnectionStart":0},{"duration":714.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":608.9000000953674,"connectEnd":608.9000000953674,"connectStart":608.9000000953674,"domainLookupEnd":608.9000000953674,"domainLookupStart":608.9000000953674,"fetchStart":608.9000000953674,"redirectEnd":0,"redirectStart":0,"requestStart":608.9000000953674,"responseEnd":1323.4000000953674,"responseStart":1323.4000000953674,"secureConnectionStart":608.9000000953674},{"duration":1224.1999998092651,"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":609.7000002861023,"connectEnd":609.7000002861023,"connectStart":609.7000002861023,"domainLookupEnd":609.7000002861023,"domainLookupStart":609.7000002861023,"fetchStart":609.7000002861023,"redirectEnd":0,"redirectStart":0,"requestStart":609.7000002861023,"responseEnd":1833.9000000953674,"responseStart":1833.9000000953674,"secureConnectionStart":609.7000002861023},{"duration":1919.4000000953674,"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":609.8000001907349,"connectEnd":609.8000001907349,"connectStart":609.8000001907349,"domainLookupEnd":609.8000001907349,"domainLookupStart":609.8000001907349,"fetchStart":609.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":609.8000001907349,"responseEnd":2529.2000002861023,"responseStart":2529.2000002861023,"secureConnectionStart":609.8000001907349},{"duration":443.59999990463257,"initiatorType":"xmlhttprequest","name":"https://jira.mariadb.org/rest/webResources/1.0/resources","startTime":1404.8000001907349,"connectEnd":1404.8000001907349,"connectStart":1404.8000001907349,"domainLookupEnd":1404.8000001907349,"domainLookupStart":1404.8000001907349,"fetchStart":1404.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":1404.8000001907349,"responseEnd":1848.4000000953674,"responseStart":1848.4000000953674,"secureConnectionStart":1404.8000001907349},{"duration":687.0999999046326,"initiatorType":"script","name":"https://www.google-analytics.com/analytics.js","startTime":1867.8000001907349,"connectEnd":0,"connectStart":0,"domainLookupEnd":0,"domainLookupStart":0,"fetchStart":1867.8000001907349,"redirectEnd":0,"redirectStart":0,"requestStart":0,"responseEnd":2554.9000000953674,"responseStart":0,"secureConnectionStart":0},{"duration":671.5,"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":1877,"connectEnd":1877,"connectStart":1877,"domainLookupEnd":1877,"domainLookupStart":1877,"fetchStart":1877,"redirectEnd":0,"redirectStart":0,"requestStart":1877,"responseEnd":2548.5,"responseStart":2548.5,"secureConnectionStart":1877}],"fetchStart":0,"domainLookupStart":0,"domainLookupEnd":0,"connectStart":0,"connectEnd":0,"requestStart":446,"responseStart":602,"responseEnd":605,"domLoading":605,"domInteractive":2561,"domContentLoadedEventStart":2561,"domContentLoadedEventEnd":2618,"domComplete":3108,"loadEventStart":3108,"loadEventEnd":3108,"userAgent":"Mozilla/5.0 AppleWebKit/537.36 (KHTML, like Gecko; compatible; ClaudeBot/1.0; +claudebot@anthropic.com)","marks":[{"name":"bigPipe.sidebar-id.start","time":2531.4000000953674},{"name":"bigPipe.sidebar-id.end","time":2532.300000190735},{"name":"bigPipe.activity-panel-pipe-id.start","time":2532.4000000953674},{"name":"bigPipe.activity-panel-pipe-id.end","time":2533.4000000953674},{"name":"activityTabFullyLoaded","time":2639.1000003814697}],"measures":[],"correlationId":"3257ca5e1528d9","effectiveType":"4g","downlink":9.8,"rtt":0,"serverDuration":99,"dbReadsTimeInMs":14,"dbConnsTimeInMs":24,"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?