Ask Different is a question and answer site for power users of Apple hardware and software. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

I don't know why, but about a week ago I started seeing a lot of errors like this in system.log:

9/15/12 5:55:21.769 AM Alfred[263]: DB Query: select item, count(item) as used from knowledge where ts > ? and item in (?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?,?) group by item
9/15/12 5:55:21.769 AM Alfred[263]: DB Error: 11 "database disk image is malformed"

It would occasionally take about a second for files to show up in the result list.

Deleting the Spotlight index didn't help, but then I noticed that the usage tab didn't display any statistics either:

I think I solved it by just pressing the reset knowledge button. But I didn't find search results for this issue, so I'm answering this question myself.

share|improve this question
up vote 2 down vote accepted

So, pressing the reset knowledge button in the preferences seems to have fixed it.

If you get similar errors, you could also try removing ~/Library/Application Support/Alfred/knowledge.alfdb or other database files. If you're using a sandboxed version bought from the App Store, they are in ~/Library/Containers/com.alfredapp.Alfred/Data/.

share|improve this answer

Your Answer


By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.