[MDEV-18488] MariaDB Cluster limit with subqueries Created: 2019-02-05  Updated: 2019-03-12

Status: Open
Project: MariaDB Server
Component/s: Data Definition - Temporary, Data Manipulation - Subquery, Views
Affects Version/s: 10.2.21
Fix Version/s: 10.2

Type: Bug Priority: Major
Reporter: Xiyi Zhu Assignee: Oleksandr Byelkin
Resolution: Unresolved Votes: 0
Labels: None
Environment:

MariaDB 10.2.21 on CentOS 7 in VMs.


Attachments: File create_view_issue.sql     File create_view_query.sql     Text File variables.txt    

 Description   

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



 Comments   
Comment by Alice Sherepa [ 2019-02-11 ]

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?

Comment by Xiyi Zhu [ 2019-02-11 ]

Yes, and I also can perform select action against other tables too. However, I couldn't do any insert, update, delete action. They will all hand and execution timeout.

Generated at Thu Feb 08 08:44:29 UTC 2024 using Jira 8.20.16#820016-sha1:9d11dbea5f4be3d4cc21f03a88dd11d8c8687422.