Add notes for 2023-08-07

This commit is contained in:
2023-08-07 10:48:56 +02:00
parent 021a92c0d9
commit e0f9e484ee
32 changed files with 79 additions and 37 deletions

View File

@ -30,4 +30,21 @@ categories: ["Notes"]
- Export CGSpace to check for missing Initiative collection mappings
- Start a harvest on AReS
## 2023-08-07
- I'm checking the PostgreSQL logs now that statement logging has been enabled for a few days on DSpace Test
- I see the logs are about 7 or 8 GB, which is larger than expected—and this is the test server!
- I will now play with pgbadger to see if it gives any useful insights
- Hmm, it sems the `log_statement` advice was old as pgbadger itself says:
> Do not enable log_statement as its log format will not be parsed by pgBadger.
... and:
> Warning: Do not enable both log_min_duration_statement, log_duration and log_statement all together, this will result in wrong counter values. Note that this will also increase drastically the size of your log. log_min_duration_statement should always be preferred.
- So we need to follow pgbadger's instructions rather to get a suitable log file
- After enabling the new settings I see that our log file is going to be reaallllly big... hmmmm will check tomorrow morning
- More work on the IFPRI batch uploads
<!-- vim: set sw=2 ts=2: -->