[MCOL-1367] mcsapi - parallel Writes to the same table from multiple sources Created: 2018-04-24  Updated: 2021-01-17  Resolved: 2021-01-17

Status: Closed
Project: MariaDB ColumnStore
Component/s: N/A
Affects Version/s: None
Fix Version/s: N/A

Type: New Feature Priority: Major
Reporter: Jens Röwekamp (Inactive) Assignee: Todd Stoffel (Inactive)
Resolution: Won't Do Votes: 0
Labels: BulkAPI

Issue Links:
Relates
relates to MCOL-1513 mcsapi - parallel writes to the same ... Closed
Epic Link: ColumnStore Bulk Load Improvements

 Description   

Currently a table can only be written by one bulk write sdk application.

Parallel writes to the same table are more desirable.



 Comments   
Comment by Andrew Hutchings (Inactive) [ 2018-04-25 ]

I'll start off with saying we can't have two instances writing to the same table in the same PM. That would not be possible due to the architecture of ColumnStore. It works by appending blocks to a file and moving a HWM, so best case scenario the writes would be serialised in the PM and it would be hell to coordinate.

So, we could parallelise by having two instances write to two different PMs for the same table in parallel for the same transaction (since table locks are at the transaction level). But there is a problem here... Ultimately one of the two instances needs to close the transaction.

The part I haven't figured out is how to figure that out with the current API. The alternative I think is to have writeRow() with a parameter determining which PM the data should go to.

Ideas on what the API should look like are welcome here.

Comment by Todd Stoffel (Inactive) [ 2021-01-17 ]

Deprecated

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