[MCOL-1600] Improve multi-UPDATE performance when foreign engine table is involved. Created: 2018-07-26  Updated: 2022-11-05  Resolved: 2022-11-05

Status: Closed
Project: MariaDB ColumnStore
Component/s: MDB Plugin
Affects Version/s: 1.1.5
Fix Version/s: Icebox

Type: New Feature Priority: Minor
Reporter: Roman Assignee: Todd Stoffel (Inactive)
Resolution: Won't Do Votes: 0
Labels: None

Issue Links:
PartOf
is part of MCOL-4343 umbrella for tech debt issues Open
Relates
relates to MCOL-1527 Incorrect 0 row(s) affected on delete... Closed

 Description   

Here is the test suite that produces 3 affected rows with multi-UPDATE statement. Under the hood CS updates cs1 three times.

MariaDB [test]> select * from cs1
    -> ;
+------+------+
| i    | t    |
+------+------+
|    1 | sa   |
|    7 | NULL |
|    5 | NULL |
+------+------+
3 rows in set (0.04 sec)
 
MariaDB [test]> select * from i1;
+------+------+
| i    | t    |
+------+------+
|    1 | a    |
|    2 | b    |
|    3 | c    |
+------+------+
3 rows in set (0.01 sec)
 
MariaDB [test]> update cs1 join i1 on i1.i=cs1.i set cs1.t = 'sa';
Query OK, 3 rows affected (16.40 sec)



 Comments   
Comment by Todd Stoffel (Inactive) [ 2022-11-05 ]

This item is being closed because it was well passed the expiration date with no activity. If you suspect this was done in error please create a new ticket.

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