diff --git a/content/posts/2022-03.md b/content/posts/2022-03.md index d763c6a4a..f9a79a289 100644 --- a/content/posts/2022-03.md +++ b/content/posts/2022-03.md @@ -202,4 +202,23 @@ Due to abuse we no longer permit requests without a user agent. Please specify a - I did this on DSpace Test in 2022-02 so I just followed the same procedure - After that I ran all system updates and rebooted the server +## 2022-03-25 + +- Looking at the PostgreSQL database size on CGSpace after the update yesterday: + +![PostgreSQL database size day](/cgspace-notes/2022/03/postgres_size_cgspace-day.png) + +- The space saving in indexes of recent PostgreSQL releases is awesome! +- Import a DSpace 6.x database dump from production into my local DSpace 7 database + - I see I still the same errors [I saw in 2021-04]({{< relref "2021-04.md" >}}) when testing DSpace 7.0 beta 5 + - I had to delete some old migrations, as well as all Atmire ones first: + +```console +localhost/dspace7= ☘ DELETE FROM schema_version WHERE version IN ('5.0.2017.09.25', '6.0.2017.01.30', '6.0.2017.09.25'); +localhost/dspace7= ☘ DELETE FROM schema_version WHERE description LIKE '%Atmire%' OR description LIKE '%CUA%' OR description LIKE '%cua%' +``` + +- Then I was able to migrate to DSpace 7 with `dspace database migrate ignored` as the [DSpace upgrade notes say](https://wiki.lyrasis.org/display/DSDOC7x/Upgrading+DSpace) + - I see that the [flash of unstyled content bug](https://github.com/DSpace/dspace-angular/issues/1357) still exists on dspace-angluar... ouch! + diff --git a/docs/2022-03/index.html b/docs/2022-03/index.html index 6a603ab7f..6a6cafecd 100644 --- a/docs/2022-03/index.html +++ b/docs/2022-03/index.html @@ -19,7 +19,7 @@ $ csvjoin -c id /tmp/2022-03-01-tac-batch4-701-980.csv /tmp/tac4-filenames.csv & - + @@ -44,9 +44,9 @@ $ csvjoin -c id /tmp/2022-03-01-tac-batch4-701-980.csv /tmp/tac4-filenames.csv & "@type": "BlogPosting", "headline": "March, 2022", "url": "https://alanorth.github.io/cgspace-notes/2022-03/", - "wordCount": "1159", + "wordCount": "1290", "datePublished": "2022-03-01T16:46:54+03:00", - "dateModified": "2022-03-24T22:14:56+03:00", + "dateModified": "2022-03-24T22:54:47+03:00", "author": { "@type": "Person", "name": "Alan Orth" @@ -327,6 +327,29 @@ isNotNull(value.match('821')) +

2022-03-25

+ +

PostgreSQL database size day

+ +
localhost/dspace7= ☘ DELETE FROM schema_version WHERE version IN ('5.0.2017.09.25', '6.0.2017.01.30', '6.0.2017.09.25');
+localhost/dspace7= ☘ DELETE FROM schema_version WHERE description LIKE '%Atmire%' OR description LIKE '%CUA%' OR description LIKE '%cua%'
+
diff --git a/docs/categories/index.html b/docs/categories/index.html index da0707503..86ff633c1 100644 --- a/docs/categories/index.html +++ b/docs/categories/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/index.html b/docs/categories/notes/index.html index bb33556a4..203905345 100644 --- a/docs/categories/notes/index.html +++ b/docs/categories/notes/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/2/index.html b/docs/categories/notes/page/2/index.html index 1729955b2..7d6ac5b89 100644 --- a/docs/categories/notes/page/2/index.html +++ b/docs/categories/notes/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/3/index.html b/docs/categories/notes/page/3/index.html index cb16b6fdf..2cace764a 100644 --- a/docs/categories/notes/page/3/index.html +++ b/docs/categories/notes/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/4/index.html b/docs/categories/notes/page/4/index.html index 02c0a3189..bff45d051 100644 --- a/docs/categories/notes/page/4/index.html +++ b/docs/categories/notes/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/5/index.html b/docs/categories/notes/page/5/index.html index 49053080c..5d58d6b27 100644 --- a/docs/categories/notes/page/5/index.html +++ b/docs/categories/notes/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/categories/notes/page/6/index.html b/docs/categories/notes/page/6/index.html index f042be0ba..02c97c0e9 100644 --- a/docs/categories/notes/page/6/index.html +++ b/docs/categories/notes/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/index.html b/docs/index.html index 8d6fe44ba..5a69a0d26 100644 --- a/docs/index.html +++ b/docs/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/2/index.html b/docs/page/2/index.html index f4503d1be..a7304e71d 100644 --- a/docs/page/2/index.html +++ b/docs/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/3/index.html b/docs/page/3/index.html index c6b818a73..3f5b63bec 100644 --- a/docs/page/3/index.html +++ b/docs/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/4/index.html b/docs/page/4/index.html index a2fd10163..535b6db10 100644 --- a/docs/page/4/index.html +++ b/docs/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/5/index.html b/docs/page/5/index.html index 60320bed8..3f393baf7 100644 --- a/docs/page/5/index.html +++ b/docs/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/6/index.html b/docs/page/6/index.html index 528769842..d5e5a1dc5 100644 --- a/docs/page/6/index.html +++ b/docs/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/7/index.html b/docs/page/7/index.html index 0283c9d1a..2dcfc8f4c 100644 --- a/docs/page/7/index.html +++ b/docs/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/page/8/index.html b/docs/page/8/index.html index 8b1a1ae48..f576a3a0c 100644 --- a/docs/page/8/index.html +++ b/docs/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/index.html b/docs/posts/index.html index 074efcfc5..da3e39760 100644 --- a/docs/posts/index.html +++ b/docs/posts/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/2/index.html b/docs/posts/page/2/index.html index c3a129584..ca6112323 100644 --- a/docs/posts/page/2/index.html +++ b/docs/posts/page/2/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/3/index.html b/docs/posts/page/3/index.html index 7c659c0a6..2e2085151 100644 --- a/docs/posts/page/3/index.html +++ b/docs/posts/page/3/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/4/index.html b/docs/posts/page/4/index.html index 9c2b07959..d8321cac0 100644 --- a/docs/posts/page/4/index.html +++ b/docs/posts/page/4/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/5/index.html b/docs/posts/page/5/index.html index a1c48f4c0..a5b5b33b2 100644 --- a/docs/posts/page/5/index.html +++ b/docs/posts/page/5/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/6/index.html b/docs/posts/page/6/index.html index e0a7394cf..6cbb05e02 100644 --- a/docs/posts/page/6/index.html +++ b/docs/posts/page/6/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/7/index.html b/docs/posts/page/7/index.html index 28484352f..095f55abf 100644 --- a/docs/posts/page/7/index.html +++ b/docs/posts/page/7/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/posts/page/8/index.html b/docs/posts/page/8/index.html index 1153df9ad..c674b2aa7 100644 --- a/docs/posts/page/8/index.html +++ b/docs/posts/page/8/index.html @@ -10,7 +10,7 @@ - + diff --git a/docs/sitemap.xml b/docs/sitemap.xml index f319859c8..3a85fc83d 100644 --- a/docs/sitemap.xml +++ b/docs/sitemap.xml @@ -3,19 +3,19 @@ xmlns:xhtml="http://www.w3.org/1999/xhtml"> https://alanorth.github.io/cgspace-notes/categories/ - 2022-03-24T22:14:56+03:00 + 2022-03-24T22:54:47+03:00 https://alanorth.github.io/cgspace-notes/ - 2022-03-24T22:14:56+03:00 + 2022-03-24T22:54:47+03:00 https://alanorth.github.io/cgspace-notes/2022-03/ - 2022-03-24T22:14:56+03:00 + 2022-03-24T22:54:47+03:00 https://alanorth.github.io/cgspace-notes/categories/notes/ - 2022-03-24T22:14:56+03:00 + 2022-03-24T22:54:47+03:00 https://alanorth.github.io/cgspace-notes/posts/ - 2022-03-24T22:14:56+03:00 + 2022-03-24T22:54:47+03:00 https://alanorth.github.io/cgspace-notes/2022-02/ 2022-03-01T17:17:27+03:00