区块链是分布式数据库吗? [英] Is Blockchain a distributed database?

查看:99
本文介绍了区块链是分布式数据库吗?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

大多数文章都将区块链称为分布式数据库.这是否意味着我们可以在区块链中存储任何类型的数据,例如音频,视频,pdf?

most of the articles cited Blockchain as a distributed database. Does it mean we can store any type of data in blockchain like audio, video ,pdf?

推荐答案

将区块链视为昂贵数据库可以提供出色的抵御黑客攻击和腐败行为的能力.这是一次写入一次,通常为多数读取(WORM)的系统.

Think of blockchain as a relatively slow, very expensive database that provides excellent resistance to hacking and corruption. It's a Write-Once, Read Mostly (WORM) system.

您绝对可以将所需的任何数据存储在假设的区块链中.实际的限制是,您不想存储非常大的数据块(因此,不是视频);您可能不希望存储频繁更改的数据(因此,不是要修改的论文)-除非重要的是永久记录每个单个更改.

You absolutely could store any data you want in a hypothetical blockchain. The practical limits are, you don't want to store very large chunks of data (so, not video); you probably don't want to store frequently changing data (so, not a thesis paper you're revising) -- unless it's important somehow to record every single change forever.

因为,它的另一个功能是,一旦将某些内容写入区块链,它就永远存在.

Because, its other feature is, once something is written to a blockchain, it's there forever.

需要解决错字吗?然后,添加带有更正的新记录.

Need to fix a typo? Then you add a new record with a correction.

需要删除记录吗? 太糟糕了,不能.最好的办法是输入一条新记录,说您希望删除的记录已过时"或已被拒绝"或不再有效"或应该被删除".被视为已删除."

Need to delete a record? Too bad, you can't. Best you can do is enter a new record saying that the record you wish to delete is "obsolete" or "repudiated" or "no longer valid" or "should be considered as deleted."

简而言之,将您的区块链视为永久记录是明智的.

In short, it's wise to treat your blockchain as a permanent record.

1 慢:比特币区块链每秒运行约3笔交易(tps)和以太坊区块链运行大约30 tps a>.

1 Slow: the Bitcoin blockchain runs about 3 transactions per second (tps) and the Ethereum blockchain runs about 30 tps.

2 昂贵:2017年11月,比特币区块链每笔交易的平均成本为8.22美元 Digiconomist .

2 Expensive: the Bitcoin blockchain cost an average of US$ 8.22 per transaction in November 2017 according to Digiconomist.

这篇关于区块链是分布式数据库吗?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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