Thanks for being a part of WWDC25!

How did we do? We’d love to know your thoughts on this year’s conference. Take the survey here

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?

SwiftData - disable Persistent History Tracking
 
 
Q