Skip to content

Make bulk inserts available for action 'insert' #69

@joscha-kuerten-mvise

Description

@joscha-kuerten-mvise

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);

Metadata

Metadata

Assignees

No one assigned

    Labels

    enhancementNew feature or request

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions