Dropping and recreating views
Generally speaking, you should not need to recreate the views very often. Usually, recreating the views is only required after upgrading to a newer Compose version or patch release that contains updates to the views. Although unlikely, you may also need to recreate the views if they were accidentally deleted. If there is a need to recreate the views after upgrading, it will be clearly stated in the release notes. The Views can be recreated using the Compose web console or using the Compose CLI.
If Compose detects a mismatch between the Logical Metadata (defined via the Metadata panel) and the Storage Zone metadata, the view recreation operation will fail and you will need to validate and adjust the storage before retrying the operation.
Recreating the Views with the web console
To recreate the Views using the web console, simply select Recreate Views from the menu in the top-right of the STORAGE ZONE panel. You will be prompted to confirm the operation as it might take some time, during which the Views data might not be accessible.
Recreating the Views with the CLI
Command syntax
ComposeCli.exe recreate_views--project project_name
Where:
--project is the name of the project.
Example
ComposeCli.exe recreate_views --project MyProject
See also: Validating the metadata and storage