Softwr

Databases · head to head

Apache HBase vs MySQL

Apache HBase logo

Apache HBase

Databases

Open source distributed wide-column store modelled on Bigtable, running on Hadoop

From
Free
Free plan
Yes
MySQL logo

MySQL

Databases

Open source database

From
Free
Free plan
Yes

The short version

  • MySQL is an open-source relational database management system.
  • Apache HBase is free; MySQL starts at $2000/yr.
  • Only Apache HBase lists automatic sharding and failover; only MySQL lists ACID compliance.
  • Where Apache HBase falls short: not relational, so there are no built-in SQL joins.
  • Where MySQL falls short: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component.

How do Apache HBase and MySQL differ?

Apache HBase and MySQL differ on pricing model (Open-source against Freemium) and platforms. Only the attributes on which Apache HBase and MySQL actually diverge.

Attributes where Apache HBase and MySQL differ
AttributeApache HBaseMySQL
Pricing modelOpen-sourceFreemium
PlatformsWebWindows, macOS, Linux

Identical on both: starting price (Free), free tier (Yes), category (Databases).

Not yet recorded: founded for Apache HBase.

Which features does each one have?

They share no listed features; 7 appear only for Apache HBase and 20 only for MySQL. Drawn from each product's published feature list. An absence here means we hold no record of it - not that the product lacks it.

Only in Apache HBase

  • Strictly consistent real-time reads and writes
  • Automatic sharding and failover
  • Runs on Hadoop and HDFS
  • Java client
  • REST and Thrift gateways
  • Server-side filters
  • Bloom filters

Only in MySQL

  • ACID compliance
  • SQL support
  • Multi-version concurrency control
  • Replication
  • Partitioning
  • Stored procedures
  • Triggers
  • Views

What is each one used for?

Apache HBase is most often brought in for time-series and metrics storage; MySQL for web application backend. The jobs each tool is most often brought in to do.

Apache HBase

  • Time-series and metrics storagenot MySQL
  • IoT telemetrynot MySQL
  • Message and audit logsnot MySQL
  • Genomics datanot MySQL
  • Ad tech personalisationnot MySQL

MySQL

  • Web application backendnot Apache HBase
  • E-commerce platformsnot Apache HBase
  • Content management systemsnot Apache HBase
  • Data warehousingnot Apache HBase
  • Business applicationsnot Apache HBase

Where do Apache HBase and MySQL fall short?

Apache HBase's most cited limit: not relational, so there are no built-in SQL joins. MySQL's: hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component. Documented limitations, not opinions. Every one is a constraint you would hit in normal use.

Apache HBase

  • Not relational, so there are no built-in SQL joins
  • Depends on Hadoop and HDFS, adding operational work
  • Self-hosted; cluster setup is covered only in the reference guide
  • Several release lines are documented in parallel

MySQL

  • Hot online backup is not in the free Community Server; MySQL Enterprise Backup is a paid Enterprise Edition component
  • Transparent Data Encryption, data masking and de-identification are Enterprise Edition only
  • MySQL Enterprise Firewall, which guards against SQL injection, and MySQL Enterprise Audit are both paid components
  • External authentication against PAM or Windows Active Directory requires MySQL Enterprise Authentication
  • The thread pool ships as MySQL Enterprise Scalability rather than in the community build

How much do Apache HBase and MySQL cost?

Apache HBase is free to use; MySQL has a free plan, with paid plans from $2000/yr. Plan by plan below, from each vendor's own pricing page.

Apache HBase

Free

No published plan breakdown. See the Apache HBase review.

MySQL

Free
  • Community EditionFree
    • Open source license
    • Full SQL support
    • InnoDB storage engine
  • Standard Edition$2,000/yr
    • Commercial license
    • Oracle Premier Support
    • MySQL Enterprise backup
  • Enterprise Edition$5,000/yr
    • Advanced security
    • MySQL Enterprise Monitor
    • High Availability

Which should you pick?

Choose Apache HBase if

  • You need strictly consistent real-time reads and writes.
  • You want to start without paying.
  • You also want automatic sharding and failover.

Choose MySQL if

  • You need acid compliance.
  • You want to start without paying.
  • You work on Windows, macOS, Linux.
  • You also want sql support.

Questions people ask

Is Apache HBase or MySQL better?
It depends on the job. Apache HBase fits time-series and metrics storage; MySQL fits web application backend. Apache HBase starts at Free and MySQL at Free.
Which is cheaper, Apache HBase or MySQL?
Apache HBase starts at Free and MySQL at Free.
Does Apache HBase or MySQL run on more platforms?
Apache HBase runs on Web. MySQL runs on Windows, macOS, Linux.
Can I use Apache HBase for free?
Both have a free tier, so you can try either at no cost before committing.
What is Apache HBase best used for?
Apache HBase is most often used for time-series and metrics storage, iot telemetry, message and audit logs, genomics data. Of those, time-series and metrics storage and iot telemetry are not what MySQL is typically brought in for.
What can Apache HBase do that MySQL cannot?
Apache HBase covers Strictly consistent real-time reads and writes, Automatic sharding and failover, Runs on Hadoop and HDFS, Java client. MySQL covers ACID compliance, SQL support, Multi-version concurrency control, Replication.

Answered from the vendors’ own pages

Apache HBase: What is HBase modelled on?

The site describes it as an open-source distributed big data store modelled after Google Bigtable. It provides random, real-time read and write access to very large datasets.

Source
MySQL: Does MySQL cost money?

MySQL is primarily open-source and free to use. Commercial editions and support services are available but pricing is not published on the main website.

Source
Apache HBase: Does HBase need Hadoop?

It runs on Hadoop and HDFS, per the site. Cluster setup is covered in the Reference Guide.

Source
MySQL: How do I get MySQL pricing information?

For MySQL commercial editions and support pricing, customers can contact MySQL sales directly at +1-866-221-0634 or navigate to individual product pages.

Source
Apache HBase: What clients does it support?

The site lists a Java client plus REST and Thrift gateways. Server-side filters and Bloom filters are also described.

Source
Share

Related pages

Other head to heads