You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I'll work on converting the materialized views into tables that are indexed using triggers. Looking at the codebase, I can see that we need to convert:
pool_states_materialized - Created from pool_states_view
oracle_pool_states_materialized - Created from oracle_pool_states_view
last_24h_pool_stats_materialized - Created from last_24h_pool_stats_view
I'll follow the example of the per_pool_per_tick_liquidity_incremental_view table which is already using triggers for updates. I'll create the necessary tables and triggers to replace these materialized views, ensuring they're properly indexed and updated when the underlying data changes.
@MentatBot
we have examples of this with the hourly tables
follow the example for the pool states
The text was updated successfully, but these errors were encountered: