SeunMatt / mysql-backup4j

mysql-backup4j is a library for programmatically exporting mysql databases and sending the zipped dump to email, Amazon S3, Google Drive or any other cloud storage of choice
MIT License
124 stars 71 forks source link

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

Open nicolasriousset opened 1 year ago

nicolasriousset commented 1 year ago

Following up enchancement request #30, I've added a MAX_INSERT_SIZE property, which if set ensures that large insert queries are split into several smaller ones, to avoid exceeding the max_packet_size MySql parameter.