哪个NoSQL数据库用于极大量的数据

编程入门 行业动态 更新时间:2024-10-24 06:31:30
本文介绍了哪个NoSQL数据库用于极大量的数据的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧! 问题描述

我正在寻找NoSQL来处理极大量的数据。我们现在在MySQL中存储网页文本的缓存版本,但似乎数据库会非常快。

I'm looking at NoSQL for extremely high volumes of data. We're storing cached versions of web page text in MySQL at the moment, but it seems like the database will get huge very quickly.

我的要求是:

  • 耐用性,不得在刷新/写入时丢失数据
  • 读取速度非常快, >
  • 完全一致的复制
  • 最好是在内存中加上最终的磁盘写入

我现在在看:MongoDB,Redis,Raik和Cassandra。

I'm looking at: MongoDB, Redis, Raik, and Cassandra right now.

这最符合我的要求吗?

推荐答案

将缓存的版本存储在MemCache而不是MySQL中。它将消除大多数写入。写入MySQL是不好的,因为它杀死了查询缓存。当您在MemCache中缓存页面时,您对数据库的写操作将少得多,您的阅读压力也会降低。您可以缓存复杂查询的结果,或者根据需要缓存整个页面。

Store the cached versions in MemCache instead of MySQL. It will eliminate most writes. Writing to MySQL is bad, because it kills the query cache. When you cache the pages in MemCache, you will have far less writes to the database, and you'll have less reading pressure too. You can cache the result of complex queries, or cache entire pages as you like.

也许它不会像Cassandra一样快,但它会给你一个巨大的提升与目前的情况,只有MySQL。而且您不必重写整个应用程序。

Maybe it won't be as fast as Cassandra, but it will give you an enormous boost compared to your current situation with only MySQL. And you won't have to rewrite your entire application.

更多推荐

哪个NoSQL数据库用于极大量的数据

本文发布于:2023-07-08 20:16:22,感谢您对本站的认可!
本文链接:https://www.elefans.com/category/jswz/34/1080289.html
版权声明:本站内容均来自互联网,仅供演示用,请勿用于商业和其他非法用途。如果侵犯了您的权益请与我们联系,我们将在24小时内删除。
本文标签:数据库   数据   NoSQL

发布评论

评论列表 (有 0 条评论)
草根站长

>www.elefans.com

编程频道|电子爱好者 - 技术资讯及电子产品介绍!