Add notes for 2018-12-20

This commit is contained in:
Alan Orth 2018-12-20 12:56:16 +02:00
parent 50f7ca9398
commit 5ca656ee15
Signed by: alanorth
GPG Key ID: 0FB860CC9C45B1B9
2 changed files with 38 additions and 1 deletions

View File

@ -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)) - 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...
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->

View File

@ -48,7 +48,7 @@ I noticed that there is another issue with PDF thumbnails on CGSpace, and I see
"@type": "BlogPosting", "@type": "BlogPosting",
"headline": "December, 2018", "headline": "December, 2018",
"url": "https://alanorth.github.io/cgspace-notes/2018-12/", "url": "https://alanorth.github.io/cgspace-notes/2018-12/",
"wordCount": "2488", "wordCount": "2576",
"datePublished": "2018-12-02T02:09:30&#43;02:00", "datePublished": "2018-12-02T02:09:30&#43;02:00",
"dateModified": "2018-12-19T11:05:04&#43;02:00", "dateModified": "2018-12-19T11:05:04&#43;02:00",
"author": { "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
<li>Update Atmire Listings and Reports to add the journal title (<code>dc.source</code>) to bibliography and update example bibliography values (<a href="https://github.com/ilri/DSpace/pull/405">#405</a>)</li> <li>Update Atmire Listings and Reports to add the journal title (<code>dc.source</code>) to bibliography and update example bibliography values (<a href="https://github.com/ilri/DSpace/pull/405">#405</a>)</li>
</ul> </ul>
<h2 id="2018-12-20">2018-12-20</h2>
<ul>
<li>Testing compression of PostgreSQL backups with xz and gzip:</li>
</ul>
<pre><code>$ time xz -c cgspace_2018-12-19.backup &gt; cgspace_2018-12-19.backup.xz
xz -c cgspace_2018-12-19.backup &gt; 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 &gt; cgspace_2018-12-19.backup.gz
gzip -c cgspace_2018-12-19.backup &gt; 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
</code></pre>
<ul>
<li>Looks like it&rsquo;s really not worth it&hellip;</li>
</ul>
<!-- vim: set sw=2 ts=2: --> <!-- vim: set sw=2 ts=2: -->