Skip to Content
The Informed Company
book

The Informed Company

by Dave Fowler, Matthew C. David
October 2021
Beginner to intermediate
256 pages
4h 38m
English
Wiley
Content preview from The Informed Company

Chapter NineteenRow‐ versus Column‐Oriented Database

We wanted to spend a bit of time talking about why columnar databases are more performant for analytics, since this will be at the center of your data stack. There are two ways to organize relational databases:

  • Row‐oriented
  • Column‐oriented (also known as columnar or C‐store)

Row‐oriented databases are databases that organize data by record, keeping all of the data associated with a record next to each other in memory. Row‐oriented databases are the traditional way of organizing data and still provide some key benefits for storing data quickly. They are optimized for reading and writing rows efficiently.

Common row‐oriented databases:

Column‐oriented databases are databases that organize data by field, keeping all of the data associated with a field next to each other in memory. Columnar databases have grown in popularity and provide performance advantages to querying data. They are optimized for reading and computing on columns efficiently.

Common column‐oriented databases:

Row‐Oriented Databases

Traditional database management systems were created to store data. They are optimized to read and write a single row of data, which leads to a series of design choices, including having a row store architecture.

In a row store, or row‐oriented database, the data is stored row by row, such that the first column of a row will be next to the last column of the previous row.

For instance, ...

Become an O’Reilly member and get unlimited access to this title plus top books and audiobooks from O’Reilly and nearly 200 top publishers, thousands of courses curated by job role, 150+ live events each month,
and much more.

Read now

Unlock full access

More than 5,000 organizations count on O’Reilly

AirBnbBlueOriginElectronic ArtsHomeDepotNasdaqRakutenTata Consultancy Services

QuotationMarkO’Reilly covers everything we've got, with content to help us build a world-class technology community, upgrade the capabilities and competencies of our teams, and improve overall team performance as well as their engagement.
Julian F.
Head of Cybersecurity
QuotationMarkI wanted to learn C and C++, but it didn't click for me until I picked up an O'Reilly book. When I went on the O’Reilly platform, I was astonished to find all the books there, plus live events and sandboxes so you could play around with the technology.
Addison B.
Field Engineer
QuotationMarkI’ve been on the O’Reilly platform for more than eight years. I use a couple of learning platforms, but I'm on O'Reilly more than anybody else. When you're there, you start learning. I'm never disappointed.
Amir M.
Data Platform Tech Lead
QuotationMarkI'm always learning. So when I got on to O'Reilly, I was like a kid in a candy store. There are playlists. There are answers. There's on-demand training. It's worth its weight in gold, in terms of what it allows me to do.
Mark W.
Embedded Software Engineer

You might also like

The Human Factor in AI-Based Decision-Making

The Human Factor in AI-Based Decision-Making

Philip Meissner, Christoph Keding
What Successful Project Managers Do

What Successful Project Managers Do

W. Scott Cameron, Jeffrey S. Russell, Edward J. Hoffman, Alexander Laufer

Publisher Resources

ISBN: 9781119748007Purchase Link