Purpose (problem description)
This page helps you to resolve the below snapshot issue where it fails with the error - "duplicate key value violates unique constraint dss_me_val_typ_pk"
In CAST-Ms log you can see below error:
Observed in CAST Version
Release | Yes/No |
---|---|
8.3 | |
8.2 |
Observed in RDBMS
RDBMS | Yes/No |
---|---|
Oracle Server | |
Microsoft SQL Server | |
CSS3 | |
CSS2 |
Step by Step scenario
- Run Snapshot
- Observe it is failed at compute snapshot step
Action Plan
If the snapshot has failed at compute snapshot step with the above mentioned error then please perform the below actions :
- Perform 'component reinstall' action on central schema using server manager.
Run the below query in central schema and confirm that no rows are returned (Please reach out to CAST Technical Support if you get any result for below query).
select * from dss_metric_value_types dmvt where not exists (select 1 from dss_metric_types dmt where dmt.metric_id = dmvt.metric_id)
- Launch snapshot skipping analysis.
- If the above steps do not solve your issue contact CAST Technical Support. with the following Relevant input.
Relevant input
- CAST Support Tool (CST) - alias Sherlock export with the following options Export Logs, Export Configuration files, Export CAST Bases with Management Base, Knowledge Base, Central base.
- Screenshot of the issue
Notes/comments
Ticket #24814
Related Pages