cloudant - What steps are performed by a 'Rescan'? -


to automatically warehouse documents cloudant dashdb, there schema discovery process (sdp) automates data migration you. when using sdp warehouse documents cloudant dashdb, there option 'rescan'.

i have used 'rescan' number of times, unclear on steps performs. steps performed 'rescan'? e.g.

  1. drop tables in dashdb target schema? tables?
  2. scan cloudant source database?
  3. recreate target schema?
  4. ...
  5. ...

the steps pretty suggested. rescan will

  1. inspect discovered json schema , remove tables dashdb instance created load (leaving user defined tables untouched)

  2. re-discover json schema again using current settings (including sample size, type of discovery algorithm etc.)

  3. create new tables same dashdb target

  4. ingest newly created tables data cloudant

  5. subscribe _changes feed cloudant continuously synchronize document changes dashdb

all steps (except first) identical initial load rescan function.

the main motivation rescan support schema evolution. whenever document structure in cloudant source database changes, user can make conscious decision drop , re-create dashdb tables using rescan function. sdp won't automate process avoid potential conflicts applications depending on existing dashdb tables.


Comments

Popular posts from this blog

html - Outlook 2010 Anchor (url/address/link) -

javascript - Why does running this loop 9 times take 100x longer than running it 8 times? -

Getting gateway time-out Rails app with Nginx + Puma running on Digital Ocean -