Jason Goldberg Ⓜ️ 💜 pfp
Jason Goldberg Ⓜ️ 💜
@betashop.eth
@dune.eth team: we're finding 50h+ delay since last update of tokens_base.balances_latest table is there someone please who can take a look -- it's blocking a major release of ours thanks!
3 replies
2 recasts
21 reactions

Shane pfp
Shane
@enahs
Thanks for reporting. We're looking into it.
2 replies
0 recast
2 reactions

DegenFans 🎩🔵🫂Ⓜ️ pfp
DegenFans 🎩🔵🫂Ⓜ️
@degenfans
Gm just checked the dbt code maybe incremental_predicates for the destination table could help, so that the merge can perform faster (if this is the bottleneck)
1 reply
0 recast
1 reaction

Shane pfp
Shane
@enahs
Good idea! Because there are a few issues with `tokens_base.balances_latest`, our first best solution is enabling the same query with `tokens_base.balances`.
1 reply
0 recast
1 reaction

DegenFans 🎩🔵🫂Ⓜ️ pfp
DegenFans 🎩🔵🫂Ⓜ️
@degenfans
What also could help is to persist the incoming delta, then remove duplicates via remove or where configuring and then insert only instead of merge… but this are just things I did in the past and can’t say if this is really the best for this case.
0 reply
0 recast
1 reaction