Alik Kurdyukov
02/19/2024, 4:26 PMEdgar Ramírez (Arch.dev)
02/19/2024, 4:54 PMAlik Kurdyukov
02/20/2024, 8:33 AM___filter___ and stumbled on next problem - replication key processing. Whole task I'm trying to solve is:
I have table A in postgres with column is_ready than marks that row it ready to be synched. This table contain 7m+ rows, only 100+ rows are created/updated between syncs. Row is created with is_ready=false, next period it's updated to is_ready=true.
Number of rows makes me think that the only reasonable way to sync is incremental.
AFAIK, using filter will ignore all is_ready=false rows on the moment row is created and skip it forever. Am I right?Edgar Ramírez (Arch.dev)
02/20/2024, 3:38 PMupdated_at that's incremented when is_ready is set to true?Alik Kurdyukov
02/20/2024, 3:40 PMEdgar Ramírez (Arch.dev)
02/20/2024, 3:44 PMAlik Kurdyukov
02/20/2024, 3:46 PMupdated_at because they are updated togetherEdgar Ramírez (Arch.dev)
02/20/2024, 4:05 PMAlik Kurdyukov
02/20/2024, 4:06 PMupdated_at seen before.