EkuboProtocol / indexer

Service for indexing Ekubo Protocol events to a postgres database
MIT License
21 stars 7 forks source link

technically should delete all analytical table data that is newer than the `since` argument #17

Open moodysalem opened 2 months ago

moodysalem commented 2 months ago

in the rare case of reorg, old data can be left behind if it's not overwritten by new data, e.g. if timestamps change and there are missing timestamps in the new computed dataset

however deleting the entire table and then reinserting may be costlier than we want, and may also affect running queries