Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Make bulk inserts available for action 'insert' #69

Open
joscha-kuerten-mvise opened this issue Aug 6, 2021 · 0 comments
Open

Make bulk inserts available for action 'insert' #69

joscha-kuerten-mvise opened this issue Aug 6, 2021 · 0 comments
Labels
enhancement New feature or request

Comments

@joscha-kuerten-mvise
Copy link

When multiple messages are to be processed by the 'insert' action each message will be inserted as a single statement. A typical improvement for this is to make bulk insert available.

Therefore the component would need 2 more options in the 'insert' action.

  • 'Bulk insert' a check box to enable the behaviour
  • 'Bucket size' the amount of messages to be combined into one bulk insert

Here are pseudocode sample of single inserts and bulk inserts.
Single insert: insert into <table name> (col_1, ... , col_n) values (val_1, ... , val_n);
Bulk insert: insert into <table name> (col_1, ... , col_n) values (val_1_1, ... , val_1_n), ... , (val_m_1, ... , val_m_n);

@joscha-kuerten-mvise joscha-kuerten-mvise added the enhancement New feature or request label Aug 6, 2021
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

1 participant