“传统智慧”如何? Mnesia 中实施的概念?引用完整性、复制、高容量
我想学习一门函数式语言,Mnesia 似乎是“杀手级应用”,足以让我学习 Erlang。我想先澄清一些概念。
Mnesia 如何在关系上强制执行参照完整性?旧文章说它在数据级别上没有强制执行。现在改了吗?或者 Erlang 和 Mnesia 是否提供了允许我们编写可证明正确且可维护的代码来维护引用完整性的功能?即使是跨 n 个表的传递关系?
查询语言是否支持缺乏全文的即席查询?
那么高容量分布式系统呢?文件大小有 4GB 限制,对吗?如何将 10(或更多)百万行写入数据库?并且它会自动将自己分发到其他节点,从而变得高可用吗?这与碎片化有关。我想知道这是否是我每天都要担心的一个操作概念。
它是否可以轻松配置以实现跨物理位置的复制,就像 MySQL 主从设置一样?
I want to learn a functional language and Mnesia seems "killer app" enough for me to learn Erlang. I want some concepts clarified first.
How does Mnesia enforce referential integrity on relations? Old articles say that it is not enforced at the data level. Is it changed now? Or does Erlang and Mnesia provide features that allows us to write provably correct and maintainable code for maintaining referential integrity? Even for transitive relations across n tables?
Does the query language support ad-hoc queries, short of full-text?
What about high-capacity distributed systems? There is a 4GB file limit, right? How can I write 10 (or more) million rows to the database? And will it automatically distribute itself to other nodes, so that it becomes high-availability? This has got to do with fragmentation; I want to know if it is an operational concept I have to worry about everyday.
Can it easily configure so that it does replication across physical locations, like a MySQL master-slave setup?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论
评论(1)
有几个问题:
mnesia:subscribe/1
和 Mnesia 事件处理。)it is several questions:
qlc
module helps you with this task.mnesia:subscribe/1
and Mnesia Event Handling.)