Welcome to dbFreaks.com!
FAQFAQ    SearchSearch      ProfileProfile    Private MessagesPrivate Messages   Log inLog in

HIDATA compression

 
   Database Help (Home) -> Ingres RSS
Next:  Best Practice  
Author Message
Roy Hann

External


Since: Jul 08, 2008
Posts: 50



(Msg. 1) Posted: Sun Nov 30, 2008 6:29 am
Post subject: HIDATA compression
Archived from groups: comp>databases>ingres (more info?)

What is the current thinking on HIDATA compression?

I have lately been converted to the performance benefits of using
COMPRESSION=DATA, but COMPRESSION=HIDATA seems unimpressive.

I don't feel like digging into the code just now; is it done with
Lempel-Ziv-Welch compression (which is what I was once told), or is it
done with a faster technique now? (Or will it one day?)

--
Roy

UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009
Go to http://www.iua.org.uk/join to get on the mailing list.

 >> Stay informed about: HIDATA compression 
Back to top
Login to vote
Laframboise,_André

External


Since: Oct 01, 2008
Posts: 4



(Msg. 2) Posted: Sun Nov 30, 2008 2:09 pm
Post subject: Re: [Info-Ingres] HIDATA compression [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

We used to use HIDATA a lot when storage was expensive and also because of the old 2GB file limit.
I was also told it was LZW based and I believed it when I was the CPU overhead.

Now that storage is relatively low cost, the space savings no longer outweight the CPU resources
required to support it.
It's better to let the CPUs do some real work than spend 80% of it's time compressing/decompressing.

My $0.02

Andre

-----Original Message-----
From: info-ingres-bounces.TakeThisOut@kettleriverconsulting.com [mailto:info-ingres-bounces@kettleriverconsulting.com] On Behalf Of Roy Hann
Sent: November 30, 2008 7:29 AM
To: info-ingres.TakeThisOut@kettleriverconsulting.com
Subject: [Info-Ingres] HIDATA compression

What is the current thinking on HIDATA compression?

I have lately been converted to the performance benefits of using COMPRESSION=DATA, but COMPRESSION=HIDATA seems unimpressive.

I don't feel like digging into the code just now; is it done with Lempel-Ziv-Welch compression (which is what I was once told), or is it done with a faster technique now? (Or will it one day?)

--
Roy

UK Ingres User Association Conference 2009 will be on Tuesday June 9, 2009 Go to http://www.iua.org.uk/join to get on the mailing list.


_______________________________________________
Info-Ingres mailing list
Info-Ingres.TakeThisOut@kettleriverconsulting.com
http://www.kettleriverconsulting.com/mailman/listinfo/info-ingres

 >> Stay informed about: HIDATA compression 
Back to top
Login to vote
Karl & Betty Schendel

External


Since: Jan 16, 2008
Posts: 29



(Msg. 3) Posted: Mon Dec 01, 2008 7:37 am
Post subject: Re: [Info-Ingres] HIDATA compression [Login to view extended thread Info.]
Archived from groups: per prev. post (more info?)

On Nov 30, 2008, at 7:29 AM, Roy Hann wrote:

> What is the current thinking on HIDATA compression?
>
> I have lately been converted to the performance benefits of using
> COMPRESSION=DATA, but COMPRESSION=HIDATA seems unimpressive.
>
> I don't feel like digging into the code just now; is it done with
> Lempel-Ziv-Welch compression (which is what I was once told), or is it
> done with a faster technique now? (Or will it one day?)

Yes, it's an LZW style symbol-replacement compressor. Or so
the code claims.

I am not impressed by HIDATA. The typical row is too short to
compress well with LZW because of the dictionary overhead.
HIDATA requires an extra leading byte that says whether or
not that particular row could be compressed, so in the worst
case, the table gets bigger rather than smaller. And yes,
it's extremely CPU intensive. For very long rows in archival
tables it might be a win.

I would like to see a simpler run-length compressor that
is more intelligent than standard trailing-blank compression.
I do have a code candidate, although it was written for
hash-join spill file compression rather than DMF row
compression. With a bit of fiddling to add NULL inspection,
which can be a big win when a table is defined WITH NULL,
the code might work OK for row compression. I have been
meaning to fool with that at some point.

Karl
 >> Stay informed about: HIDATA compression 
Back to top
Login to vote
Display posts from previous:   
Related Topics:
Anyone using Plone with Ingres? - I'm currently playing about with Plone and Ingres (i.e. I have created a ZODB that is stored in an Ingres database). I am curious to know who else is. Roy

Windows Server 2003 Ingres Net Problems - Gday, I am running Ingres Net (version 2.6 SP2) on a Windows Server 2003 box with ODBC Driver version 3.50.00.32 and am having some problems with stability. Essentially the problem is that I get a random Ingres ODBC error ERROR [HY000] [CA][Ingres ODBC...

ODBC error message: Unable to authenticate client's user ID - Hi list, we have two machines: 1. Suse Linux with Ingres 2.6 SP2 DBMS 2. Win 2000 Server with IngresNet (client-only) 2.5 The Win 2000 box starts a Borland-Delphi-app that connects via ODBC, unfortunately this fails. Errlog.log on the Windows machine....

Ingres with PHP - Hallo, sorry for my bad english. I need to use IIS/PHP/Ingres, but it does not work. Do you know the exactly way to use Ingres with PHP?

Is there a way to allow ambiguous replace on update? - Ingres 2.6 HP-UX 11.11 Is there a way to temporarily turn on ambiguous replace on update with the use of one of the set trace points? Ambiguous replace used to work in earlier versions of ingres, and I understand it's generally not a good thing and....
   Database Help (Home) -> Ingres All times are: Pacific Time (US & Canada)
Page 1 of 1

 
You can post new topics in this forum
You can reply to topics in this forum
You can edit your posts in this forum
You can delete your posts in this forum
You can vote in polls in this forum



[ Contact us | Terms of Service/Privacy Policy ]