document database: All content tagged as document database in NoSQL databases and polyglot persistence
Tuesday, 2 April 2013
MongoDB Transactions With TokuDB's Fractal Tree Indexes Engine
Interesting new direction of TokuDB pushing their storage engine based on Fractal Tree Indexes to MongoDB:
Running MongoDB with Fractal Tree Indexes (used today in the MySQL storage engine TokuDB) is fully transactional. Each statement is transactional. If an update is to modify ten rows, then either all rows are modified, or none are. Queries use multi-versioning concurrency control (MVCC) to return results from a snapshot of the system, thereby not being affected by write operations that may happen concurrently.
Original title and link: MongoDB Transactions With TokuDB’s Fractal Tree Indexes Engine (©myNoSQL)
via: http://www.tokutek.com/2013/04/mongodb-transactions-yes/#gsc.tab=0
Thursday, 28 March 2013
Rackspace: BYOD to Your Preferred Storage
While Amazon Web Services approach is bring-your-own-data to our storage and processing solutions, Rackspace’s strategy seems to be “whatever popular NoSQL storage engine you like, we have your back. Just bring your data“.
Last month Rackspace bought MongoDB hosting provider ObjectRocket and now they acquired Exceptional Cloud Service which brings Redis hosting on board.
It’s difficult to say how well is Amazon’s strategy working as the company doesn’t do a lot to get their customers’ case studies out there—I still need to find a list of 10 companies that are using Amazon Dynamo. But this doesn’t mean a thing. On the other hand, I can see Rackspace’s strategy working and getting a lot of traction considering they’re looking after the most popular NoSQL tools.
✚ The Register writes about this acquisition too: Rackspace gobbles Exceptional Cloud Services for Redis smarts. I assume many others are asking the same question:
So, with Redis and MongoDB due to make their way into the Rackspace cloud proper, what other technologies are catching the web hoster turned cloud whisperer’s eyes?
Original title and link: Rackspace: BYOD to Your Preferred Storage (©myNoSQL)
Monday, 25 March 2013
Does Anyone Know What's Going on at Coinbase? - a Bank on MongoDB
Read the Hacker News thread about Coinbase.
Money is going missing. Transactions have been delayed for days and, in some cases, over a week. Even amounts already in BTC aren’t leaving the system.
The (snarky) comment is that Coinbase is a bank built on MongoDB.
Original title and link: Does Anyone Know What’s Going on at Coinbase? - a Bank on MongoDB (©myNoSQL)
CSA: Upgrade Immediately to MongoDB 2.4.1
If you are running MongoDB 2.4, upgrade immediately to 2.4.1. Details here.
Original title and link: CSA: Upgrade Immediately to MongoDB 2.4.1 (©myNoSQL)
Tuesday, 19 March 2013
Drawn to Scale Announces Spire for Mongo
Bradford Stephens (CEO Drawn to Scale):
Today, we’re announcing that we’ve ported MongoDB onto Spire as a platform. What this means is:
- You can easily scale your MongoDB cluster to 200+ TB
- You don’t need to change a line of code in your app to make it scale
- You can use ANSI SQL (yes, joins), Mongo queries, and Hadoop on the same data.
Just a couple of thoughts:
- the push of NoSQL databases to get SQL support is growing extremely fast. But I still doubt this is happening thanks to the advantages of SQL, but more due to the 30 years of investments in the SQL ecosystem.
- I don’t agree with Bradford’s “MongoQL is also great because unlike SQL, there is only one flavor”. As far as I can tell, MongoDB comes with 3 flavors of queries: the object-based query language, the aggregation framework (a combination of object-based QL and pipelining) and the Javascript-based MapReduce
- last but not least, what are Ryan Rawson’s thoughts about Drawn to Scale going Mongo.
Original title and link: Drawn to Scale Announces Spire for Mongo (©myNoSQL)
10gen’s MongoDB Following the Steps of MySQL
10gen has never been shy about their plan: replacing MySQL. That’s a bold goal considering Oracle is now behind MySQL. But this could also make things a bit easier for 10gen.
Anyways, what made me write this separate post is the realization of how close 10gen is following the MySQL path:
- release early and incomplete. Enhance over time
- position the product as the developer friendly and fast
- introduce an enterprise edition once your adoption overpassed that of your immediate competitors.
I guess I already know how it’ll end: $2 billion acquisition from a company that gets acquired by Oracle.
While the official announcement of MongoDB 2.4 version mentioned just in passing the “MongoDB Enterprise” version, other websites didn’t leave this aspect aside. Actually it’s what got emphasized about the today’s announcement. In case you wonder what’s the the 10gen’s enterprise box: Kerberos-based security and an on-premise version of the MongoDB Monitoring Service.
The only question I have now is how soon Oracle will start looking into acquiring 10gen. Or how soon it will dedicate marketing and sales resources to directly address 10gen.
Original title and link: 10gen’s MongoDB Following the Steps of MySQL (©myNoSQL)
MongoDB 2.4 Released: Hash-Based Sharding, Geo Enhancements, Text Search
MongoDB 2.4 is out:
Highlights of MongoDB 2.4 include:
- Hash-based Sharding
- Capped Arrays
- Text Search (Beta)
- Geospatial Enhancements
- Faster Counts
- Working Set Analyzer
- V8 JavaScript engine
Original title and link: MongoDB 2.4 Released: Hash-Based Sharding, Geo Enhancements, Text Search (©myNoSQL)
via: http://blog.mongodb.org/post/45754637343/mongodb-2-4-released
Friday, 8 March 2013
Battle-Test Your MongoDB Cluster
Kristina Chodorow1 shared a good list of tests to put a MongoDB cluster through:
Here are some exercises to battle-test your MongoDB instance before going into production. You’ll need a Database Master (aka DM) to make bad things happen to your MongoDB install and one or more players to try to fix it.
Netflix is using a series of tools that perform similar tests against their Cassandra clusters. With a small twist: they are run against the production clusters.
-
In a recent post, Kristina Chodorow, one of the most prominent figures of the MongoDB world, has announced she has decided to become a Googler. Good luck Kristina! ↩
Original title and link: Battle-Test Your MongoDB Cluster (©myNoSQL)
via: http://architects.dzone.com/articles/databases-and-dragons-battle
Thursday, 7 March 2013
MongoDB Touch Command
MongoDB 2.2 introduced the
touchcommand, which loads data from the data storage layer into memory. The touch command will load a collection’s documents, indexes or both into memory. This can be ideal to preheat a newly started server, in order to avoid page faults and slow performance once the server is brought into production. You can also use this when adding a new secondary to an existing replica set to ensure speedy subsequent reads.
I could see how this command could be useful for a caching system, but I haven’t seen it in any database. It’s probably a workaround for the memory mapped files mechanism used by MongoDB’s persistence.
Original title and link: MongoDB Touch Command (©myNoSQL)
via: http://blog.mongodb.org/post/44706549534/mongodb-tip-the-touch-command
Wednesday, 6 March 2013
Comparing MongoDB New Aggregation Framework and SQL
Francois Zaninotto:
MongoDB 2.1 introduced the aggregation framework, a faster alternative to Map/Reduce for common aggregation operations. If you took a look at the documentation and examples, you may have found the feature intimidating. Once you tame it, this new feature reveals itself as a very powerful beast. So read on to discover its true power through a series of examples.
The aggregation framework is indeed an interesting feature of MongoDB. And it’s definitely more useful compared to MongoDB’s MapReduce which came with quite a few limitations. Now MongoDB has 3 different languages: the object-based query language, the aggregation framework (still object-based but using different operators and execution model) and the Javascript-based MapReduce.
Original title and link: Comparing MongoDB New Aggregation Framework and SQL (©myNoSQL)
via: http://architects.dzone.com/articles/comparing-mongodb-new
A Key-Value Cache for Flash Storage: Facebook's McDipper and What Preceded It
A post on Facebook Engineering’s blog:
The outgrowth of this was McDipper, a highly performant flash-based cache server that is Memcache protocol compatible. The main design goals of McDipper are to make efficient use of flash storage (i.e. to deliver performance as close to that of the underlying device as possible) and to be a drop-in replacement for Memcached. McDipper has been in active use in production at Facebook for nearly a year.
I know at least 3 companies that have attacked this problem with different approaches and different results:
- Couchbase (ex-Membase, ex-NorthScale) started as a persistent clustered Memcached implementation. It was not optimized for Flash storage though. Today’s Couchbase product is still based on the memcache protocol, but it adding new features inspired by CouchDB.
- RethinkDB, a YC company and the company that I work for, has worked and released in 2011 a Memcache compatible storage engine optimized for SSDs. Since then, RethinkDB has been building and released an enhanced product, a distributed JSON store with advanced data manipulation support.
- Aerospike (ex Citrusleaf) sells a storage engine for flash drives. Its API is not Memcache compatible though.
People interested in this market segment have something to learn from this.
Original title and link: A Key-Value Cache for Flash Storage: Facebook’s McDipper and What Preceded It (©myNoSQL)
Thursday, 28 February 2013
MongoDB Represents the Perfect Opportunity for Rackspace's Fanatical Support
Rackspace in a post explaining why they bought into MongoDB through the acquisition of ObjectRocket:
MongoDB is easy to get started, but complex to manage and scale.
I bet 10gen loves reading things like this. It also serves well the adoption of MongoDB.
Original title and link: MongoDB Represents the Perfect Opportunity for Rackspace’s Fanatical Support (©myNoSQL)
Most Popular Articles
- Translate SQL to MongoDB MapReduce
- Tutorial: Getting Started With Cassandra
- CouchDB vs MongoDB: An attempt for a More Informed Comparison
- Cassandra @ Twitter: An Interview with Ryan King
- A Couple of Nice GUI Tools for MongoDB
- NoSQL benchmarks and performance evaluations
- Ehcache: Distributed Cache or NoSQL Store?
- Document Databases Compared: CouchDB, MongoDB, RavenDB
- Quick Review of Existing Graph Databases
- NoSQL Data Modeling