AiTeky Original Interactive Learning & Practice Intermediate
In-memory column stores (SAP HANA ideas): columns, compression and the delta
See why a column store reads far less data for a report than a row store, shrink a column with a dictionary and run-length coding, understand how new rows wait in a delta before a merge, and size the memory for a large business table.
SAP HANA is a database that keeps its data in memory and stores tables by column instead of by row. Those two choices are why a report over hundreds of millions of lines can run in seconds, and why companies could stop keeping pre-added totals in separate tables. It also changes how you design and size a system.
This course teaches the ideas with small programs you can run and measure in your browser: row against column layout, compression, and the way new data is added. It does not run HANA itself. The behaviour of HANA's own settings, SQL dialect and licensing is described in SAP's documentation, which you should check for any real decision. All data and sizes here are made up.
- Learn lessons explain one idea at a time and let you run it.
- Industry ready lessons decide and justify, and end with interview questions.
You need basic Python and NumPy, and an idea of what a table of business transactions looks like.
- ▶ Run code in your browser. Nothing to install
- ✓ Exercises that check themselves
- 📖 Tap a word to see what it means
Locked. Sign up free
Learn
Understand each idea with everyday examples. No coding background needed.
- 01 30 min Free sample 🔒 AiTeky Pass Rows versus columns: reading only what the question needs Store a table of sales lines both by row and by column, measure how much data a "total revenue" question reads in each layout, find the question where the row layout wins, and learn why an analytical database stores columns.
- 02 30 min 🔒 AiTeky Pass Dictionary encoding and compression Replace the repeated text of a column with small numbers and a dictionary, count the bytes saved, add run-length coding to a sorted column, and see why columns with few different values compress best and a unique id compresses worst.
- 03 30 min 🔒 AiTeky Pass The delta store and the merge: how a compressed column takes new rows Insert rows into a small, uncompressed delta area while reads combine it with the large compressed main part, merge the delta into the main part in bulk, measure what a merge costs, and see why aggregating on the fly can replace stored totals.
Industry ready
Real problems from real jobs, and the questions interviewers ask about them.

