Postgresql – How to optimize postgresql for use with Jackrabbit (a lot of blobs)

optimizationpostgresql

Jackrabbit is a implementation of the JCR (Java Content Repository API), and it is used for instance by Artifactory which stores the maven artifacts in it. Therefore most of the stuff consists of blobs.

What configuration options do I need to tweak that postgres is optimized to this scenario?

Best Answer

While blobs take up space, they won't be written to often (I expect), so you may not need any tuning.

If it turns out you do, first move the tables with blobs into their own tablespace, and possibly tweak the disk performance on that tablespace by using raid1 for faster reads.