473,796 Members | 2,737 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(publishe d by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........an urag

Nov 12 '05 #1
8 2486
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(publishe d by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........an urag

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(publishe d by Oracle /
IBM / independents) that bring out the storage benefits of this data
compression feature of Oracle?

Rgds.........an urag


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

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

Rgds.........an urag

http://www.tpc.org/tpch/results/tpch_perf_results.asp
Nov 12 '05 #7
Mark A wrote:
"Anurag" <an**********@g mail.com> wrote in message >
Finally, are there any benchmarks or white papers(publishe d 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.ne t...
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
1908
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
3724
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 are the best alternatives for a high speed text compression library which is ideally ubiquitous and free :-D Thank you in advance,
2
2548
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 to a client. On the client side I want to decompress the data and use it. Any recommendations for this sort of problem?
6
1476
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 download for a < 1MB app!). Also, since there could be thousands of messages (potentially binary), I'm not sure that serializing my classes to disk would perform at all well. What would other people use for a small app like this? And why?
2
2493
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 data is shorter than the original. So some loss of data has occured. But the content up until the early truncation matches. So am I flushing correctly? This error only occurs for particular combinations of bytes in the original buffer.
8
9343
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 value of 1.00. I am honestly having a hard time believing this, but I don't know where I can find the answer. Help? Thanks, Frank
10
2208
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 has string value. I really do not understand why push_back() function is trying to remove previously inserted data. Thanks for any help
5
2950
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 loading the gzip data! Im using the default buffer of the stream that i open on the 20GB gzipped file and pass it into the GZipStream ctor. then System.IO.Compression.GZipStream takes an hour! when just loading 50GB file of data takes a few minutes!
0
1272
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 compression schemes with respect to compression ratio and compression time in detail. 3-It is said that "XML's verbose nature tends to increase the size of a data file by as much as ten-fold" what is the reason for that ? what is this verbose...
0
9535
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
10465
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers, it seems that the internal comparison operator "<=>" tries to promote arguments from unsigned to signed. This is as boiled down as I can make it. Here is my compilation command: g++-12 -std=c++20 -Wnarrowing bit_field.cpp Here is the code in...
0
10242
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
0
10021
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 protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
9061
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
0
6800
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 then checking html paragraph one by one. At the time of converting from word file to html my equations which are in the word document file was convert into image. Globals.ThisAddIn.Application.ActiveDocument.Select();...
1
4127
by: 6302768590 | last post by:
Hai team i want code for transfer the data from one system to another through IP address by using C# our system has to for every 5mins then we have to update the data what the data is updated we have to send another system
2
3744
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.
3
2931
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 can significantly impact your brand's success. BSMN Consultancy, a leader in Website Development in Toronto offers valuable insights into creating effective websites that not only look great but also perform exceptionally well. In this comprehensive...

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.