Where is EPG database built?

I have multiple hard drives and an SSD for my boot drive.

Currently Jellyfin uses one of my spinning drives for caches etc…

When I re-scan my EPG data it takes quite a while and the HDD thrashes. I want to move the process to use my SSD whilst re-building the RPG database but not sure which Jellyfin option to change to move only EPG rebuild back to my SSD.