Home | About | Sematext search-lucene.com search-hadoop.com
 Search Hadoop and all its subprojects:

Switch to Plain View
Hive >> mail # user >> ORC vs TEXT file

pandees waran 2013-08-12, 10:39
hongzhan li 2013-08-13, 00:58
pandees waran 2013-08-13, 03:53
Copy link to this message
Re: ORC vs TEXT file
Colmnar formats do not always beat row wise storage. Many times gzip plus
block storage will compress something better then columnar storage
especially when you have repeated data in different columns.

Based on what you are saying it could be possible that you missed a setting
and the ocr are not compressed.
On Monday, August 12, 2013, pandees waran <[EMAIL PROTECTED]> wrote:
> Hi,
> Currently, we use TEXTFILE format in hive 0.8 ,while creating the
> external tables in intermediate processing .
> I have read about ORC in 0.11. I have created the same table in 0.11
> with ORC format.
> Without any compression, the ORC file(totally 3 files) occupied the
> space twice more than the TEXTFILE(only one file).
> Even, when i query the data from ORC:
> Select count(*) from orc_table
> It took more time than the same query against textfile.
> But, i see cumulative CPU time is lesser in ORC than the text file.
> What sort of queries will benefit, if we use ORC?
> In which cases TEXTFILE will be preferred more than ORC?
> Thanks.
pandees waran 2013-08-12, 13:52
Owen OMalley 2013-08-12, 15:20
pandees waran 2013-08-12, 16:27
Owen OMalley 2013-08-12, 21:03