什么是NoSQL,它是如何工作的,它提供什么好处? [英] What is NoSQL, how does it work, and what benefits does it provide?

查看:92
本文介绍了什么是NoSQL,它是如何工作的,它提供什么好处?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我一直在听NoSQL的事情,并且它可能最终成为SQL DB存储方法的替代,因为DB交互通常是网络速度的瓶颈。

I've been hearing things about NoSQL and that it may eventually become the replacement for SQL DB storage methods due to the fact that DB interaction is often a bottle neck for speed on the web.

所以我只有几个问题:


  1. 究竟是什么?

  1. What exactly is it?

它如何工作?

为什么比使用SQL数据库更好?

Why would it be better than using a SQL Database? And how much better is it?

这项技术是否太新,无法开始实施?还是值得一试?

Is the technology too new to start implementing yet or is it worth taking a look into?


推荐答案


  1. strong>

  1. What exactly is it?

一方面,特定系统,但它也成为各种新数据存储后端不符合关系数据库模型。

On one hand, a specific system, but it has also become a generic word for a variety of new data storage backends that do not follow the relational DB model.

strong>它是如何工作的?

How does it work?

用通用名称标记的每个系统的工作方式不同,但基本思想是提供更好的可扩展性和性能使用不支持通用RDBMS的所有功能的DB模型,但仍然有足够的功能是有用的。在某种程度上,它像MySQL,一次缺乏对事务的支持,但正是,因为,被设置为胜过其他数据库系统。

Each of the systems labelled with the generic name works differently, but the basic idea is to offer better scalability and performance by using DB models that don't support all the functionality of a generic RDBMS, but still enough functionality to be useful. In a way it's like MySQL, which at one time lacked support for transactions but, exactly because of that, managed to outperform other DB systems. If you could write your app in a way that didn't require transactions, it was great.

为什么比使用SQL更好呢?数据库?

这将是更好的,当你的网站需要大规模,以便最好的RDBMS运行在最好的硬件上你可以买得起并且尽可能地优化简单地不能跟上负载。它更好的多少取决于具体的用例(大量的更新活动结合许多连接是非常困难的传统RDBMSs) - 在极端情况下可能是一个因素1000.

It would be better when your site needs to scale so massively that the best RDBMS running on the best hardware you can afford and optimized as much as possible simply can't keep up with the load. How much better it is depends on the specific use case (lots of update activity combined with lots of joins is very hard on "traditional" RDBMSs) - could well be a factor of 1000 in extreme cases.

该技术是否太新,无法开始实施,还是值得一试?

主要取决于你想要达到的目标。这当然成熟到足以使用。但是很少有应用真正需要大规模扩展。对大多数来说,传统的RDBMS是足够的。然而,随着互联网使用变得越来越普遍,所以很可能应用程序将变得更常见(虽然可能不占优势)。

Depends mainly on what you're trying to achieve. It's certainly mature enough to use. But few applications really need to scale that massively. For most, a traditional RDBMS is sufficient. However, with internet usage becoming more ubiquitous all the time, it's quite likely that applications that do will become more common (though probably not dominant).

这篇关于什么是NoSQL,它是如何工作的,它提供什么好处?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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