何时使用 NoSql,使用哪一种? [英] When to use NoSql, and which one?

查看:53
本文介绍了何时使用 NoSql,使用哪一种?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我已经使用 php 和 mySql 进行了一段时间的编程,最近决定尝试使用 nosql.如果你们中的一些有经验的人告诉我,我将不胜感激:

I've been programming with php and mySql for a while now and recently decided that I wanted to give nosql a try. I would really appreciate if some of you with experience could tell me:

  • 什么时候是切换的好时机,我怎么知道 nosql 适合我?
  • 您会推荐哪种 nosql 软件?

谢谢

推荐答案

什么时候切换合适?

When is it a good time to switch?

这真的取决于特定的项目.但总的来说,我发现我可以将 nosql 用于 95% 的 Web 应用程序.对于应该保证 ACID 的系统,我仍然会使用旧的好 sql(例如,使用真"钱的系统).

It really depends on the particular project. But in general I see that I can use nosql for 95% of web applications. I will still use old good sql for the systems which should guarantee ACID (for example, systems that work with 'real' money).

我怎么知道 nosql 适合我?

How do I know nosql is for me?

这是给你的,给你的,相信我.;)

It's for you, for you, believe me. ;)

你只需要从 nosql 世界中尝试一些东西,阅读一些现有的文章,你就会看到所有的好处和问题.

You just need to try something from the nosql world, read some existing articles and you will see all of the benefits and problems.

您会推荐哪种 nosql 软件?

Which nosql software would you recommend?

我个人建议你从 mongodb 开始,因为它真的很简单.成为sql专家需要几年,成为mongodb专家需要一个月左右.

I would personally recommend you to start from mongodb, because it really simple. To become an expert in sql takes years, to become an expert in mongodb needs a month or so.

建议您花一个小时阅读《mongodb 小书》并尝试从明天开始编写您的第一个测试应用程序.

I suggest that you spend an hour for reading "The little mongodb book" and try to write your first test application starting from tomorrow.

这里没有人会说你需要使用这个,或者这个数据库.使用什么数据库取决于项目和要求.

No one here will say that you need to use this, or this database. What database to use depends on project and requirements.

这篇关于何时使用 NoSql,使用哪一种?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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