[Mail.app] Optimaliseren Envelope file

Pagina: 1
Acties:

  • Nitai
  • Registratie: November 1999
  • Laatst online: 11-02 09:46

Nitai

Live the life you love.

Topicstarter
Ik kwam deze tip van de week tegen en wilde die graag delen met jullie. Het heeft m'n Mail.app aanzienlijk sneller gemaakt.

http://www.hawkwings.net/...-way-to-speed-up-mailapp/
1. Quit Mail.

2. Open Terminal.

3. Type the following:

code:
1
2
cd ~/Library/Mail
sqlite3 Envelope\ Index


An sqlite> prompt will appear.

At that prompt, type
code:
1
vacuum subjects;


After a short delay, the prompt will return. Type Control-D to exit.

4. Restart Mail and enjoy the extra speed.

“Believe and act as if it were impossible to fail.” —Charles Kettering


  • Sage
  • Registratie: April 2001
  • Laatst online: 24-05-2025
Ik vind de laatste repley toch wel de zinvolste denk ik zo.... :P
The simple way seems to do same beneficts:

1) In Mail, click the "Inbox" mailbox
2) Menu "Mailbox" > "Rebuild"
3) Wait?

If you do ?Get Info? on ?Envelope Index? file before 1) and then after 3) you will notice some fat get out of that file.
And, this procedure is suggested as normal maintenance and troubleshooting method for get Mail performance restored to good life.
Apply this for any maibox and folders in Mail.

kleurbleur.nl


  • Nitai
  • Registratie: November 1999
  • Laatst online: 11-02 09:46

Nitai

Live the life you love.

Topicstarter
Blijkbaar is dat niet hetzelfde (staat ook in een artikel, zal het opzoeken) :) Er is wat winst maar niet zoveel als dat je het in de terminal doet.

[ Voor 7% gewijzigd door Nitai op 05-03-2007 13:30 ]

“Believe and act as if it were impossible to fail.” —Charles Kettering


  • CyBeR
  • Registratie: September 2001
  • Niet online

CyBeR

💩

Makkelijker is:
code:
1
sqlite3 ~/Library/Mail/Envelope\ Index vacuum

All my posts are provided as-is. They come with NO WARRANTY at all.


  • dawuss
  • Registratie: Maart 2001
  • Laatst online: 01-02 20:46

dawuss

gadgeteer

^^ doet het ook goed in cronjobs trouwens :)

micheljansen.org
Fulltime Verslaafde Commandline Fetisjist ©


  • Wim Leers
  • Registratie: Januari 2004
  • Laatst online: 23:28
dawuss schreef op maandag 05 maart 2007 @ 14:15:
^^ doet het ook goed in cronjobs trouwens :)
Jep :) Dan ook nog een maandelijks maintenance scriptje dat Spotlight index verwijdert en dan is iTunes, iPhoto en nog een hoop andere meuk ook weer lekker snel :)

  • kamerplant
  • Registratie: Juli 2001
  • Niet online
Eh wat doen de regels precies?
De index van Spotlight verwijderen? Wil je dat?

🌞🍃


  • CyBeR
  • Registratie: September 2001
  • Niet online

CyBeR

💩

Nee, want vervolgens is je computer gewoon een paar uur bezig om die index opnieuw aan te maken en heb je weer precies hetzelfde...

En de regel (als je de mijne neemt) doet gewoon een cleanup op de sql database waar mail wat info in bewaart. Daar blijft wel 's data in achter die eigenlijk gedelete is namelijk.

http://www.faqs.org/docs/ppbook/x17549.htm

Dat gaat dan over postgresql maar 't idee is hetzelfde voor sqlite.

[ Voor 53% gewijzigd door CyBeR op 05-03-2007 20:22 ]

All my posts are provided as-is. They come with NO WARRANTY at all.


  • Nitai
  • Registratie: November 1999
  • Laatst online: 11-02 09:46

Nitai

Live the life you love.

Topicstarter
Thnx CyBeR und Dawuss, heb hem inmiddels al in de cron gegooid. :)

“Believe and act as if it were impossible to fail.” —Charles Kettering

Pagina: 1