X-Git-Url: http://git.equinoxoli.org/?p=migration-tools.git;a=blobdiff_plain;f=mig-xml%2Fevergreen_staged_report.xml;h=5b1598ead4527fac2f1b9a0eb1fef2bd76aa384b;hp=3dbb36b41d759163910903e933f5fcc7474ae404;hb=d3bf56fcd9351c4ef45b5527d929228b6663ecaf;hpb=55b8c745e9563245a55f799ed01e60733e91f4b8
diff --git a/mig-xml/evergreen_staged_report.xml b/mig-xml/evergreen_staged_report.xml
index 3dbb36b..5b1598e 100644
--- a/mig-xml/evergreen_staged_report.xml
+++ b/mig-xml/evergreen_staged_report.xml
@@ -646,7 +646,7 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
bibs
1
Count
- SELECT COUNT(eg) FROM bib_id_map
+ SELECT COUNT(id) FROM biblio_record_entry_stage WHERE x_migrate = TRUE
@@ -655,7 +655,7 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
bibs
0
Count
- SELECT COUNT(eg) FROM bib_id_map where eg::INTEGER NOT IN (SELECT DISTINCT record FROM asset_call_number)
+ SELECT COUNT(id) FROM biblio_record_entry where id NOT IN (SELECT DISTINCT record FROM asset_call_number)
@@ -1029,25 +1029,36 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
+
+ dedupe_explain
+ dedupe
+ dedupe_process.asciidoc
+
+
- dedupe_format_count
+ dedupe_bib_groups
dedupe
0
- Count of Items Matching By Format
- Count.Format(s)
- SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;
+ Scoring and Bib Record Groups
+ Count.Bib Record Groups
+ SELECT COUNT(id), 'Total Bibs Being Evaluated' FROM biblio.record_entry WHERE deleted IS FALSE AND id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT (COUNT(DISTINCT incoming_bib)), 'Incoming Bibs With Matches Found' FROM bib_matches
+ UNION ALL SELECT (COUNT(bre.id) - (SELECT COUNT(DISTINCT incoming_bib) FROM bib_matches)), 'Incoming Bibs With No Match'
+ FROM biblio.record_entry bre WHERE bre.deleted IS FALSE AND bre.id IN (SELECT eg::BIGINT FROM bib_id_map)
+ UNION ALL SELECT COUNT(DISTINCT incoming_bib), 'Incoming Bibs Being Merged into Incumbent' FROM bib_matches WHERE incumbent_bib_score >= incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
+ UNION ALL SELECT COUNT(id), 'Incumbent Bibs With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
+ ;
-
+
- dedupe_scores
+ dedupe_format_count
dedupe
0
- Scoring Values in Matches
- Count.Scoring Information
- SELECT COUNT(id), 'Incumbent Records With Higher Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score > incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Equal Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score = incoming_bib_score
- UNION ALL SELECT COUNT(id), 'Incumbent Records With Lower Scores to Incoming' FROM bib_matches WHERE incumbent_bib_score < incoming_bib_score
- ;
+ Count of Items Matching By Format
+ Count.Format(s)
+ SELECT COUNT(id), search_formats FROM bib_matches GROUP BY 2 ORDER BY 2;
@@ -1072,5 +1083,38 @@ id = ac_sc.owner GROUP BY 2,3 ORDER BY 2,3
+
+
+
+ notices_overview
+ notices
+ 0
+ Overview of Notices for Migration
+ ID.Active.Owner.Name.Delay.Validator.Reactor
+ SELECT ed.id, ed.active, aou.shortname, LEFT(ed.name,25) || '...', ed.delay, ed.validator, ed.reactor
+ FROM action_trigger.event_definition ed
+ JOIN actor.org_unit aou ON aou.id = ed.owner
+ WHERE ed.owner IN (SELECT DISTINCT home_ou FROM actor_usr)
+ OR ed.owner IN (SELECT DISTINCT parent_ou FROM actor.org_unit WHERE id in (SELECT DISTINCT home_ou FROM actor_usr));
+
+
+
+
+ notices_count
+ notices
+ 0
+ Count of Notices Run with State
+ Count of Notices.State.ID.Owner.Name
+ SELECT COUNT(ate.id), ate.state, ed.id, aou.shortname, LEFT(ed.name,25) || '...'
+ FROM action_trigger.event_definition ed
+ JOIN actor.org_unit aou ON aou.id = ed.owner
+ JOIN action_trigger.event ate ON ate.event_def = ed.id
+ WHERE ed.owner IN (SELECT DISTINCT home_ou FROM actor_usr)
+ OR ed.owner IN (SELECT DISTINCT parent_ou FROM actor.org_unit WHERE id in (SELECT DISTINCT home_ou FROM actor_usr))
+ GROUP BY 2,3,4;
+
+
+
+