CloudKit + Coredata database size

I made some test on my application with CoreData + CloudKit synchronisation.

Currently my sqlite size is 1,38go. The problem is I deleted all records in CoreData, so my database should be low in size.

I open sqlite file and there are many records on system tables :
  • 1 871 295 records on ACHANGE table

  • 111 637 records on ANSCKIMPORTPENDINGRELATIONSHIP table

  • 474 803 records on ANSRECORDMETADATA

Why doesn't CloudKit+CoreData clean system tables automatically ?
CloudKit + Coredata database size
 
 
Q