dimensions.dex_pools: one row per pool.metrics_dex_pools: one table per measure, one row per pool per day.metrics_dex_pool_pairs: one row per pool and traded token pair per day, intrading_volume_daily.
Sample queries
- Top pools, one day
- Busiest pairs
Rank Celo pools by trading volume on one day. Reading the day from the volume table and joining the pool list afterwards keeps the join small.
Notes
Trading volume and fees are flows, so they add up: a week of daily rows sums to the week, and a set of pools sums to the group. Value locked, inmetrics_dex_pools.tvl_daily, is a level: the latest row is the answer and summing it across days gives a meaningless number. Every pool gets a TVL row every day it exists; volume and fee rows land only on the days a pool saw trading.
fee_tier is empty for pools whose design has no configurable fee. A null there records that the pool has no tier to report.