简体   繁体   English

如何设计 HBase Schema

[英]How to Design HBase Schema

We have currently one running project which uses RDBMS database( with lots of tables and stored procedures for manipulating data).我们目前有一个正在运行的项目,它使用 RDBMS 数据库(有很多表和用于操作数据的存储过程)。 The current flow is like: the data access layer will call stored procedures, which will insert/delete/update or fetch data from RDBMS(please note that these stored procedures are not doing any bulk proccesses.).当前流程是这样的:数据访问层将调用存储过程,该存储过程将从RDBMS中插入/删除/更新或获取数据(请注意,这些存储过程不会进行任何批量处理。)。 The current data structure contains lots of primary key, foreign key relation ship and have lots of updates to existing database tables.a I just want to know whether we can use HBase for our purpose?当前的数据结构包含大量主键、外键关系并对现有数据库表进行大量更新。a 我只想知道我们是否可以将 HBase 用于我们的目的? then how can we use Hadoop with HBase replacing RDBMS?那么我们如何使用 Hadoop 和 HBase 替换 RDBMS?

You need to ask yourself, what is the RDBMS not doing for you, and what is it that you hope to achieve by moving to Hadoop/HBase?您需要问自己,RDBMS 没有为您做什么,您希望通过迁移到 Hadoop/HBase 来实现什么?

This article may help.这篇文章可能会有所帮助。 There are a lot more.还有很多。 http://it.toolbox.com/blogs/madgreek/nosql-vs-rdbms-apples-and-oranges-37713 http://it.toolbox.com/blogs/madgreek/nosql-vs-rdbms-apples-and-oranges-37713

If the purpose is trying new technology, I suggest trying their tutorial/getting started.如果目的是尝试新技术,我建议尝试他们的教程/入门。

If it's a clear problem you're trying to solve, then you may want to articulate the problem.如果这是您要解决的明确问题,那么您可能需要阐明问题。

Good Luck!祝你好运!

I hesitate to suggest replacing your current rdbms simply because of the large developer effort that you've already spent.仅仅因为您已经花费了大量的开发人员努力,我不愿建议更换您当前的 rdbms。 Consider that your organization probably has no employees with the needed experience for hbase.考虑到您的组织可能没有具有 hbase 所需经验的员工。 Moving to hbase with the attendant data conversion and application rewriting will be very expensive and risky.迁移到 hbase 伴随的数据转换和应用程序重写将是非常昂贵和冒险的。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM