Skip to content

Split insert query during export when they exceed a configurable length #30

@nicolasriousset

Description

@nicolasriousset

When exporting a large datebase, the generated insert sql statements may exceed the system limits. Trying to execute the query on MariaDB triggers the following error :
SQL Error (1153): Got a packet bigger than 'max_allowed_packet' bytes

Increasing the 'max_allowed_packet' value is a workaround, hower, adding an "insert size" limit, like in HeidiSQL, would be a better way to solve the issue by splitting the insert statement in several ones.

A default 0 value for this limit would keep the current behaviour.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions