Solid compression

Solid compression

In computing, solid compression refers to a method for data compression of multiple files, wherein all the compressed files are concatenated and treated as a single data block. It is used in the 7z and RAR formats, as well as in tar-based formats such as .tar.gz and .tar.bz2. By contrast, the ZIP is not solid: it stores separate compressed files.

The term is ostensibly because the data is compressed as a single "solid" block, rather than as individual files.

Explanation

Compressed file formats generally feature "both" compression (storing the data in a small space) and archiving (storing multiple files and metadata in a single file). One can combine these in two natural ways:
* compress the individual files, and then archive into a single file;
* archive into a single data block, and then compress.

The order matters (these operations do not commute), and this latter is solid compression.

In Unix, compression and archiving are traditionally separate operations, which allows one to understand this distinction:
* compressing individual files and then archiving would be a tar "of" gzip'ed files – this is very uncommon, while
* archiving via tar and "then" compressing yields a compressed archive: a .tar.gz – and this is solid compression.

Rational

Benefits

Solid compression allows for much better compression rates when all the files are similar, which is often the case if they are of the same file format. It is also very efficient when archiving a large number of rather small files.

Costs

On the other hand, getting a single file out of a solid archive requires processing all the files before it, so modifying solid archives can be slow and inconvenient.

Additionally, if the archive becomes even slightly damaged, some of the data (sometimes even all data) after the damaged part can be unusable (depending on the compression and archiving format), whereas in a non-solid archive format, usually only one file is unusable and the subsequent files can usually still be extracted.


Wikimedia Foundation. 2010.

Игры ⚽ Поможем написать курсовую

Look at other dictionaries:

  • Compression (physical) — Compression test on a universal testing machine Physical compression is the result of the subjection of a material to compressive stress, which results in reduction of volume as compared to an uncompressed but otherwise identical state. The… …   Wikipedia

  • Compression seal fitting — A Compression seal fitting, also known as a sealing gland, is intended to seal some type of element (probe, wire, conductor, pipe, tube, fiber optic cable) when the element must pass through a pressure or environmental boundary. A compression… …   Wikipedia

  • Compression compacte — En informatique, la compression compacte désigne une méthode de compression de données de plusieurs fichiers, où tous les fichiers sont concaténés et traités comme un seul bloc de données. On obtient alors une archive compacte (solid archive). La …   Wikipédia en Français

  • solid — I. adjective Etymology: Middle English solide, from Middle French, from Latin solidus; akin to Greek holos whole more at safe Date: 14th century 1. a. being without an internal cavity < a solid ball of rubber > b. (1) printed with minimum space… …   New Collegiate Dictionary

  • solid — 1. Firm; compact; not fluid; without interstices or cavities; not cancellous. 2. A body that retains its form when not confined; one that is not fluid, neither liquid nor gaseous. [L. solidus] * * * sol·id säl əd adj 1) being without an internal… …   Medical dictionary

  • solid state — noun the state in which a substance has no tendency to flow under moderate stress; resists forces (such as compression) that tend to deform it; and retains a definite size and shape • Syn: ↑solid, ↑solidness • Derivationally related forms: ↑solid …   Useful english dictionary

  • Non-solid — (or nonsolid) may refer to: Anything not in a solid state of matter Non solid archive format, in solid compression computer file data compression In computer graphics, a non solid is a virtual object that does not collide with other objects (see… …   Wikipedia

  • Mooney–Rivlin solid — Continuum mechanics …   Wikipedia

  • Metal Gear Solid 4: Guns of the Patriots — North American box art Developer(s) Kojima Productions P …   Wikipedia

  • Globe of compression — Globe Globe (gl[=o]b), n. [L. globus, perh. akin to L. glomus a ball of yarn, and E. clump, golf: cf. F. globe.] 1. A round or spherical body, solid or hollow; a body whose surface is in every part equidistant from the center; a ball; a sphere.… …   The Collaborative International Dictionary of English

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”