OH3 Persisting Items using rrd4j service on Raspberry Pi on a memory stick

The full story about SD card wearout is complex, see here.
Complex problems don’t have simple (and good) solutions.
Long answer short, use openHABian, it also puts persistence data into RAM by default.