From 5ca656ee154f2269df034d6c74bb4f585e2fd6f8 Mon Sep 17 00:00:00 2001 From: Alan Orth Date: Thu, 20 Dec 2018 12:56:16 +0200 Subject: [PATCH] Add notes for 2018-12-20 --- content/posts/2018-12.md | 17 +++++++++++++++++ docs/2018-12/index.html | 22 +++++++++++++++++++++- 2 files changed, 38 insertions(+), 1 deletion(-) diff --git a/content/posts/2018-12.md b/content/posts/2018-12.md index fc5719204..ce273d8d2 100644 --- a/content/posts/2018-12.md +++ b/content/posts/2018-12.md @@ -405,4 +405,21 @@ Mozilla/3.0 (compatible; Indy Library) - Update Atmire Listings and Reports to add the journal title (`dc.source`) to bibliography and update example bibliography values ([#405](https://github.com/ilri/DSpace/pull/405)) +## 2018-12-20 + +- Testing compression of PostgreSQL backups with xz and gzip: + +``` +$ time xz -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.xz +xz -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.xz 48.29s user 0.19s system 99% cpu 48.579 total +$ time gzip -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.gz +gzip -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.gz 2.78s user 0.09s system 99% cpu 2.899 total +$ ls -lh cgspace_2018-12-19.backup* +-rw-r--r-- 1 aorth aorth 96M Dec 19 02:15 cgspace_2018-12-19.backup +-rw-r--r-- 1 aorth aorth 94M Dec 20 11:36 cgspace_2018-12-19.backup.gz +-rw-r--r-- 1 aorth aorth 93M Dec 20 11:35 cgspace_2018-12-19.backup.xz +``` + +- Looks like it's really not worth it... + diff --git a/docs/2018-12/index.html b/docs/2018-12/index.html index 07c23c8fb..ac25bfb64 100644 --- a/docs/2018-12/index.html +++ b/docs/2018-12/index.html @@ -48,7 +48,7 @@ I noticed that there is another issue with PDF thumbnails on CGSpace, and I see "@type": "BlogPosting", "headline": "December, 2018", "url": "https://alanorth.github.io/cgspace-notes/2018-12/", - "wordCount": "2488", + "wordCount": "2576", "datePublished": "2018-12-02T02:09:30+02:00", "dateModified": "2018-12-19T11:05:04+02:00", "author": { @@ -581,6 +581,26 @@ $ grep -o -E 'session_id=[A-Z0-9]{32}:ip_addr=54.70.40.11' dspace.log.2018-12-05
  • Update Atmire Listings and Reports to add the journal title (dc.source) to bibliography and update example bibliography values (#405)
  • +

    2018-12-20

    + + + +
    $ time xz -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.xz
    +xz -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.xz  48.29s user 0.19s system 99% cpu 48.579 total
    +$ time gzip -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.gz
    +gzip -c cgspace_2018-12-19.backup > cgspace_2018-12-19.backup.gz  2.78s user 0.09s system 99% cpu 2.899 total
    +$ ls -lh cgspace_2018-12-19.backup*
    +-rw-r--r-- 1 aorth aorth 96M Dec 19 02:15 cgspace_2018-12-19.backup
    +-rw-r--r-- 1 aorth aorth 94M Dec 20 11:36 cgspace_2018-12-19.backup.gz
    +-rw-r--r-- 1 aorth aorth 93M Dec 20 11:35 cgspace_2018-12-19.backup.xz
    +
    + + +