Alaric
Snell-Pym discusses why choose between SQL and NoSQL? Why can't
you use both in your infrastructure?
"NoSQL engines abandon SQL for the chance to have more flexible
data models and softer semantics for update operations - but they
also abandon it because it’s a lot of work to implement. And,
creating a new database from scratch, they’re keen on solving the
interesting hard problems (such as replicated data storage),
rather than following the well-trodden path of writing SQL
parsers and query planners, with a few decades of catching up
with the competition ahead of them."
Oracle:
Arup Nanda posted an excellent script on how to summarize backup information from the rman catalog. He also posted a tool for automatically purging time-based partitions.
Pythian’s resident Exadata expert, Marc Fielding posted links to the …
[Read more]When we published our 2008 report on the impact of open source on the database market the overall conclusion was that adoption had been widespread but shallow.
Since then we’ve seen increased adoption of open source software, as well as the acquisition of MySQL by Oracle. Perhaps the most significant shift in the market since early 2008 has been the explosion in the number of open source database and data management projects, including the various NoSQL data stores, and of course Hadoop and its associated projects.
On Tuesday, November 9, 2010 at 11:00 am EST I’ll be joining Robin Schumacher, Director of Product Strategy from EnterpriseDB to present a …
[Read more]In this post I will share results on some "benchmarking" I did on the database created in the previous post: MariaDB 5.2: Using MariaDB as a document store and Virtual Columns for indexing. In addition to just playing with the new syntax, I wanted to actually benchmark using virtual columns against some other techniques. If you didn't read that previous post yet, please do so that you know the schema that is being used and the whole point of what we are doing.
The premise for this benchmark was already given last week:
Before I write the next blog, I invite you to guess the result of the benchmark. I had two conflicting rules of thumb as hypothesis:
[Read more]This is a followup to my previous post about Virtual Columns. In this post I will do a more in-depth test on using virtual columns in a use case where MariaDB is used as a document store.
Document oriented DB basics
Relational databases store data in 2-dimensional tables, rows and
columns. Document oriented databases do not store Word documents
or novels, rather the "documents" are essentially serialized PHP
arrays, Java-objects, etc. The most popular document format today
is JSON. JSON "documents" have exactly the same
syntax as a JavaScript array, originally JavaScript programmers
would just eval("data = " + jsondocument);
to get
the data into a variable (unserialize). For more …
- 12 Months with MongoDB (Worknik) -- every type of retrieval got faster than their old MySQL store, and there are some other benefits too. They note that the admin tools aren't really there for MongoDB, so "there is a blurry hand-off between IT Ops and Engineering." (via Hacker News)
- Dawn of a New Day -- Ray Ozzie's farewell note to Microsoft. Clear definition of the challenges to come: At first blush, this world of continuous services and connected devices doesn’t seem very different than today. But those who build, deploy and manage today’s websites understand viscerally that fielding a truly continuous service is incredibly difficult and is only achieved by the most sophisticated …
- Using MysQL as NoSQL -- 750,000+ qps on a commodity MySQL/InnoDB 5.1 server from remote web clients.
- Making an SLR Camera from Scratch -- amazing piece of hardware devotion. (via hackaday.com)
- Mac App Store Guidelines -- Apple announce an app store for the Macintosh, similar to its app store for iPhones and iPads. "Mac App" no longer means generic "program", it has a new and specific meaning, a program that must be installed through the App store and which has limited functionality …
I have been busy travelling recently but thought I would jot down a couple of NoSQL myths that are fresh in my head from my recent discussions.
- Twitter use Cassandra internally but have not migrated their tweet store, despite their earlier plans to. For now tweets are still stored in MySQL.
- Despite the widely accepted view that the use of Cassandra led to Diggs issues a couple of Digg engineers have apparently discounted this.
- Despite the widely accepted view that NoSQL databases all use eventual consistency this is not so. HBase, for example, offers full consistency.
- Despite the widely accepted view that NoSQL is only about unlimited distributed scalability this is …
UPDATE: Oracle officially released memcached daemon plugin that talks with
InnoDB. I'm glad to see that NoSQL+MySQL has become an official
solution. It's still preview release but will be very promising.
Let's try it to make it better!
Most of high scale web applications use MySQL + memcached.
Many of them use also NoSQL like TokyoCabinet/Tyrant. In some
cases people have dropped MySQL and have shifted to NoSQL. One of
the biggest reasons for such a movement is that it is said that
NoSQL performs better than MySQL for simple access patterns such
as primary key lookups. Most of queries from web applications are
simple so this seems like a reasonable decision.
Like many other high scale web sites, we at DeNA(*) had
similar issues for years. But we reached a …
This post follows on the previous post on SELECT performance. In this
post I want to show three things:
- How many single row UPDATEs per second you can do on on a
Cluster with two data nodes (updating 64B data by the PRIMARY
KEY, no batching)
- Show how MySQL Cluster scales with threads and mysql servers
- How ndb_cluster_connection_pool affects performance
Next post will be what happens to INSERTs.
Setup
- two data nodes
- one to four mysql servers
- interconnected with Gig-E (single NIC)
deployed on six computers (of varying quality, but not really modern, see below). www.severalnines.com/bencher was co-located with each mysql …
[Read more]