Hi
I see it's been a while since anybody has posted regarding this issue but recently, I've had a problem with similar symptoms as experiences above:
- Imported large amounts of documents using the admin import utility (+/- 280 GB)
- experienced extremely slow folder list rendering in the UI as well as with webdav (generally dreadful openkm performance

)
All my jackrabbit persistence managers (workspace, version and journal) are using postgres with disk based filestores. I have just stumbled upon the solution for my situation - manually create indexes in the postgres databases on the node_id_lo & node_id_hi fields in the default_bundle, version_bundle and version_refs tables.
e.g.
Code: Select allcreate index idx_node_id_hi_default on default_bundle(node_id_hi);
vacuum analyse default_bundle;
The the folder listings, document listings and property group updates are very rapid indeed.
Hope this helps someone.