From a1506c00cab2044420dbbe4bf1877cfed8f0df87 Mon Sep 17 00:00:00 2001 From: Ngo Quoc Dat Date: Thu, 26 Nov 2026 07:06:31 +0700 Subject: [PATCH] docs(import-export): a gzipped dump splits into gzip parts, and the import dialog counts as it runs --- features/import-export.mdx | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/features/import-export.mdx b/features/import-export.mdx index 652c687..9f1ea5a 100644 --- a/features/import-export.mdx +++ b/features/import-export.mdx @@ -146,7 +146,7 @@ As SQL, a results export writes `INSERT` statements only. A result set is the ou Insert mode is spelled differently on each engine: `INSERT IGNORE` and `REPLACE INTO` on MySQL and MariaDB, `INSERT OR IGNORE` and `INSERT OR REPLACE` on SQLite, `ON CONFLICT` on PostgreSQL. Updating needs a primary key to name as the conflict target. An engine with no spelling for the mode writes plain inserts, and the export summary says which tables that happened to. - Splitting writes `dump.part1.sql`, `dump.part2.sql` and so on, rotating between statements so no part ends mid-`INSERT`. The summary names the first and last part; restore them in order. Each part re-opens the session state its own statements need, so a part restores on its own: on SQL Server that means `SET IDENTITY_INSERT`, which a part boundary used to leave behind. A part that cannot be written stops the export, and the error names the parts already on disk, because a rename cannot be taken back. A gzipped export is one file, so the two settings do not combine and the summary says so. + Splitting writes `dump.part1.sql`, `dump.part2.sql` and so on, rotating between statements so no part ends mid-`INSERT`. The summary names the first and last part; restore them in order. Each part re-opens the session state its own statements need, so a part restores on its own, `SET IDENTITY_INSERT` on SQL Server included. With gzip on, each part is a gzip file of its own, `dump.part1.sql.gz` and so on, and the split size is the compressed size on disk. A part that cannot be written stops the export, and the error names the parts already on disk, because a rename cannot be taken back. A dump is UTF-8 and says so in every part, the way the engine's own dump tool does: @@ -284,7 +284,7 @@ The extension picks the format, so one command covers all of them. A file no for Encoding, transaction wrapping, and error handling for SQL; parsing and column mapping for CSV and JSON. TablePro remembers the options from your last successful import, and **Reset to Defaults** restores the stock ones. - Check the preview, statement count, and file size, then click **Import**. The progress bar of a SQL file follows how much of the file has been read, and the count beside it counts statements. The connection's [Safe Mode](/features/safe-mode) asks once for the whole file where its level calls for a confirmation or Touch ID. + Check the preview and file size, then click **Import**. The progress bar of a SQL file follows how much of the file has been read, compressed bytes for a `.sql.gz`, and the count beside it counts the statements run so far. The connection's [Safe Mode](/features/safe-mode) asks once for the whole file where its level calls for a confirmation or Touch ID.