~/talk

Data Warehouses and Multi-Dimensional Data Analysis

Talkat RailsConf 2015 · 2015-04-21..04-23· [databases, ruby-on-rails]
slides:none on file

Builds a star/snowflake data warehouse from Rails transactional tables, loads it via ETL (mentions Kiba and concurrent-ruby) and queries it with a Mondrian OLAP engine exposed through a JRuby gem. Tests use a 6 million row fact table and show ad‑hoc SQL aggregations taking ~18–25s while Mondrian caching drops repeated queries into 10 milliseconds; columnar analytical stores (Vertica/Redshift) cut cold queries to ~9s and warm to ~1.5s. Recommends JRuby for parallel ETL, bulk loads for column stores, and considering analytic DBs once facts exceed ~10 million rows.

AI-written summary · about

  1. 0:00Intro
  2. 0:22Latvia knocks US men out of Olympic beach volleyball
  3. 2:24Database schema
  4. 4:31Generated SQL
  5. 6:07Performance slows down on larger data volumes
  6. 7:21Dimensional Modeling
  7. 8:42Data Warehouse Star schema with fact and dimension tables
  8. 10:31Snowflake schema
  9. 10:59Data Warehouse Models
  10. 11:28Load Dimension
  11. 12:20Load Facts
  12. 13:38Two-Dimensional Table
  13. 13:55Multi-Dimensional Data Model
  14. 14:47Dimension Hierarchies
  15. 15:18Time Dimension
  16. 19:31MDX Query Language
  17. 20:13Results Caching
  18. 21:29Additional Attribute Dimension
  19. 22:23Dynamic Attribute Dimension
  20. 23:32Calculation Formulas
  21. 25:09ETL process
  22. 26:20Ruby Tools for ETL
  23. 26:36Kiba example
  24. 27:10Multithreaded ETL
  25. 30:06Benchmark!
  26. 30:59Traditional vs Analytical Relational Databases
  27. 32:47Row-based Storage
  28. 33:36Columnar Storage
  29. 35:29Analytical Query Performance
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.