MYSQL 中的 Friendfeed 无模式数据

发布于 2024-09-04 15:58:15 字数 239 浏览 6 评论 0原文

我读了一篇关于无模式数据库的文章,听起来很酷。 (http://bret.appspot.com/entry/how-friendfeed-uses -mysql

但我不清楚的是他们如何对这些数据运行搜索查询?既然数据是JSON格式的,我们如何查找它呢?

I read an article around schema-less database which sounds cool. (http://bret.appspot.com/entry/how-friendfeed-uses-mysql)

But what isn't clear to me is how do they run search queries on this data? Since the data is in JSON format how do we look for it?

如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

扫码二维码加入Web技术交流群

发布评论

需要 登录 才能够评论, 你可以免费 注册 一个本站的账号。

评论(3

谷夏 2024-09-11 15:58:16

对于过滤/搜索所需的属性,首先使用单独的表对其进行索引。这使得数据更加透明。

让我引用这篇文章的内容: http://bret.appspot.com/entry /how-friendfeed-uses-mysql

索引存储在单独的表中。为了创建新索引,我们创建一个新表,存储我们想要在所有数据库分片上建立索引的属性。

For attributes that are needed for filtering / searching, they are first indexed using a separate table. This makes the data more transparent.

Let me quote what this post says: http://bret.appspot.com/entry/how-friendfeed-uses-mysql

Indexes are stored in separate tables. To create a new index, we create a new table storing the attributes we want to index on all of our database shards.

猫烠⑼条掵仅有一顆心 2024-09-11 15:58:16

我想象他们有一个单独的搜索引擎,有自己的索引 - 可能甚至在 MySQL 中也没有,比如 Solr< /a>.

I'd imagine they have a separate search engine with its own index - probably not even in MySQL, something like Solr.

多情癖 2024-09-11 15:58:16

他们使用 sphinx 来实现此目的

They're using sphinx for that

~没有更多了~
我们使用 Cookies 和其他技术来定制您的体验包括您的登录状态等。通过阅读我们的 隐私政策 了解更多相关信息。 单击 接受 或继续使用网站,即表示您同意使用 Cookies 和您的相关数据。
原文