summaryrefslogtreecommitdiffstats
path: root/notes/bulk_edits
diff options
context:
space:
mode:
Diffstat (limited to 'notes/bulk_edits')
-rw-r--r--notes/bulk_edits/2020-08-05_chocula.md17
1 files changed, 17 insertions, 0 deletions
diff --git a/notes/bulk_edits/2020-08-05_chocula.md b/notes/bulk_edits/2020-08-05_chocula.md
new file mode 100644
index 00000000..78d2c9c3
--- /dev/null
+++ b/notes/bulk_edits/2020-08-05_chocula.md
@@ -0,0 +1,17 @@
+
+Using `journal-metadata-bot` and `chocula_fatcat_export.2020-07-31.json` export.
+
+Start small:
+
+ head -n100 /srv/fatcat/datasets/chocula_fatcat_export.2020-07-31.json | ./fatcat_import.py chocula --do-updates -
+ => Counter({'total': 100, 'update': 67, 'exists': 25, 'exists-skip-update': 24, 'insert': 8, 'exists-by-issnl': 1, 'skip': 0})
+
+Full batch:
+
+ time cat /srv/fatcat/datasets/chocula_fatcat_export.2020-07-31.json | ./fatcat_import.py chocula --do-updates -
+
+ Counter({'total': 164950, 'update': 112074, 'exists': 37243, 'exists-skip-update': 35862, 'insert': 15633, 'exists-by-issnl': 1381, 'skip': 0})
+
+ real 16m9.779s
+ user 6m26.324s
+ sys 0m16.088s