Comparing MySQL CLuster with CauchBase

Some one came up with the claim that MySQL also offers Both Horizontal and vertical scalability that NoSQL(e.g CauchBase) has no advantage over MySQL. Is it true?

Is there a difference in terms of maximum number of concurrent access between the two OR limit in number of allowed node in their cluster?

If you have any outstanding prove that i can use in nailing them, i will so much appreciate.

ThankGod S. Adeyi

2 Answers

« Back to question.

If you google, you should be able to find some performance comparisons. While MySql may be slower for retrieving a single record by primary key than Couchbase by key name, the flexibility that MySql query affords is quite appealing. That said, I'm particularly enamored with Couchbase's views, which are based on an incremental map-reduce implementation. Replicating that behavior would require significant effort, no matter what.

« Back to question.

The problem is not having data in memory or not in memory, but rather Indexing.
ie. knowing what data to get.

With MySQL/SQL/ORACLE the weakness is in it's Structured Query Language limitation itself.
If you have table called CONTENT with a column of Text called 'articles'
and it has 10 billion rows
and you do a query like:
SELECT * FROM `CONTENT` WHERE `articles` LIKE '%ipad4%'
it will probably break your machine :-). All table based SQL systems and their indexing systems is limited to the structure ie. columns type and index of data.

Couchbase is Key to value i.e. Document(json).
If you know the key it will retrieve the document (json) faster then any RDBMS system, even with billions of documents. But once again you have to know the key.

Then came Elastic Search.
A full text indexing system that is faster and better then Structured Query Language.
Check out the power and new ways to query here

Couchbase already has a super easy system to export documents to elastic search.

Query ES to get a list of keys and use CB's SDK to get those keys at sub-millisecond speed.

Both ES and CB are horizontally scaleable. If you have a 5 node CB cluster at 50,000 request(GETS) per second and you expand to 25 node CB Cluster you can do 250,000 request(GETS).