Demo showing TimescaleDB in Phoenix.
- Install docker and docker-compose
docker-compose up -dmix deps.getmix ecto.create && mix ecto.migratecd assets && npm install && cd -mix phx.serveropen http://localhost:4000
The trades table is stored in TimescaleDB hypertable which optimizes quering data accross time. To
see, run the query:
EXPLAIN SELECT * FROM trades;For more info, see the TimescaleDB docs