473,511 Members | 14,990 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Data Compression

Hi,
I am told that Oracle has this "data compression" feature that allows
you to store online data ina compressed format.
This is different from archived data - you compress only that data
which is infrequently accessed but is still available in the online
database.

I am interested in finding out an equivalent feature in DB2 UDB on LUW.
If there exists one, how should I go about implementing this?
If there is an alternative strategy to achieve the same goal, what is
it and how to implement the same.

Finally, are there any benchmarks or white papers(published by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........anurag

Nov 12 '05 #1
8 2456
DB2 on the mainframe (z/OS) supports tablespace compression.
DB2 LUW doesn't.

--
Message posted via http://www.dbmonster.com
Nov 12 '05 #2
Anurag wrote:
Hi,
I am told that Oracle has this "data compression" feature that allows
you to store online data ina compressed format.
This is different from archived data - you compress only that data
which is infrequently accessed but is still available in the online
database.

I am interested in finding out an equivalent feature in DB2 UDB on LUW.
If there exists one, how should I go about implementing this?
If there is an alternative strategy to achieve the same goal, what is
it and how to implement the same.

Finally, are there any benchmarks or white papers(published by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........anurag

AFAIK DB2 for LUW, supports compression for DEFAULT values.
DB2 for zOS supports hardware assisted general data compression.
You will hardly find an IBM witepaper detailing the benefits of Oracle's
data compression ;-)
Either way compression comes at a price. You trade CPU cycles for space.

It's an interesting question how compression on the I/O subsystem itself
ocmpares against compression on the DBMS level.

Cheers
Serge
--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #3
> Either way compression comes at a price. You trade CPU cycles for
space.

Here's a scenario begging for compression: you've got a warehouse with
3 years of detailed data totalling 5 TB. This warehouse is only used
to generate summary data and marts - no end-user queries occur. The
older data is kept online - since it allows the warehouse to regenerate
a mart or create a new summary with full historical data quickly &
easily. However, this only happens every 6 months or so. In this case
the occasional cpu penalty is a great trade-off for the continual
savings on storage. Alternatively, I can keep the data on
slower/cheaper storage - but that isn't always conveniently available.
And db2 doesn't move partitions around in a way to make that easy
either.

Anyhow it's not the only such scenario. I vote to add it to db2 :-)

buck

Nov 12 '05 #4
Buck Nuggets wrote:
Either way compression comes at a price. You trade CPU cycles for
space.

.... Anyhow it's not the only such scenario. I vote to add it to db2 :-)

I did not mean to marginalize the feature.

Cheers
Serge

--
Serge Rielau
DB2 SQL Compiler Development
IBM Toronto Lab
Nov 12 '05 #5
Anurag wrote:

Finally, are there any benchmarks or white papers(published by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........anurag


http://www.oracle.com/technology/ora...tech_data.html
http://www.oracle.com/technology/pro...rmance_twp.pdf

Nov 12 '05 #6
"Anurag" <an**********@gmail.com> wrote in message >
Finally, are there any benchmarks or white papers(published by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........anurag

http://www.tpc.org/tpch/results/tpch_perf_results.asp
Nov 12 '05 #7
Mark A wrote:
"Anurag" <an**********@gmail.com> wrote in message >
Finally, are there any benchmarks or white papers(published by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........anurag


http://www.tpc.org/tpch/results/tpch_perf_results.asp


I don't think any of the Oracle published benchmarks use the compression
feature. An earlier one did (referenced in the TWP I posted), but it was
on the old spec and has since been withdrawn. There is little
justification to use compression when doing a TPC-H

Nov 12 '05 #8
"Mark Townsend" <ma***********@comcast.net> wrote in message
news:42************@comcast.net...
I don't think any of the Oracle published benchmarks use the compression
feature. An earlier one did (referenced in the TWP I posted), but it was
on the old spec and has since been withdrawn. There is little
justification to use compression when doing a TPC-H

In theory, data compression could help certain aspects of performance on the
TPC-H benchmark. The decision support benchmark has a lot of tablespace
scans required to process the SQL queries, and if the data was compressed,
then fewer physical page I/O's would be required. Also, if less disk space
were needed, the Price/QphH would be lower.

The problem (as noted) is that there is extra CPU processing required to
de-compress the data, so the net benefit may be minimal, or perhaps even
negative (but I don't really know). If you say that Oracle TPC-H benchmarks
would not benefit from compression, then I will take your word for it.

DB2 for z/OS data compression was first implemented when most people stored
data on mainframe disk systems (3390, etc), which where an order of
magnitude more expensive than the cost of disk space on UNIX systems.
Nov 12 '05 #9

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

2
1895
by: Michał Sierakowski | last post by:
Hi, I have IBM DB2 UDB v7 installed on W2k. Is it possible to compress tables with data. I searched Internet and haven't found any solution. Thanks in advance, Michal Sierakowski
1
3711
by: rawCoder | last post by:
Hi, Please correct me if I am wrong but according to my assumption .NET does not provide any out of the box solution for compression of the data over socket or a network stream. If so, what...
2
2536
by: Stefan L | last post by:
Hi Everybody, does anyone know if there is a good compression library available for the .NET-Framework? I want to compress a byte-Array (chunk from a file) for transmission over the internet...
6
1463
by: Danny Tuppeny | last post by:
Hi all, I'm writing a news client (mainly to test out CAB & ClickOnce!), and trying to decide on what to use for the storage of messages etc.. SQL Express seems like overkill (and is a hefty...
2
2478
by: TerryStone | last post by:
Thanks to anyone who reads this. Below is some C# that compresses an array of bytes, and then decompresses, and compares the original data with the new. Firstly, the length of the decompressed...
8
9219
by: Frank Swarbrick | last post by:
My DBA says that a column defined, for instance, as DECIMAL(11,2) and containing a value of 1.00 takes up no more space on the database disk than a column defined as DECIMAL(7,2) and containing a...
10
2181
by: oktayarslan | last post by:
Hi all; I have a problem when inserting an element to a vector. All I want is reading some data from a file and putting them into a vector. But the program is crashing after pushing a data which...
5
2925
by: DR | last post by:
Why is its substantialy slower to load 50GB of gzipped file (20GB gzipped file) then loading 50GB unzipped data? im using System.IO.Compression.GZipStream and its not maxing out the cpu while...
0
1251
by: ruthruth | last post by:
Wished to know in detail abt the below 1-what are the various compression strategies designed specifically for XML data.? 2- comparison between AXECHOP AND TREECHOP techniques to other XML...
0
7237
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
7137
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
7506
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each...
0
5659
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
4734
by: conductexam | last post by:
I have .net C# application in which I am extracting data from word file and save it in database particularly. To store word all data as it is I am converting the whole word file firstly in HTML and...
0
3219
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The...
0
3210
by: adsilva | last post by:
A Windows Forms form does not have the event Unload, like VB6. What one acts like?
1
780
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
0
445
bsmnconsultancy
by: bsmnconsultancy | last post by:
In today's digital era, a well-designed website is crucial for businesses looking to succeed. Whether you're a small business owner or a large corporation in Toronto, having a strong online presence...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.