[ 
https://issues.apache.org/jira/browse/OOZIE-1926?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14058591#comment-14058591
 ] 

Ryota Egashira commented on OOZIE-1926:
---------------------------------------

blob has header bytes that indicates compression codec used.  thus, when 
reading blob column from DB, the header tells which codec to decompress the 
blob, or no need to decompress.  so, at the time of NONE, the blob is not 
compressed when persisted to DB,  and when reading from DB, we know no need to 
decompress.  afterwards, when switch to gz,  the blob becomes compressed by 
gzip when persisted to DB.  when reading it from DB, the header tells it's gzip 
compression, it's transparent in such a manner.

> make gz blob compression as default
> -----------------------------------
>
>                 Key: OOZIE-1926
>                 URL: https://issues.apache.org/jira/browse/OOZIE-1926
>             Project: Oozie
>          Issue Type: Bug
>            Reporter: Ryota Egashira
>            Assignee: Ryota Egashira
>         Attachments: OOZIE-1926.patch
>
>
> this helps reduce DB size.



--
This message was sent by Atlassian JIRA
(v6.2#6252)

Reply via email to