Hi Hannes,
To your question about xhbm_configuration_data, I think what is taking up so much space there is data stored by the OHIF viewer plugin. You definitely need other entries in that table (e.g. the site-wide and project anonymization scripts are stored in that table) but you could try removing all of the rows in xhbm_configuration and xhbm_configuration_data for the viewer. I think the tool ID in xhbm_configuration is simply ohif-viewer, so if you deleted those then any corresponding entries in xhbm_configuration_data that should greatly reduce the size of that table (newer versions of the plugin use a separate table named xhbm_ohif_session_data for the session data).
That said… I’ve restored large databases in the past and running for over 100 hours seems excessive. This seems telling to me:
> Currently the DB size increases by a view Bytes per second
Presuming you meant a “few bytes per second", that seems awfully slow to me, but PostgreSQL tuning and analysis is not one of my areas of expertise. The only suggestions I can come up with are:
Maybe someone with more experience tuning and managing PostgreSQL in a Docker container has some other suggestions…
--
You received this message because you are subscribed to the Google Groups "xnat_discussion" group.
To unsubscribe from this group and stop receiving emails from it, send an email to
xnat_discussi...@googlegroups.com.
To view this discussion on the web visit
https://groups.google.com/d/msgid/xnat_discussion/ccae9b08-3a8f-499d-aeb7-b7d2e320abd0n%40googlegroups.com.
To delete those entries, just delete all of the lines in xhbm_configuration with the ohif-viewer ID. I’d probably use vim or sed to do that myself (you could also delete the line in xhbm_tool that declares the ohif-viewer tool, so it might be possible to just delete everything line that contains that string).
The xhbm_configuration_data table is a little trickier because the IDs for the configuration entries will all be different. You could try just deleting every line that contains some distinctive strings within the stored JSON, which should be fairly straightforward, as the JSON for the viewer is quite different from most of the other stuff stored in the configuration service.
To view this discussion on the web visit https://groups.google.com/d/msgid/xnat_discussion/1efcb923-f2d7-492e-ab44-a39bd514a0ccn%40googlegroups.com.