有谁知道我可以存储在了Riak大型二进制值? [英] Does anyone know how I can store large binary values in Riak?

查看:137
本文介绍了有谁知道我可以存储在了Riak大型二进制值?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

有谁知道我可以存储在了Riak大型二进制值?

Does anyone know how I can store large binary values in Riak?

推荐答案

现在,他们不建议存储大小大于50MB的文件,而不分裂他们。参见:<一href=\"https://wiki.basho.com/display/RIAK/FAQ#FAQ-HowlargeofafilecanonestoreinRiak%3FAnyguidelinesorrecommendations%3F\"相对=nofollow>常见问题 - 维基了Riak

For now, they don't recommend storing files larger than 50MB in size without splitting them. See: FAQ - Riak Wiki

如果您的文件小于50MB,比出发,你会用了Riak存储非二进制数据。

If your files are smaller than 50MB, than proceed as you would with storing non binary data in Riak.

另外一个原因可能会选择了Riak是灵活建模数据。了Riak将存储你告诉它在内容不可知方式的任何数据 - 它不强制表,列或参照完整性。这意味着您可以存储二进制文件的权利以及更为程序员透明的格式,如JSON或XML 。使用了Riak作为一种数据库文件(半结构化的,大多是反规范化的数据)和附件存储将有比键/值式方案不同的需求 - 即,需要高效的在线查询,冲突分辨率,加大了内部语义和关系的稳健前pressions。的架构设计了Riak - 介绍

Another reason one might pick Riak is for flexibility in modeling your data. Riak will store any data you tell it to in a content-agnostic way — it does not enforce tables, columns, or referential integrity. This means you can store binary files right alongside more programmer-transparent formats like JSON or XML. Using Riak as a sort of "document database" (semi-structured, mostly de-normalized data) and "attachment storage" will have different needs than the key/value-style scheme — namely, the need for efficient online-queries, conflict resolution, increased internal semantics, and robust expressions of relationships.Schema Design in Riak - Introduction

这篇关于有谁知道我可以存储在了Riak大型二进制值?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆