Skip to content

Bulk insert support? #23

@thomaswolff

Description

@thomaswolff

Hi,

What is the fastest (and recommended) way of doing bulk insert using MightyOrm?

I've tried the public override IEnumerable<T> Insert(IEnumerable<object> items) method. However, it doesn't seem very fast. As of writing this, I'm inserting 100K rows in total, and it has taken several minutes reaching 20K.

Update: It took over an hour inserting 100 000K rows (15 columns).

Any inputs on this?

Thanks,
Thomas

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