Skip links

Core.sql.gz -

A core.sql.gz file is a compressed GZIP archive containing a SQL database dump, typically used for or transferring large databases . The ".gz" extension indicates it has been compressed using the Gzip algorithm .

: Modern database tools like DuckDB can decompress these files "on the fly" during an import, which is often faster than decompressing manually because it reduces the amount of data the computer has to read from the disk. Common Commands core.sql.gz

: Gzip compression can reduce the size of plain text SQL files by up to 70–90% . This is particularly effective because SQL dumps contain many repetitive strings (like table names and column headers) that compress efficiently. A core

Its primary "useful feature" is significantly reducing the file size of database exports, making them easier to store and faster to move over networks. Core Benefits Common Commands : Gzip compression can reduce the

: Many web-based management tools like phpMyAdmin have strict file size limits for imports. Compressing a large .sql file into a .sql.gz often brings it under these limits, allowing for easy browser-based uploads.

You can interact with these files directly in a terminal without needing to fully extract them first: How to Compress .SQL file to .SQL.GZ gzip format ?