mgreenblog

posts by category about this blog

debugging materialize with materialize

I am a technical consultant for Materialize---a database for integrating and transforming real-time data---and I just blogged for them about some of the work I've been doing there:

Source Mapping and Introspection: Debugging Materialize with Materialize

Materialize now exposes source maps in its catalog, so you can build your own debugging queries that attribute performance characteristics to high-level operators.

Materialize's compilation pipeline: SQL queries are translated to HIR, which is translated to MIR and then LIR in turn. LIR queries are then rendered as dataflows.