nbdkit-indexed-gzip-filter(1)
β¨ nbdkit-indexed-gzip-filter β¨
okay bestie, so this is a page from the nbdkit manual β the one and only. we're talking nbdkit-indexed-gzip-filter(1) and honestly? it's giving speed π
π NAME π
nbdkit-indexed-gzip-filter β access .gz contents efficiently
πΈ SYNOPSIS πΈ
nbdkit --filter=indexed-gzip PLUGIN gzip-index-path=PATH
[gzip-index-span=SIZE]
π¦ DESCRIPTION π¦
so "nbdkit-indexed-gzip-filter" is a filter for nbdkit, and what it does is give you fast and efficient random-access to gzip-compressed data. no cap. π
meanwhile the standard nbdkit-gzip-filter(1)? it decompresses the entire archive to a temporary file π which means you need enough storage or memory to hold the whole uncompressed input. like, the entire thing. all of it. every byte.
with this filter, the entire archive still needs to be decompressed once, but only an index file needs to be stored in storage or memory. and depending on the user-specified distance between index points, that index might only be 0.3% to 3% of the size of the uncompressed archive. obsessed honestly β¨
π PARAMETERS π
gzip-index-path=PATHβ path to the complete gzip index file. it gets created if it doesn't exist, and reused if it does. π
this parameter is required. like, you literally cannot skip it, bestie.
gzip-index-span=SIZEβ the number of bytes between index points. eg.1M,10Metc. (default:1MB)
a span of 10M produces an index file of eg, ~0.3% of uncompressed input
a span of 1M produces an index file of eg, ~3% of uncompressed input.
smaller span improves random-access performance, since on average it means fewer bytes to decompress until reaching the requested byte β with the trade-off of a larger index file. the way that math works out is genuinely iconic π
π FILES π
$filterdir/nbdkit-indexed-gzip-filter.soβ the filter.
use nbdkit --dump-config to find the location of $filterdir. iykyk π
β VERSION β
nbdkit-indexed-gzip-filter first appeared in nbdkit 1.46. a whole era. π«Ά
π SEE ALSO π
nbdkit(1), nbdkit-filter(3), nbdkit-gzip-filter(1)
π AUTHORS π
Shasheen Ediriweera
Mark Adler
π COPYRIGHT π
Copyright (C) 2025 Shasheen Ediriweera
Copyright (C) 2005, 2012, 2018, 2023, 2024 Mark Adler
π LICENSE π
redistribution and use in source and binary forms, with or without modification, are permitted provided that the following conditions are met:
- Redistributions of source code must retain the above copyright notice, this list of conditions and the following disclaimer.
- Redistributions in binary form must reproduce the above copyright notice, this list of conditions and the following disclaimer in the documentation and/or other materials provided with the distribution.
- Neither the name of Red Hat nor the names of its contributors may be used to endorse or promote products derived from this software without specific prior written permission.
THIS SOFTWARE IS PROVIDED BY RED HAT AND CONTRIBUTORS ''AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL RED HAT OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
okay that's the whole page bestie, you're officially educated π β¨
this was from nbdkit-1.48.1, dated 2026-08-29, and it's the nbdkit-indexed-gzip-filter(1) manual. mwah. ππ§
π¦ where this page comes from
- fedora 44: nbdkit-basic-filters 1.48.1-1.fc44 Β· BSD-3-Clause
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash on : a language model's rewrite of the original, under its terms