• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Core Data, SQLite, and Housekeeping
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Core Data, SQLite, and Housekeeping


  • Subject: Re: Core Data, SQLite, and Housekeeping
  • From: Jens Alfke <email@hidden>
  • Date: Wed, 5 Mar 2008 11:38:54 -0800


On 5 Mar '08, at 9:15 AM, I. Savant wrote:

 Okay, well that sucks. So now the question is this: does Core Data
implicitly run VACUUM? If so, when? How often? Unfortunately googling
and archive-searching did not produce any obvious answers to this
particular question. My guess is that the answer is, "Yes, at every
save,"

I don't know the answer; but it probably doesn't vacuum at every save. Vacuuming can be quite slow if the database is at all large, especially if there's already a lot of disk I/O going on. (The vacuum algorithm has to read and write every page of the database.)


—Jens

Attachment: smime.p7s
Description: S/MIME cryptographic signature

_______________________________________________

Cocoa-dev mailing list (email@hidden)

Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com

Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Follow-Ups:
    • Re: Core Data, SQLite, and Housekeeping
      • From: "I. Savant" <email@hidden>
References: 
 >Core Data, SQLite, and Housekeeping (From: "I. Savant" <email@hidden>)

  • Prev by Date: [Job Posting] Full Time Cocoa Developer
  • Next by Date: Re: KVO autonotifying complaining about custom setter return value
  • Previous by thread: Core Data, SQLite, and Housekeeping
  • Next by thread: Re: Core Data, SQLite, and Housekeeping
  • Index(es):
    • Date
    • Thread