Skip to content

Bulk ingestion is extremely slow. #52

Description

@RaulRoPer

I have been working with Trino for years, and this is a problem specific to Trino. Each insert takes a long time, and its Bulk Ingestion implementation is executing one insert per row, which in this case is inefficient and extremely slow.

The only way I have achieved acceptable performance is by batching rows for each insert, so I suggest you adopt that strategy and insert multiple rows, adding a customisable parameter ‘number_batches’ such that: INSERT INTO ... VALUES ((1,7,3000),(1,8,3500),(1,9,3900))

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Fields

    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions