Decrease the size of data, typically to preserve space or reduce network bandwidth required while transmitting files. It can be applied to files, folders, disks, etc.
Questions tagged [compression]
418 questions
3
votes
3 answers
Automatically Zip/Manage SQL Server 2005 backups
Is there a nice way to have SQL Server 2005 run nightly backups that are automatically zipped with only the last n backups kept?
I know the agent can perform nightly backups, but I think the tricky part of this question would be the zipping up and…

keith
- 145
- 6
3
votes
5 answers
Enable row level compression on all tables and indexes
One of the (optional) requirements for the Works With SQL Server 2008 test is that row level compression is enabled on all tables and indexes. We have an existing database with a lot of tables and indexes already created. Is there an easy way to…

a_hardin
- 623
- 7
- 11
3
votes
1 answer
Backup directory as zip files of 1gb under Ubuntu 9.04
I'm searching for a solution to take a big directory and make a multiarchive zip backup with each zipfile being 1gig. I've looked at zipsplit but appearently you can not actually split files, ie. one of the files in that directory is 5gig, so…

kimausloos
- 67
- 7
3
votes
1 answer
IIS7 Minimum HttpModules Configuration for Static content website
I am trying to setup a really fast, compressed, cached static content website to serve only .jpg, .css and .js
I want to remove all functionality from the website configuration that is not required:
But this configuration keep failing:

Robs
- 167
- 7
3
votes
1 answer
What's the difference between HcDynamicCompressionLevel and HcOnDemandCompLevel?
I currently have this assigned in IIS6 metabase explorer:
HcDynamicCompressionLevel=9
HcOnDemandCompLevel=10
HcDynamicCompressionLevel=9
HcOnDemandCompLevel=10
I read that having a level value of 10 is not good, causes the CPU to…

Level1Coder
- 245
- 2
- 10
3
votes
2 answers
enabled gzip -- running out of threads
I enabled gzip in apache2 and started load testing -- I am seeing a lot of keep alives state busy state -- 95% of the web server worker threads are being used at any given time
While CPU is ok, I am assuming the issue is that the compression is…
bushman
2
votes
2 answers
Extracting single file from large tar.gz file
I have an incredibly large tarball. I'd extract several files out of many thousands within the archive. I'm on CentOS 6.10 running GPFS 4.2.3. I've seen from this answer that pigz is useful in extracting the entire tar.ball. Extracting the entire…

irritable_phd_syndrome
- 186
- 6
2
votes
2 answers
IIS Compression: Enable GZIP and DEFLATE using Powershell
How does one do the following things with IIS 5.1/6.0 using PowerShell:
Enable HTTP Compression
Set GZIP and DEFLATE file extensions
Enable Dynamic and Static compression for GZIP and DEFLATE
Set the compression lvl
Any pointers to tutorials on…

brad
- 283
- 2
- 7
2
votes
1 answer
ZFS does not compress files and all settings look correct
I recently created a ZFS volume to test its compression capabilities. I'm comparing it side by side to an ext4 volume. After creating the new volume and turning compression on with sudo zfs set compression=gzip postgres-zfs I copied a ~3GB file…

Tony
- 1,281
- 4
- 17
- 23
2
votes
8 answers
Compressing Encrypted files
Is there a installer out there, such as InstallShield, Wise or any other, that lets me perform the compression (any format) on an encrypted file, if I give it the passphrase that I used when encrypting the file?
Basically, I have a bunch of files…

DevCompany
- 143
- 1
- 1
- 8
2
votes
1 answer
zram filesystem reports different usage at device level to that reported by the filesystem
We have an 80GB zram device defined on our host, and within this a 170GB ext4 filesystem:
echo 170G > /sys/block/zram0/disksize
echo 80G > /sys/block/zram0/mem_limit
/usr/sbin/mkfs.ext4 -q -m 0 /dev/zram0
/usr/bin/mount /dev/zram0…

Steve Shipway
- 740
- 5
- 17
2
votes
2 answers
Http gzip compression and performance
I've always tried to enable gzip compression on web servers because it seemed to have very low CPU cost and you obtain a significant data transfer reduction.
Now I we have a public server that has not gzip enabled and sometimes it's CPU load is…

Marc Climent
- 277
- 7
- 14
2
votes
4 answers
Enabling Brotli compression on IIS
My team us currently trying to install Brotli compression on a VPS: Windows Server 2012 R2 with IIS8.5 using the 64bit module that can be downloaded here: https://www.iispeed.com/pagespeed/products/iisbrotli
But whatever we try, when I fill out the…

Adam
- 247
- 3
- 4
- 16
2
votes
2 answers
Copying between lzo compressed BtrFS's: de/re-compressing?
I'm copying a large number of files between two lzo compressed BtrFS filesystems on different drives mounted on the same machine. It appears that the files are being de/re-compressed. Is there a way avoid this?

Diagon
- 246
- 1
- 11
2
votes
0 answers
How to enable static GZip compression for versioned "/style.css?v=1" resourcess in IIS?
Google PageSpeed reports that files like .css and .js are compressed, but .css?v=1 and .js?v=1 are not.
How to enable static compression for files that have a dynamically changing version number in the URL?

Slava
- 201
- 3
- 12