~/talk

PostgreSQL as a Graph Database: Who Grabbed a Beer Together?

slides:none on file

Shows how PostgreSQL plus the Apache AGE extension runs graph queries via openCypher, ingesting Untappd check‑ins and PGConf speaker accounts to build nodes, edges and shortest‑path queries. Live demo creates users and friend edges, visualizes with react-graph-force, and returns two‑hop shortest paths. Claims real projects migrated from Neo4j and handle up to 1 billion rows, with PostgreSQL about 20% slower but fully functional using regular indexes and conditional indexing.

AI-written summary · about

  1. 0:00Introduction and speaker intro
  2. 0:26Talk overview and personal intro
  3. 1:51Social media data example
  4. 3:59Graphs vs relational tables
  5. 7:14When graphs are useful
  6. 8:39OpenCypher syntax in PostgreSQL
  7. 9:42Setting up the graph extension
  8. 11:27Creating a graph in PostgreSQL
  9. 13:15Working with vertices
  10. 15:26Inserting data with openCypher
  11. 16:49Combining SQL and graph queries
  12. 17:34Performance considerations
  13. 18:19Querying vertices with SQL
  14. 18:45Querying with openCypher
  15. 19:29Creating edges between users
  16. 21:46How graphs store data internally
  17. 22:53Adding multiple users and connections
  18. 24:42Aggregation and shortest paths
  19. 26:10Finding shortest paths in graphs
  20. 28:01Ordering and filtering paths
  21. 29:48Cleaning up the graph
  22. 30:10Query syntax recap
  23. 31:41Alternative graph extensions in PostgreSQL
  24. 33:11Apache project benefits
  25. 33:51Building a beer-graph community map
  26. 36:01Privacy and data sharing concerns
  27. 37:52Call to action and closing
  28. 38:15Q&A session starts
~/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.