Post #1598831
2026-04-12 17:43 UTC
@rosyna that should not happen. Is the save or setting the relationship on the object slow?
Replies (1)
-
@rosyna@mastodon.social 2026-04-13 04:52
@tba Setting the relationship itself is using an astounding amount of disk I/O. I don’t explicitly save when repairing relationships. Say I have a currentPath, a parentPath, and a parent relationship. If parent is NULL, I search for the 1 item whose currentPath is equal to the current object’s parentPath, then set that as the relationship. Then do the same for the next NULL. When I have enough rows/objects, this can use much disk I/O seemingly saving temp files. I’ll run instruments next time.