mosql icon indicating copy to clipboard operation
mosql copied to clipboard

Skip Import

Open Rockyyost opened this issue 11 years ago • 2 comments

Is there anyway to skip a full import? If I've already most of the data in the destination table and would only like to start the tailing only, how could I do that? I see the command to skip tailing, but is there one to skip full import?

Rockyyost avatar Oct 27 '14 14:10 Rockyyost

There's no option to do so, currently. You could force it to skip by populating the mosql_tailers table, which is where MoSQL stores its current progress. We do have a --tail-from option, to start tailing at a specific point, but it doesn't suppress the initial import. It's quite possible that it should, though.

nelhage avatar Oct 27 '14 17:10 nelhage

What we do is just alter the postgres table by adding the column we need. Then we just a touch on our mongo table that we need which causes an update and the data comes over.

ryanatwork avatar Nov 07 '14 20:11 ryanatwork