aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--extra/stats/2022-01-25-prod-stats.json1
-rw-r--r--extra/stats/2022-01-25-prod-table-sizes.txt46
2 files changed, 47 insertions, 0 deletions
diff --git a/extra/stats/2022-01-25-prod-stats.json b/extra/stats/2022-01-25-prod-stats.json
new file mode 100644
index 00000000..21676f19
--- /dev/null
+++ b/extra/stats/2022-01-25-prod-stats.json
@@ -0,0 +1 @@
+{"changelog":{"latest":{"index":5718714,"timestamp":"2022-01-25T19:56:57.710683+00:00"}},"container":{"total":186551},"papers":{"in_kbart":76796730,"in_web":32061099,"in_web_not_kbart":15109065,"is_oa":22709439,"total":124123966},"release":{"refs_total":1236862767,"total":176099597}}
diff --git a/extra/stats/2022-01-25-prod-table-sizes.txt b/extra/stats/2022-01-25-prod-table-sizes.txt
new file mode 100644
index 00000000..004f7073
--- /dev/null
+++ b/extra/stats/2022-01-25-prod-table-sizes.txt
@@ -0,0 +1,46 @@
+Size: 797.70G (PostgreSQL 11.6, wbgrp-svc502)
+
+ table_name | table_size | indexes_size | total_size
+---------------------------------------+------------+--------------+------------
+ "public"."release_contrib" | 81 GB | 63 GB | 144 GB
+ "public"."release_rev" | 79 GB | 39 GB | 118 GB
+ "public"."refs_blob" | 111 GB | 2885 MB | 114 GB
+ "public"."file_rev" | 35 GB | 44 GB | 79 GB
+ "public"."release_edit" | 18 GB | 23 GB | 41 GB
+ "public"."file_rev_url" | 29 GB | 11 GB | 40 GB
+ "public"."work_edit" | 17 GB | 23 GB | 39 GB
+ "public"."file_edit" | 17 GB | 22 GB | 39 GB
+ "public"."abstracts" | 30 GB | 2379 MB | 32 GB
+ "public"."release_ident" | 12 GB | 16 GB | 27 GB
+ "public"."work_ident" | 11 GB | 15 GB | 27 GB
+ "public"."file_rev_release" | 8753 MB | 16 GB | 24 GB
+ "public"."file_ident" | 8001 MB | 13 GB | 21 GB
+ "public"."release_ref" | 6373 MB | 9016 MB | 15 GB
+ "public"."work_rev" | 7501 MB | 5829 MB | 13 GB
+ "public"."release_rev_abstract" | 4474 MB | 6098 MB | 10 GB
+ "public"."creator_edit" | 935 MB | 1528 MB | 2463 MB
+ "public"."creator_rev" | 928 MB | 1242 MB | 2170 MB
+ "public"."editgroup" | 1374 MB | 763 MB | 2138 MB
+ "public"."webcapture_rev_cdx" | 1525 MB | 290 MB | 1815 MB
+ "public"."creator_ident" | 631 MB | 1120 MB | 1751 MB
+ "public"."release_rev_extid" | 523 MB | 773 MB | 1296 MB
+ "public"."changelog" | 452 MB | 383 MB | 835 MB
+ "public"."container_rev" | 206 MB | 82 MB | 288 MB
+ "public"."container_edit" | 57 MB | 80 MB | 137 MB
+ "public"."container_ident" | 13 MB | 31 MB | 44 MB
+ "public"."webcapture_edit" | 25 MB | 17 MB | 41 MB
+ "public"."webcapture_rev_url" | 21 MB | 7064 kB | 27 MB
+ "public"."webcapture_rev_release" | 7368 kB | 12 MB | 19 MB
+ "public"."webcapture_rev" | 14 MB | 4576 kB | 19 MB
+ "public"."webcapture_ident" | 8272 kB | 9064 kB | 17 MB
+ "public"."editor" | 88 kB | 152 kB | 240 kB
+ "public"."auth_oidc" | 88 kB | 136 kB | 224 kB
+ "public"."editgroup_annotation" | 64 kB | 48 kB | 112 kB
+ "public"."fileset_rev_file" | 48 kB | 32 kB | 80 kB
+ "public"."fileset_edit" | 16 kB | 48 kB | 64 kB
+ "public"."fileset_rev_url" | 16 kB | 32 kB | 48 kB
+ "public"."fileset_rev_release" | 8192 bytes | 32 kB | 40 kB
+ "public"."fileset_ident" | 8192 bytes | 32 kB | 40 kB
+ "public"."fileset_rev" | 16 kB | 16 kB | 32 kB
+ "public"."__diesel_schema_migrations" | 8192 bytes | 16 kB | 24 kB
+(41 rows)