SwiftData - disable Persistent History Tracking

Hello,

I am building a pretty large database (~40MB) to be used in my SwiftData iOS app as read-only.

While inserting and updating the data, I noticed a substantial increase in size (+ ~10MB).

A little digging pointed to ACHANGE and ATRANSACTION tables that apparently are dealing with Persistent History Tracking.

While I do appreciate the benefits of that, I prefer to save space.

Could you please point me in the right direction?

Hi, @VladFein. Since this is a question all aboutApple SwiftData platform framework, you should probably ask it over at the Apple developer forums.

Thank you @John_McCall , will try my luck there.
However, I found THIS forum way more helpful :)