Releases: jamf/go-mysqldump
Support Views
Merge pull request #20 from jamf/JPRO-3315-Suppress-View-Inserts JPRO-3315 Suppress Insert Statements For Views
Support JSON Blobs
Merge pull request #15 from jamf/JPXI-4032-database-backup-json Jpxi 4032 database backup json
Support JSON Blobs
Merge pull request #15 from jamf/JPXI-4032-database-backup-json Jpxi 4032 database backup json
Allow virtual columns in the database
Merge pull request #12 from BrandonRoehl/develop Fogot to version bump
Removed unused arrays from the structure
Removal of unused array has no functional change but should allocate slightly less memory when dumping a table since the Reflection Types will not be stored
Single transaction and Lock tables is available
All dumps will now rollback a single transaction to protect against modification and allow some database engines to get a repeatable read for when the backup starts.
There is now an additional option on mysqldump.Dump
called LockTables
that will lock all tables for the duration of the dump to guarantee consistent backups with some database engines.
Steam INSERT statements when
Breaks up INSERT
statements at the MySQLs default max_packet_size unless specified a separate size.
Reduce memory usage with streams
This allows us to dump tables of any size.
Reduce memory usage
Reduces memory usage so now we only require n + x bytes in memory for the largest table instead of 2(n+x) for the largest table.
Stability Enhancements
v0.3.4 Test pass