How can I tell if my SDP process is still running the 'initial' load?

久未见 提交于 2020-01-06 13:53:34

问题


You cannot run any sql statements on a DashDB that result in locks that will conflict with the schema discovery process (SDP) during the initial load. See here for more information:

SQLCODE=-911 : "warehouser_error_message": "File <<filename>>.csv.zip could not be loaded due to an exception in dashDB

Question: How can I verify if SDP is running the initial load?


回答1:


Log in to the Cloudant dashboard and select the _warehouser database. Inside that database, select the document that represents the SDP that you are trying to verify the status of. Inside that document, look for the tag sub_status:

  "replication_status": {
    "yourdatabase": {
      ...
      "sub_status": "initial",
      ...
    }
  },

This will be set to initial for the initial load and continuous when the initial load has finished.



来源:https://stackoverflow.com/questions/30806048/how-can-i-tell-if-my-sdp-process-is-still-running-the-initial-load

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!