Currently term store is reaching 340GB in wikidata and slowly reaching the wb_terms era. To allow splitting s8 into a core cluster and a dedicated cluster for term store (tentatively called x3), we need to make term store take a different domain db than the core db of wikidata (and should be configurable and initially pointing to wikidata db). This would free up space for wikidata and reduces write pressure and allows for more horizontal scaling.
As an example, see how RepoDomainDb is injected in TermStoreWriterFactory or DatabaseTermStoreWriterBase.