- Community Home
- >
- Servers and Operating Systems
- >
- Legacy
- >
- Operating System - Tru64 Unix
- >
- Re: Compressed file is bigger
Operating System - Tru64 Unix
1748280
Members
4026
Online
108761
Solutions
Forums
Categories
Company
Local Language
юдл
back
Forums
Discussions
Forums
- Data Protection and Retention
- Entry Storage Systems
- Legacy
- Midrange and Enterprise Storage
- Storage Networking
- HPE Nimble Storage
Discussions
Discussions
Discussions
Forums
Forums
Discussions
юдл
back
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
- BladeSystem Infrastructure and Application Solutions
- Appliance Servers
- Alpha Servers
- BackOffice Products
- Internet Products
- HPE 9000 and HPE e3000 Servers
- Networking
- Netservers
- Secure OS Software for Linux
- Server Management (Insight Manager 7)
- Windows Server 2003
- Operating System - Tru64 Unix
- ProLiant Deployment and Provisioning
- Linux-Based Community / Regional
- Microsoft System Center Integration
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Discussion Boards
Blogs
Information
Community
Resources
Community Language
Language
Forums
Blogs
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic for Current User
- Bookmark
- Subscribe
- Printer Friendly Page
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-20-2006 06:51 PM
тАО07-20-2006 06:51 PM
Compressed file is bigger
Hi,
We are having 5.A PK6.
We are trying to compress a dbf file, but when we try to compress this 20MB file, it becomes 22MB.
I can understand the fact that if file can not be compressed, the output fill will be bigger owing to the fact that compress will add its bits/header during compression.
But How can one explain the 10% increase in the size of the file?
Can anybody who is aware of this explain this in details?
Thanks and Best Regards.
Mahesh R. Gune
We are having 5.A PK6.
We are trying to compress a dbf file, but when we try to compress this 20MB file, it becomes 22MB.
I can understand the fact that if file can not be compressed, the output fill will be bigger owing to the fact that compress will add its bits/header during compression.
But How can one explain the 10% increase in the size of the file?
Can anybody who is aware of this explain this in details?
Thanks and Best Regards.
Mahesh R. Gune
2 REPLIES 2
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2006 12:02 AM
тАО07-21-2006 12:02 AM
Re: Compressed file is bigger
Well, you don't give us too much information here, like which exact command you used for compress (I guess a simple compress, not zip).
More importantly, what commands did you use to check the size. Since the files are not too big, just try wc on them. The dbf file, notably if it was TEMP might have been a 'sparse' file where untouched blocks were not actually allocated.
man ls ....
"
NOTE
[Tru64 UNIX] Sparse files, such as quota files, may not be using as much
on-disk storage as the ls -l command reports. Use the ls -s command to
obtain an accurate report of the on-disk storage used by a sparse file."
http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2004-03/0067.html
hth,
Hein.
More importantly, what commands did you use to check the size. Since the files are not too big, just try wc on them. The dbf file, notably if it was TEMP might have been a 'sparse' file where untouched blocks were not actually allocated.
man ls ....
"
NOTE
[Tru64 UNIX] Sparse files, such as quota files, may not be using as much
on-disk storage as the ls -l command reports. Use the ls -s command to
obtain an accurate report of the on-disk storage used by a sparse file."
http://unix.derkeiler.com/Mailing-Lists/Tru64-UNIX-Managers/2004-03/0067.html
hth,
Hein.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report Inappropriate Content
тАО07-21-2006 02:37 AM
тАО07-21-2006 02:37 AM
Re: Compressed file is bigger
Sometimes, compressed files can be larger than original files if the files cannot be compressed because they are alread in "compressed" format.
Why bigger, because the compress program adds information about what it did to compress o r try to compress the file.
Suppose a file that can be compressed, then the compress program will add the info "I have found the same information in the file ten 1000 times, and the location is for was ....".
When trying to do the compression, even if it cannot do nothing, will add information required to decompress the file.
Why bigger, because the compress program adds information about what it did to compress o r try to compress the file.
Suppose a file that can be compressed, then the compress program will add the info "I have found the same information in the file ten 1000 times, and the location is for was ....".
When trying to do the compression, even if it cannot do nothing, will add information required to decompress the file.
Por que hacerlo dificil si es posible hacerlo facil? - Why do it the hard way, when you can do it the easy way?
The opinions expressed above are the personal opinions of the authors, not of Hewlett Packard Enterprise. By using this site, you accept the Terms of Use and Rules of Participation.
News and Events
Support
© Copyright 2024 Hewlett Packard Enterprise Development LP