ClearDB

ClearDB is a distributed, cloud-hosted, database-as-a-service version of MySQL. Its primary purpose is to eliminate the management cost of MySQL databases and provide automatic database replication and failover. By adding software stacks on top of MySQL and leveraging geo-separated data clusters, ClearDB is able to guarantee 100% uptime. ClearDB supports major commercial cloud which includes Amazon EC2 and Windows Azure and also support customized data centers or a hybrid of the two.

Checkpoints

Fuzzy

It uses both Fuzzy and Sharp checkpoint. It takes a sharp checkpoint when the database is performing shut down and uses fuzzy checkpoint during normal database operations.

Data Model

Relational

Concurrency Control

Two-Phase Locking (Deadlock Detection)

MySQL uses a combination of Multiversion Concurrency Control (MVCC) and row-level locking to achieve better concurrency. Old versions of rows are stored in a rollback segment which could later be used to rollback changes. Rollback segments are partitioned into the insert and update undo logs for different types of rollbacks.

Compression

Naïve (Page-Level)

InnoDB supports multiple compression algorithms which include Zlib and LZ4. When writing a page to disk, data were first compressed and then written to disk. Then empty blocks will be released by hole punching mechanism.

System Architecture

Shared-Nothing

Foreign Keys

Supported

The build-in MySQL natively supports foreign key constraints.

Storage Architecture

Disk-oriented

Query Interface

SQL

ClearDB Logo
Website

http://www.cleardb.com/

Tech Docs

http://w2.cleardb.net/developers/

Developer

ClearDB Inc

Country of Origin

US

Start Year

2010

Acquired By

RDX

Project Type

Commercial

Written in

C++

Derived From

MySQL

Embeds / Uses

MySQL

Operating Systems

Hosted

Licenses

Proprietary