Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

 

...

 

ETL troubleshooting recipes

Issue: Repatienting (rename externalID well after work on sample has started)

System: GAP

Remedy: Request a refresh for Sample_Attributes datamart by issuing SQL statement like this in GAP_PROD.ANALYTICS:

INSERT INTO sample_attr_special_refreshes

SELECT 'SM-' || a.sample_id, SYSDATE 

FROM sample_attributes a

WHERE a.collaborator_sample_id IN ('old_externalID_1','old_externalID_2')

Issue: When upstream data change, some BSP plating info in BSP_PLATED_SAMPLES might need to be refreshed.

Remedy:  Request a refresh for BspPlatingRequestAgent by issuing SQL like this in GAP_PROD.ANALYTICS:

INSERT INTO bsp_plating_special_refreshes nologging VALUES('6E3K2');

Note there is no "SM-" prefix,

 

Issue: When upstream data change, some samples in PDO_STAR5 might need to be refreshed.

Remedy: Request a refresh for PdoStar5Agent by issuing SQL like this in SEQPROD.COGNOS:

INSERT INTO pdo_star_special_refreshes VALUES('PDO-1', 'SM-12345', sysdate)

Issue: When upstream data change, some samples in ReadgroupMetadata might need to be refreshed.

Remedy: Request a refresh for RunMercuryAgent by issuing SQL like this in SEQPROD.COGNOS:

CALL cognos.data_warehouse_api.request_refresh(P_FLOWCELL_BARCODE=>'XYZ', P_REQUESTED_BY=>'JohnDoe', P_COMMENTS=>'Test', P_DEFERRAL_ANALYSIS_DATE=>null)

No COMMIT needed in this particular call - it's implicitly done for you.

 

 

Issue: How to prevent an entire FC from getting into ReadgroupMetadata.

Remedy: Blacklist it by issuing SQL like this in SEQPROD.COGNOS:

UPDATE slxre_rghqs_targets a SET a.blacklist_timestamp=SYSDATE WHERE a.run_name='run123'

 

 

 

 

 

...

Lucidchart
pageCount1
autoUpdatefalse
alignleft
typerich
autoSize1
macroId12429fd4-a2d7-46dc-af21-443e725b6935
instanceIdConfluence:8792679401
pages
width1000
documentId9d330eff-c8ae-41f4-9dc8-85b6b8a3d064
documentToken9d330eff-c8ae-41f4-9dc8-85b6b8a3d064|42323|613974034|roWU8l128QfxaiCYJubRH2dajU5b/Nh9nnhlNtAj6FE=
updated1554397351357
height1000




Lucidchart
pageCount1
autoUpdatefalse
alignleft
typerich
autoSize1
macroId84fd7158-9101-4e21-b0a1-634d0edcb56b
instanceIdConfluence:8792679401
pages
width700
documentId33d8bcef-1687-4dbb-9f66-f57bf701614a
documentToken33d8bcef-1687-4dbb-9f66-f57bf701614a|42323|613974034|AvduFr3FqZqppnGLslzdsbXZmAhATSngKT0tKDDRMa0=
updated1554320733981
height500

Click here Jira DWH for more datamarts