Author Topic: Is there a way to force a "reload"?  (Read 5039 times)

GregW

  • Newbie
  • *
  • Posts: 6
Is there a way to force a "reload"?
« on: December 31, 2015, 09:40:37 pm »
I love this app. One of the most flexible and robust that I own!

I had two very large accounts in AquaMail. I deleted one and although everything works fine, there is a long lag when opening. Maybe a lot of free space in the DB?  Is there a way to "reset" and/or "reload" all the email messages without affecting all the sweet settings I have set up?

Did I mention I love this app?

TIA.

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Is there a way to force a "reload"?
« Reply #1 on: December 31, 2015, 09:49:46 pm »
I love this app. One of the most flexible and robust that I own!

I had two very large accounts in AquaMail. I deleted one and although everything works fine, there is a long lag when opening. Maybe a lot of free space in the DB?  Is there a way to "reset" and/or "reload" all the email messages without affecting all the sweet settings I have set up?

Did I mention I love this app?

TIA.
You can use the option "Compact the database":

> go to the account list view (the app's main window) > Menu button > Compact the database

Have a great new year 2016

Regards
Mikeone

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Is there a way to force a "reload"?
« Reply #2 on: December 31, 2015, 09:55:00 pm »
Also please check Menu -> About (on the app's main window) to check the app's message database size.

Going over about 60-100 megabytes can make things slow (can happen with really large "messages to sync" / "messages to cache" settings, in the thousands).
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

GregW

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to force a "reload"?
« Reply #3 on: December 31, 2015, 10:24:44 pm »
Thank. Compress done.
Will watch the next few startups.

Since you mentioned it, can you help me understand the diff between "messages to sync" and "messages to cache"? (or point me to a Help link).

Thanks again.

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Is there a way to force a "reload"?
« Reply #4 on: December 31, 2015, 10:27:17 pm »
Thank. Compress done.
Will watch the next few startups.

Since you mentioned it, can you help me understand the diff between "messages to sync" and "messages to cache"? (or point me to a Help link).

Thanks again.

Here is a link to a very good explanation by Kostya:

https://www.aqua-mail.com/forum/index.php?topic=2742.msg12157#msg12157

this_is_nascar

  • Jr. Member
  • **
  • Posts: 92
Re: Is there a way to force a "reload"?
« Reply #5 on: January 02, 2016, 03:04:44 pm »
Also please check Menu -> About (on the app's main window) to check the app's message database size.

Going over about 60-100 megabytes can make things slow (can happen with really large "messages to sync" / "messages to cache" settings, in the thousands).
Based on this, I guess I should do some maintenance.



Sent from my XT1254 using Tapatalk


Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Is there a way to force a "reload"?
« Reply #6 on: January 02, 2016, 03:54:19 pm »
The app does maintenance on its database every night, but it's not as deep as when you do Menu -> Compact the database, so please do that (it will also create the "linked schema" mentioned on this screen which speeds up message list queries).

However, even with that 200 megabytes may be too much -- I recommend evaluating and reducing the "messages to sync" / "messages to cache" settings.

Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

GregW

  • Newbie
  • *
  • Posts: 6
Re: Is there a way to force a "reload"?
« Reply #7 on: January 02, 2016, 06:16:41 pm »
The compress did the trick!  Back to snappy fast on opening. Thanks for the help all!

BTW, I have Messages to sync at 90 and Messages to cache set to 50 for both my accounts. About box shows a DB of 165MB + 512KB.  Everything works great.

Thanks again.

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Is there a way to force a "reload"?
« Reply #8 on: January 02, 2016, 07:09:13 pm »
BTW, I have Messages to sync at 90 and Messages to cache set to 50 for both my accounts. About box shows a DB of 165MB + 512KB. 

You have those two numbers set backwards. "Messages to cache" should be larger than "Messages to sync"/ See e.g. this thread: http://www.aqua-mail.com/forum/index.php?topic=2742.0 for the explanation from Kostya.

(And 165 MB seems like a huge number for just under-100 messages... You must have huge messages with lots of attachments/images.)

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Is there a way to force a "reload"?
« Reply #9 on: January 02, 2016, 08:08:21 pm »
Re: You must have huge messages with lots of attachments/images

The images and attachments are stored separately, not in the database.

Could be a lot of accounts and/or a lot of folders and/or a lot of very large messages.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/

StR

  • Hero Member
  • *****
  • Posts: 1558
Re: Is there a way to force a "reload"?
« Reply #10 on: January 02, 2016, 09:32:11 pm »
Re: You must have huge messages with lots of attachments/images

The images and attachments are stored separately, not in the database.
Yep, I forgot that. I stand corrected.

BTW, what about inline images? Are they also stored separately? I've never paid attention to that.

Quote
Could be a lot of accounts and/or a lot of folders and/or a lot of very large messages.

The OP talks about two accounts:
BTW, I have Messages to sync at 90 and Messages to cache set to 50 for both my accounts.

Kostya, why are you mentioning "a lot of folder"? Does that matter?
From a recent (different) thread, I understood that the number of messages to sync/cache is per account (combined for all folders). So, in this case, - there should be up to 180 messages cached (and synchronized). That's slightly over 1MB per message (on average). If the inline images are not included in that, - it is quite a lot, even for crappy HTML-formatted messages such as those generated by MS-Word.

mikeone

  • Hero Member
  • *****
  • Posts: 2762
Re: Is there a way to force a "reload"?
« Reply #11 on: January 02, 2016, 09:53:45 pm »
Quote
Kostya, why are you mentioning "a lot of folder"? Does that matter?
As far as I understand Kostya's explanations the numbers for the two options "Messages to sync / Messages to cache" are "per folder" not "per account".

...but maybe I could be wrong.

update
After some invastigation it seems that the number of "Messages to sync" is a "per folder" option and the number of "Messages to cache" is a "per account" option.
« Last Edit: January 03, 2016, 01:11:45 am by mikeone »

Kostya Vasilyev

  • Hero Member
  • *****
  • Posts: 12740
Re: Is there a way to force a "reload"?
« Reply #12 on: January 05, 2016, 03:09:57 pm »
They're both *used* per folder.

There was a time when I thought it would be useful for someone to want to "cache" more messages in some folders than in others. What a strange idea.
Creating debug logs for diagnostics: https://www.aqua-mail.com/troubleshooting/

The official FAQ: https://www.aqua-mail.com/faq/

Лог-файлы для диагностики: https://www.aqua-mail.com/ru/troubleshooting/

Вопросы и ответы: https://www.aqua-mail.com/ru/faq/