As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 10 years ago.
MongoDB is not a relational database nor does the product follow a relational architecture. But for someone coming from the world of RDBMS, I would like to know to what extent does MongoDB support ACID (Atomocity, Consistency, Isolation, Durability). Or should we not evaluate MongoDB from an ACID perspective?
How I love documentation: http://docs.mongodb.org/manual/faq/fundamentals/#does-mongodb-support-transactions and this very site: What does MongoDB not being ACID compliant really mean?
There are ways to support transactions in MongoDB and the go driver even has transactional queries inbuilt into it now.
Here is a brief example of a two phase commit: http://cookbook.mongodb.org/patterns/perform-two-phase-commits/ more complex queries would require more work.
Basically the implications of MongoDBs ACID compliance can be explained via the doc pages and that question mostly.
It is probably one of the most talked about subjects in MongoDB and a quick Google search will give you more information than we could in an answer here.
Related
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I am a Mongo newbie and wanted to know if there are any tools that will help me test MongoDB? Especially, if they help me automate testing of the tables (or collections) in MongoDB. I did a few internet searches but got very confused. Any help will be appreciated.
Thanks!
Two clients I found useful when testing/looking at data within the db are:
MongoVue - It's free and allows you to see up to 3 documents at a time; and has multiple ways of displaying the data (text form, table form, etc.) Quite nifty, but the cool features expire after 14 days, then you have to pay.
MongoExplorer - It's a little less friendly looking thatn MongoVue, but it is very simple to use, and it is absolutely free. It has some more advanced options as well - such as the ability to see GridFS data (this is a paid feature in MongoVue).
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 9 years ago.
I want to use No-Sql in my application I think RavenDb and MongoDb are good but which one is more integrated with EF?
and is there any documentation for using theme?
Entity framework is built to support relational databases. It has no support for any no-sql or document databases. And when you think about it, it actually doesn't make too much sense, what is the point of using an object relational mapper and producing a relational mapping of a non-relational database?
There are however libraries which support both of these frameworks available for .Net available via nuget. Im sure these would be much more appropriate for your application
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
We have requirements that force us to have two layers of databases. A good caching solution backed by large distributed database. We are thinking to use redis for fast read and write. We are not yet settled for the database at backend, however we would prefer it to have following properties:
consistent over time.
robust (no data loss).
reasonably fast read.
distributed.
We are exploring cassandra and Mongodb as our options. Hbase might be a option too. Kindly let us know your views/ current state of work. We are expecting some comparative analysis which could be like in http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis , but should be more upto date and can give us better insight. An example usecase could be like when someone post a comment in facebook. The comment is then visible to all its friends in real time.
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
Is there a paper/blog-post on when to use Cassandra or Membase or Hadoop or plain old relational databases ? Is there a paper discussing the strengths/weaknesses of each, and on what scenarios either of these technologies should be chosen ?
I am thinking of writing a new webservice which will have about a million hits per day and data spanning about a few terabytes.
EDIT The NoSQL Ecosystem by Adam Marcus (from the book The Architecture of open source applications): http://www.aosabook.org/en/nosql.html
general thoughts and comparison http://www.thoughtworks.com/articles/nosql-comparison
technical comparison http://kkovacs.eu/cassandra-vs-mongodb-vs-couchdb-vs-redis
a Master's Thesis - Analysis and Classification of NoSQL Databases http://scholar.googleusercontent.com/scholar?q=cache:rQlbiz6bojAJ:scholar.google.com/+comparison+of+nosql&hl=en&as_sdt=0,5&as_vis=1
As it currently stands, this question is not a good fit for our Q&A format. We expect answers to be supported by facts, references, or expertise, but this question will likely solicit debate, arguments, polling, or extended discussion. If you feel that this question can be improved and possibly reopened, visit the help center for guidance.
Closed 11 years ago.
I have hacking a little with MongoDB and I want to try to use MongoDB for a whole website. We will give also a try for binary files stocking in MongoDB.
We currently using Ruby on Rails and we also like Django. I know there is already some implementations for this two framework with MongoDB (Mongoid and MongoMapper for Ruby) but in fact I am not reluctant to learn something new. :-)
What do you think is the best web plateform/framework to use MongoDB in production ?
I've been working with and on mongoengine, an "object-document mapper" (like an ORM, but for MongoDB) and Django. It has fairly complete support for MongoDB's data types and CRUD operations, and some nice helpers for aggregation and map-reduce.
(Shameless plug:) You can see my use of some of these features in Nymwit, an online word game I built with mongoengine and Django, and corresponding source code in my github.