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

Popular posts from this blog

delphi - How to convert bitmaps to video? -

jasper reports - Fixed header in Excel using JasperReports -

python - ('The SQL contains 0 parameter markers, but 50 parameters were supplied', 'HY000') or TypeError: 'tuple' object is not callable -