python dynamically select rows from mysql -
i have table address
. table getting new row inserts, appox 1 row per second. lets called process1.
in parallel, need iterate on select * address
results inserted till via process1. process2. should wait process1 insert new rows if reaches end, ie, there no more rows process (iterate) in address
.
both process1 , 2 long. several hours or maybe days.
how should process2 in python?
add timestamp column , select rows newer timestamp latest processed.
Comments
Post a Comment