为了账号安全,请及时绑定邮箱和手机立即绑定

海量日志数据存储用 elasticsearch 和 hbase 哪个好?

海量日志数据存储用 elasticsearch 和 hbase 哪个好?

查看完整描述

5 回答

?
android也疯狂

TA贡献10条经验 获得超7个赞

HBase是schema free的,加字段完全没问题
用ES存日志数据,成本会很高
推荐的架构:ES给日志建索引(看业务是否需要),日志原始内容存HBase

查看完整回答
3 反对 回复 2018-02-09
?
liujingru

TA贡献4条经验 获得超3个赞

elasticsearch 和 hbase 存储机制不一样

hbase是Key vlaue 的形式,大批量拉取数据,存储海量的数据性能必须大于elasticsearch,但是搜索列没有优势

elasticsearch是基于lunce,优点是搜索速度快,方便建立索引,支持全文检索,但是数据上百亿的情况下,干不过HBASE

两者都有好处,使用场景不一样

查看完整回答
2 反对 回复 2018-02-09
?
慕丝8347153

TA贡献1条经验 获得超0个赞

https://www.imooc.com/wenda/3

https://www.msn.cn/zh-cn?ocid=iehp&pc=EPHPC

https://www.baidu.com/

https://m.imdb.com/find?q=%E7%A7%83%E6%9D%BF%E7%90%83%E7%B2%BE%E5%BA%A6%E6%81%92%E5%8E%8B%E4%B8%8E%E5%88%9D%E9%80%9F%E7%9A%84%E5%85%B3%E7%B3%BB%E3%80%906499%2B5331%27q%E3%80%91f8y
https://m.imdb.com/find?q=50%E5%BA%A7%E5%AD%90%E7%8E%B0%E5%9C%A8%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B9%B0%E5%88%B0%E3%80%906499%2B5331%27q%E3%80%91Jgg
https://m.imdb.com/find?q=%E6%89%93%E7%8C%8E%E7%9A%84%E4%B8%9C%E8%A5%BF%E6%B7%98%E5%AE%9D%E6%80%8E%E4%B9%88%E6%89%BE%E3%80%906499%2B5331%27q%E3%80%91uRF
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E5%A5%97%E4%BB%B6%E4%BB%B7%E6%A0%BC%E6%B7%98%E5%AE%9D%E9%85%8D%E4%BB%B6%E9%9B%B6%E9%83%A8%E4%BB%B6%E3%80%906499%2B5331%27q%E3%80%91Rp3
https://m.imdb.com/find?q=%E7%A7%83%E6%89%93%E9%B8%9F%E6%88%B7%E5%A4%96%E6%96%91%E9%B8%A0%E9%87%8E%E7%8C%AA%E9%B8%A1%E3%80%906499%2B5331%27q%E3%80%91z5b
https://m.imdb.com/find?q=%E5%8F%B0%E5%BE%B7%E7%93%A6%E7%9A%84%E7%AE%A1%E5%AD%90%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B9%B0%E5%88%B0%E3%80%906499%2B5331%27q%E3%80%91CQ8
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E5%A5%97%E4%BB%B6%E4%BB%B7%E6%A0%BC%E6%B7%98%E5%AE%9D%E9%85%8D%E4%BB%B6%E9%9B%B6%E9%83%A8%E4%BB%B6%E3%80%906499%2B5331%27q%E3%80%91yrH
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E7%87%95%E5%B0%BE%E5%9E%8B%E5%8F%B7%E4%BB%B7%E6%A0%BC%E5%9B%BE%E7%89%87%E5%9B%BE%E7%BA%B8%E5%86%85%E8%84%8F%E3%80%906499%2B5331%27q%E3%80%91Jbu
https://m.imdb.com/find?q=%E6%B7%98%E5%AE%9D%E6%9C%89%E5%8D%96%E6%9D%BF%E7%90%83%E5%BA%A7%E5%AD%90%E7%9A%84%E5%90%97%E3%80%906499%2B5331%27q%E3%80%91vJJ
https://m.imdb.com/find?q=%E5%8F%B0%E6%B9%BE%E5%B1%B1%E7%8C%AB%E4%BB%B7%E6%A0%BC%E5%A4%9A%E5%B0%91.%E7%A7%83%E6%89%B3%E6%9C%BA%E5%A5%97%E4%BB%B6%E3%80%906499%2B5331%27q%E3%80%91O7B
https://m.imdb.com/find?q=%E4%BB%BF%E5%88%B654%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%906499%2B5331%27q%E3%80%91JU3
https://m.imdb.com/find?q=%E7%A7%8355%E9%93%85%E5%BC%B9%E9%9C%80%E8%A6%81%E4%BB%80%E4%B9%88%E5%9E%8B%E5%8F%B7%E7%9A%84%E9%93%85%E4%B8%9D%E3%80%906499%2B5331%27q%E3%80%91tRk
https://m.imdb.com/find?q=%E5%BF%AB%E6%8E%92%E5%92%8C%E7%A7%83%E5%AD%90%E5%93%AA%E4%B8%AA%E5%A5%BD%E5%A8%81%E5%8A%9B%E5%A4%A7%E3%80%906499%2B5331%27q%E3%80%91jwi
https://m.imdb.com/find?q=%E9%87%8E%E5%A4%96%E6%B0%94%E5%8A%A8%E6%89%93%E7%8C%8E%E6%89%93%E9%B8%9F%E5%B7%A5%E5%85%B7%E7%9A%84%E5%90%8D%E5%AD%97%E3%80%906499%2B5331%27q%E3%80%91j9r
https://m.imdb.com/find?q=%E6%80%8E%E4%B9%88%E6%89%93%E9%87%8E%E9%B8%A1%E7%9A%84%E6%96%B9%E6%B3%95%E5%B7%A5%E5%85%B7%E3%80%906499%2B5331%27q%E3%80%91XgN
https://m.imdb.com/find?q=b50%E5%92%8C%E6%9D%BF%E7%90%83%E7%9A%84%E4%BC%98%E7%82%B9%E3%80%906499%2B5331%27q%E3%80%91K96
https://m.imdb.com/find?q=%E6%89%93%E7%8C%8E%E8%A3%85%E5%A4%87%E5%9C%A8%E5%93%AA%E9%87%8C%E4%B9%B0%E3%80%906499%2B5331%27q%E3%80%91yGY
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E6%89%93%E7%8C%8E%E7%8C%AA%E9%87%8E%E9%B8%A1%E7%B2%BE%E5%BA%A6%E6%9D%80%E4%BC%A4%E5%8A%9B%E3%80%906499%2B5331%27q%E3%80%91ffQ
https://m.imdb.com/find?q=%E6%88%B7%E5%A4%96%E8%A3%85%E5%A4%87%E6%89%93%E9%B8%9F%E7%8B%A9%E7%8C%8E%E5%B7%A5%E5%85%B7%E5%A8%81%E5%8A%9B%E5%A4%A7%E5%85%A8%E3%80%906499%2B5331%27q%E3%80%91sfg
https://m.imdb.com/find?q=%E6%89%93%E9%B8%9F%E5%BC%A9%E7%A7%83%E4%BB%B7%E6%A0%BC%E6%98%AF%E5%A4%9A%E5%B0%91%E7%B1%B3%E5%A8%81%E5%8A%9B%E3%80%906499%2B5331%27q%E3%80%91tQH
https://m.imdb.com/find?q=56%E5%B0%8F%E5%8F%A3%E5%BE%84%E5%AD%90%E5%BC%B9%E6%80%8E%E4%B9%88%E5%81%9A%E3%80%906499%2B5331%27q%E3%80%91j83
https://m.imdb.com/find?q=%E6%89%93%E9%B8%9F%E7%A7%83%E6%9D%BF%E7%90%83%E4%BB%80%E4%B9%88%E4%BB%B7%E5%BE%AE%E4%BF%A1%E5%8F%B7%E3%80%906499%2B5331%27q%E3%80%91CpQ
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E5%87%A0%E6%9D%A1%E8%86%9B%E7%BA%BF%E5%8F%AF%E4%BB%A5%E6%89%93%E5%A4%9A%E8%BF%9C%E5%A8%81%E5%8A%9B%E8%B7%9D%E7%A6%BB%E3%80%906499%2B5331%27q%E3%80%91Ttq
https://m.imdb.com/find?q=%E5%BF%AB%E6%8E%92%E7%8E%B0%E5%9C%A8%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B9%B0%E5%88%B0%E3%80%906499%2B5331%27q%E3%80%91jzP
https://m.imdb.com/find?q=%E7%87%95%E5%B0%BE%E6%B7%98%E5%AE%9D%E4%B8%8A%E6%9C%89%E5%8D%96%E5%90%97%E3%80%906499%2B5331%27q%E3%80%91f8N
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E6%B0%94%E7%8B%97%E6%A8%A1%E5%85%B7%E6%9D%BF%E7%90%83%E4%BB%B7%E6%A0%BC%E3%80%906499%2B5331%27q%E3%80%91x1H
https://m.imdb.com/find?q=%E7%BE%8E%E7%A7%83%E5%92%8C%E5%9B%BD%E7%A7%83%E7%9A%84%E5%8C%BA%E5%88%AB%2C%E9%92%A2%E7%AC%94%E7%8B%97%E3%80%906499%2B5331%27q%E3%80%91jQC
https://m.imdb.com/find?q=%E5%93%AA%E9%87%8C%E6%9C%89%E5%8D%96m9a1%E7%9A%84%E3%80%906499%2B5331%27q%E3%80%91bQq
https://m.imdb.com/find?q=%E7%8E%B0%E5%9C%A8%E7%A7%83%E5%AD%90%E8%A6%81%E5%A4%9A%E5%B0%91%E4%B8%80%E6%8A%8A%E3%80%906499%2B5331%27q%E3%80%91H86
https://m.imdb.com/find?q=%E8%BF%9B%E5%8F%A3%E7%A7%83%E5%A4%9A%E5%B0%91%E9%92%B1%E4%B8%80%E5%A5%97%E3%80%906499%2B5331%27q%E3%80%91R7n
https://m.imdb.com/find?q=%E7%A7%83%E5%88%9D%E9%80%9F%E5%A4%9A%E5%B0%91%E6%9C%80%E7%A8%B3%E5%AE%9A280%E7%B2%BE%E5%BA%A6%E6%80%8E%E4%B9%88%E6%A0%B7%E3%80%906499%2B5331%27q%E3%80%91Nob
https://m.imdb.com/find?q=%E6%B0%94%E5%8A%A8%E6%A0%BC%E6%B4%9B%E5%85%8B%E6%B7%98%E5%AE%9D%E6%80%8E%E4%B9%88%E6%89%BE%E3%80%906499%2B5331%27q%E3%80%91I0d
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E7%87%95%E5%B0%BE%E5%93%AA%E9%87%8C%E6%9C%89%E5%8D%96%E3%80%906499%2B5331%27q%E3%80%91vbA
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E6%A8%A1%E5%85%B7%E6%AF%8D%E9%B8%A1%E6%B7%98%E5%AE%9D%E6%80%8E%E4%B9%88%E6%89%BE%E6%90%9C%E7%B4%A2%E3%80%906499%2B5331%27q%E3%80%91dV5
https://m.imdb.com/find?q=WE%E6%B0%94%E5%8A%A8%E7%8E%A9%E5%85%B7%E5%93%AA%E9%87%8C%E6%9C%89%E5%8D%96%E3%80%906499%2B5331%27q%E3%80%91k52
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E7%87%95%E5%B0%BE%E5%9E%8B%E5%8F%B7%E4%BB%B7%E6%A0%BC%E5%9B%BE%E7%89%87%E5%9B%BE%E7%BA%B8%E5%86%85%E8%84%8F%E3%80%906499%2B5331%27q%E3%80%91gNI
https://m.imdb.com/find?q=%E7%8E%B0%E5%9C%A8%E7%A7%83%E5%AD%90%E5%A8%81%E5%8A%9B%E5%A4%9A%E5%B0%91%E4%B8%80%E6%8A%8A%E8%B7%9D%E7%A6%BB%E3%80%906499%2B5331%27q%E3%80%91UpT
https://m.imdb.com/find?q=%E6%B7%98%E5%AE%9D%E4%B8%8A%E6%80%8E%E4%B9%88%E6%89%BE%E5%BC%A9%EF%BC%8C%E7%A7%83%E9%85%8D%E4%BB%B6%E4%BB%B7%E6%A0%BC%E3%80%906499%2B5331%27q%E3%80%91cFl
https://m.imdb.com/find?q=%E7%A7%83%E5%93%AA%E9%87%8C%E5%8F%AF%E4%BB%A5%E4%B9%B0%E5%88%B0%E6%89%93%E7%8C%8E%E7%9A%84%E4%B8%9C%E8%A5%BF%E3%80%906499%2B5331%27q%E3%80%91VUx
https://m.imdb.com/find?q=%E7%A7%83%E5%93%AA%E9%87%8C%E6%9C%89%E5%8D%96%E9%93%85%E6%A8%A1%E5%85%B7%E7%9A%84%E3%80%906499%2B5331%27q%E3%80%91D0T
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E4%B8%80%E8%88%AC%E5%A4%9A%E5%B0%91%E4%B8%AA%E6%B0%94%E5%8E%8B%E3%80%906499%2B5331%27q%E3%80%91Lu1
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E9%9C%80%E8%A6%81%E5%A5%BD%E5%A4%9A%E4%B8%80%E6%8A%8A%E3%80%906499%2B5331%27q%E3%80%91pmR
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E8%83%BD%E6%89%93%E5%A4%9A%E5%B0%91%E4%B8%AA%E5%8E%8B%E3%80%906499%2B5331%27q%E3%80%91sGW
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E6%A0%87%E5%87%86%E5%A4%9A%E5%B0%91%E7%B1%B3%E6%9C%80%E5%90%88%E9%80%82%E3%80%906499%2B5331%27q%E3%80%91O00
https://m.imdb.com/find?q=%E6%B7%98%E5%AE%9D%E4%B8%8A%E5%BC%A9%E7%9A%84%E5%90%8D%E7%A7%B0%E3%80%906499%2B5331%27q%E3%80%91C55
https://m.imdb.com/find?q=%E4%B8%89%E5%88%A9%E8%BE%BE%E6%AD%A3%E5%93%81%E5%B0%8F%E9%BB%91%E8%B1%B9%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%906499%2B5331%27q%E3%80%91fC9
https://m.imdb.com/find?q=%E7%A7%83%E9%B9%B0%E6%A0%A1%E5%A4%9A%E5%B0%91%E7%B1%B3%E3%80%906499%2B5331%27q%E3%80%91h20
https://m.imdb.com/find?q=%E6%9D%BF%E7%90%83%E7%9A%84%E6%9C%89%E6%95%88%E5%B0%84%E7%A8%8B%E6%98%AF%E5%A4%9A%E5%B0%91%E7%B1%B3%E3%80%906499%2B5331%27q%E3%80%91B26
https://m.imdb.com/find?q=%E4%B8%80%E6%8A%8A%E6%9D%BF%E7%90%83%E5%A4%9A%E5%B0%91%E9%92%B1%E3%80%906499%2B5331%27q%E3%80%91BN6
https://m.imdb.com/find?q=%E6%9D%BF%E7%90%83%E8%83%BD%E6%89%93%E5%A4%9A%E5%B0%91%E7%B1%B3%E3%80%906499%2B5331%27q%E3%80%91RHH
https://m.imdb.com/find?q=ED%E5%92%8C%E6%9D%BF%E7%90%83%E5%93%AA%E4%B8%AA%E5%A5%BD%E3%80%906499%2B5331%27q%E3%80%91cBu
https://m.imdb.com/find?q=%E7%A7%83%E6%9D%BF%E7%90%83ed%E5%86%B2%E6%92%9E-%E7%B2%BE%E5%BA%A6%E5%A8%81%E5%8A%9B%E3%80%906499%2B5331%27q%E3%80%91gQJ
https://m.imdb.com/find?q=%E4%BF%84%E7%BD%97%E6%96%AFed%E5%92%8C%E7%A7%83%E9%B9%B0%E5%AF%B9%E6%AF%94%E3%80%906499%2B5331%27q%E3%80%91HjG
https://m.imdb.com/find?q=%E7%A7%83%E5%AD%90%E4%B8%80%E8%88%AC%E5%A4%9A%E5%B0%91%E4%B8%AA%E6%B0%94%E5%8E%8B%E3%80%906499%2B5331%27q%E3%80%91LbB
https://m.imdb.com/find?q=%E6%80%8E%E4%B9%88%E6%8F%90%E9%AB%98%E7%A7%83%E5%AD%90%E7%B2%BE%E5%BA%A6%E8%A7%86%E9%A2%91%E3%80%906499%2B5331%27q%E3%80%91vyg
https://m.imdb.com/find?q=%E5%93%AA%E9%87%8C%E6%90%9E%E5%88%B0%E7%A7%83%E5%AD%90%E3%80%906499%2B5331%27q%E3%80%91FHD
https://m.imdb.com/find?q=ED%E6%9D%BF%E7%90%83PCP%E5%8E%9F%E7%90%86%E5%8E%9F%E8%A3%85%E8%BF%9B%E5%8F%A3%E5%9B%BE%E7%89%87%E3%80%906499%2B5331%27q%E3%80%91qOw
https://m.imdb.com/find?q=%E6%9D%BF%E7%90%83%E6%94%B9%E7%94%B5%E7%A3%81%E9%98%80%E3%80%906499%2B5331%27q%E3%80%91APQ
https://m.imdb.com/find?q=15%E4%B8%AA%E5%8E%8B%E7%9A%84pcp%E5%A8%81%E5%8A%9B%E5%A6%82%E4%BD%95%E3%80%906499%2B5331%27q%E3%80%91mhM
https://m.imdb.com/find?q=%E7%A7%83%E6%9D%BF%E7%90%83pcp635%E7%AE%A1%E5%AD%90%E5%A4%9A%E9%95%BF%E5%A5%BD%E3%80%906499%2B5331%27q%E3%80%91jMw
https://m.imdb.com/find?q=%E7%A7%83%E6%9D%BF%E7%90%8315%E4%B8%AA%E5%8E%8B%E7%9A%84pcp%E5%A8%81%E5%8A%9B%E5%A6%82%E4%BD%95%E3%80%906499%2B5331%27q%E3%80%91u2N

查看完整回答
反对 回复 2021-07-12
?
是王小二呀

TA贡献88条经验 获得超19个赞

其实只是存储我觉得你放hive就可以了,之后无论是怎么样迁移,大家对hive的支持基本都是有的,当然可以在数据格式上改进一下,比如parquet\cabondata等,无论怎么样,还是要看具体场景

查看完整回答
反对 回复 2018-02-28
?
大吉大利今晚学习

TA贡献10条经验 获得超3个赞

//img1.sycdn.imooc.com//5a7d38c30001ffbb06040081.jpg

一个是搜索引擎,一个是数据库

在分布式环境中,两者得到广泛使用,但发挥的作用不一样。具体要怎么配合,要看实际业务了

查看完整回答
反对 回复 2018-02-09
  • 5 回答
  • 0 关注
  • 35253 浏览
慕课专栏
更多

添加回答

举报

0/150
提交
取消
意见反馈 帮助中心 APP下载
官方微信