Schemaless SQL The Best of Both Worlds
summary
Shows how Postgres becomes a document store using hstore key/value column and PLV8 runs V8 inside Postgres to parse and index JSON. Demonstrates querying product attributes with hstore indexes, storing a million JSON rows, creating expression indexes to drop queries from minutes to milliseconds, and a Fibonacci benchmark where PLV8 outruns plpgsql (orders of magnitude faster after memoization). Mentions Wall-E backups, Postgres 9.2 JSON type, and ActiveRecord integration approaches.
AI-written summary · about
chapters (8)
- 0:00Introduction to speaker
- 1:02Document vs relational data
- 4:29Postgres features
- 7:15Hstore for JSON data
- 14:00PLV8 and Javascript
- 22:47Advanced Javascript queries
- 26:30Rails and ActiveRecord
- 28:56Future of data storage
related talks
59mPostgreSQL's secret NoSQL superpowers
53mThe NoSQL Store everyone ignores: PostgreSQL
29mPostgres Demystified
43mEmbracing the Web with JSON and PLV8
14mJSON data structure – the hidden gem inside your database engine
20mLeveraging PLV8 in Javascript heavy Web Applications
42mNoSQL as Not Only SQL
48mThe NoSQL Way in PostgreSQL
