An essential comparison between In-Memory Database vs. In-Memory Data Grid

In-Memory grids

 

There’s a new record holder in the world of “big data.”
in-memory computing is comprised of two main categories: in-memory Databases and In-Memory Data Grids. I’d like to delve into the differences between the two groups.

Nikita Ivanov, CTO of GridGain

 

  • Nomenclature
  • Tiered Storage
  • Technical Differences
  • Speed Only Vs. Speed + Scalability
  • Replace database Vs. Change Application
  • In-Memory Data Grid
  • In-Memory database

Tiered Storage

The main point to take away is that “in-memory” products are not confined to one fixed definition, but in the end they all have a significant “in-memory” component.

Technical Differences

The majority of IMDBs are RDBMS that store data “in memory” instead of disk. With only a modest list of unsupported SQL features, IMDBs generally provide good SQL support. IMDBs are also shipped with ODBC/JDBC drivers and can be used in place of existing RDBMS often without significant changes.

Conversely, In-Memory Data Grids typically lack full ANSI SQL support; but instead provide MPP-based (Massively Parallel Processing) capabilities where data is processed in parallel fashion and spread across a large cluster of commodity servers. The main access pattern is key/value access, MapReduce, several forms of HPC-like processing, and restricted distributed SQL querying and indexing capabilities.

Speed Only vs. Speed + Scalability

One of the key differences between IMDGs and IMDBs is in the level of scalability allotted. Due to IMDG’s MPP (Massively Parallel Processing) architecture, it has an inherent capability to scale to hundreds and thousands of servers; on the other hand, due to the fact that SQL joins cannot be efficiently performed in a distribution context, IMDBs are explicitly unable to scale horizontally.

This is the dilemma with in-memory databases – SQL joins, one of IMDB’s most useful features, is also what limits scalability. This accounts for why most existing SQL databases (disk or memory based) are based on vertically scalable Symmetrical Processing architecture, unlike IMDGs that utilize the much more horizontally scalable MPP approach.

Replace Database vs. Change Application

In addition to scalability, another key differentiation between IMDGs and IMDBs involves switching out existing databases versus altering the application.

IMDGs always work with an existing database, providing a layer of massively distributed in-memory storage and processing between the database and the application, which can then be relied on for rapid data access and processing. Most IMDGs are highly integrated with existing databases, and can seamlessly read-through and write-through to and from databases when necessary.

Share it:
Share it:

[Social9_Share class=”s9-widget-wrapper”]

Leave a Reply

Your email address will not be published. Required fields are marked *

This site uses Akismet to reduce spam. Learn how your comment data is processed.

You Might Be Interested In

Hitachi dubs new data-mining software ‘artificial intelligence’

24 Jul, 2015

  Hitachi Ltd. says it has developed an “artificial intelligence” system that draws on a massive range of data sources, …

Read more

Alaska Airlines CEO hints at fast check-in guarantee, location-based app assistance

1 Jun, 2015

  Brad Tilden, CEO of Alaska Air Group, said Thursday that the company is creating… more Your bags will be …

Read more

Startup launches big data-as-a-service

25 Jul, 2015

  For many enterprises, big data is hard and slow. Procurement and deployment of data infrastructure can be both expensive …

Read more

Recent Jobs

Senior Cloud Engineer (AWS, Snowflake)

Remote (United States (Nationwide))

9 May, 2024

Read More

IT Engineer

Washington D.C., DC, USA

1 May, 2024

Read More

Data Engineer

Washington D.C., DC, USA

1 May, 2024

Read More

Applications Developer

Washington D.C., DC, USA

1 May, 2024

Read More

Do You Want to Share Your Story?

Bring your insights on Data, Visualization, Innovation or Business Agility to our community. Let them learn from your experience.

Get the 3 STEPS

To Drive Analytics Adoption
And manage change

3-steps-to-drive-analytics-adoption

Get Access to Event Discounts

Switch your 7wData account from Subscriber to Event Discount Member by clicking the button below and get access to event discounts. Learn & Grow together with us in a more profitable way!

Get Access to Event Discounts

Create a 7wData account and get access to event discounts. Learn & Grow together with us in a more profitable way!

Don't miss Out!

Stay in touch and receive in depth articles, guides, news & commentary of all things data.