You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@hbase.apache.org by hm...@tsmc.com on 2011/01/16 15:11:26 UTC

Oracle schema to HBase

Hi,
I want to put a table of data from RDBM to HBase.
Key is the same both in RDBMS and HBase, but I wonder how to put these
columns data.
All put in a cell with json format or keep it like RDBMS table's columns?
Put in Json format, it will impact the ETL when a column's data changed, It
needs to know all other columns value and wrapped it
into json format string. If keeps schema like RDBM, it will need more extra
data space to keep these column and cell inforamtion.
Once we had 31G data , it grew to 500G if we keep the schema like RDBMS.
Any suggestions?



Fleming Chiu(邱宏明)
Ext: 707-2260
Be Veg, Go Green, Save the Planet!
 --------------------------------------------------------------------------- 
                                                         TSMC PROPERTY       
 This email communication (and any attachments) is proprietary information   
 for the sole use of its                                                     
 intended recipient. Any unauthorized review, use or distribution by anyone  
 other than the intended                                                     
 recipient is strictly prohibited.  If you are not the intended recipient,   
 please notify the sender by                                                 
 replying to this email, and then delete this email and any copies of it     
 immediately. Thank you.                                                     
 --------------------------------------------------------------------------- 




Re: Oracle schema to HBase

Posted by Ted Yu <yu...@gmail.com>.
Which compression method did you use for your hbase table ?

Thanks

2011/1/16 <hm...@tsmc.com>

> Hi,
> I want to put a table of data from RDBM to HBase.
> Key is the same both in RDBMS and HBase, but I wonder how to put these
> columns data.
> All put in a cell with json format or keep it like RDBMS table's columns?
> Put in Json format, it will impact the ETL when a column's data changed, It
> needs to know all other columns value and wrapped it
> into json format string. If keeps schema like RDBM, it will need more extra
> data space to keep these column and cell inforamtion.
> Once we had 31G data , it grew to 500G if we keep the schema like RDBMS.
> Any suggestions?
>
>
>
> Fleming Chiu(邱宏明)
> Ext: 707-2260
> Be Veg, Go Green, Save the Planet!
>
>  ---------------------------------------------------------------------------
>                                                         TSMC PROPERTY
>  This email communication (and any attachments) is proprietary information
>  for the sole use of its
>  intended recipient. Any unauthorized review, use or distribution by anyone
>  other than the intended
>  recipient is strictly prohibited.  If you are not the intended recipient,
>  please notify the sender by
>  replying to this email, and then delete this email and any copies of it
>  immediately. Thank you.
>
>  ---------------------------------------------------------------------------
>
>
>
>