【发布时间】:2018-10-10 08:00:19
【问题描述】:
我需要尽快检索非常简单的数据: 我有与电子邮件哈希关联的 json 数据。所以表格看起来像这样:
email_sha256, json
并且有数百万行。
我想知道以下两个选项之一是否会更快:
1 Split the single large table into many smallers (split by alphabetical order)
2 Do not use a DB at all and serve the data as files. i.e. every email hash is the name of a separate file that contains the json data.
【问题讨论】:
标签: database key-value fileserver