Undeploying a smart view¶
This operation removes the data created during the deploy. The undeploy operation is required before deleting a smart view to free allocated resources in the data warehouse and avoid performance issues. The progress of this operation is tracked on the "Monitoring Messages" page.
This operation deletes all the data of the smart view. However, this data is maintained in bm.20 tables. In fact, if the smart view is deployed again, it is populated with the same data.
Smart View undeploy status¶
The undeploy status of a smart view is shown on each smart view tile, followed by the name of the environment selected when the undeploy operation has been started. The possible statuses can be NotDeployed, Deploying, Undeploying, Deployed, Deployed with errors, Undeployed with errors. To view the updated status, refresh the page.
The undeploy operation is not allowed if the smart view status is "Busy", which means that an operation (deploy or undeploy) is in progress on the smart view.
Important recommendations¶
- The successful completion of neither the deploy nor the undeploy of a smart view is automatically visible. Therefore, before starting the deploy or undeploy of a smart view you need to check on the "Monitoring Messages" page that the previous deploy or undeploy of that smart view has been completed successfully. This is particularly recommended when you want to execute one operation immediately after the other.
- If by mistake you launch an undeploy operation before you have deployed the smart view, no error is returned and the smart view remains unchanged.
Procedure¶
- On the "Smart View" page, select the smart view for which you want to perform the undeploy operation. The smart view must be in "Deployed" status.
- Click "Undeploy Smart View". This button is not visible if the smart view has not been deployed before.
- Select the Environment and click "Undeploy". All the structures and objects created during the previous deploy operation are removed. During the undeploy operation, the "Deploy Info" on the smart view tile shows the "Undeploying on environment name" message.
- In the "Monitoring Messages" page, monitor the progress and completion of the operation. When the undeploy has been completed, the "Deploy Info" on the smart view tile shows the "NotDeployed on environment name" message. If any errors occurred during the undeploy, the "undeployed with errors" message is displayed.