搜索 | 用户支持

防范以用户支持为名的诈骗。我们绝对不会要求您拨打电话或发送短信,及提供任何个人信息。请使用“举报滥用”选项报告涉及违规的行为。

详细了解

Searching for email is very slow

  • 5 个回答
  • 2 人有此问题
  • 1 次查看
  • 最后回复者为 Wojtek

more options

I have 4 mailboxes totalling ~3GB of mail data. When I try to search for a specific e-mail i takes literally ages (i.e. dozens of seconds, sometimes 30-45s) to complete. That's kinda annoying. Searching selected folder doesn't help much: searching for an e-mail with particular word in body in folder (without subfolders) with ~45k messages / 200MB takes roughly 15s.

web-mail clients usually return results "in an instant".

Is there anything that could be done to improve the speed?

I have 4 mailboxes totalling ~3GB of mail data. When I try to search for a specific e-mail i takes literally ages (i.e. dozens of seconds, sometimes 30-45s) to complete. That's kinda annoying. Searching selected folder doesn't help much: searching for an e-mail with particular word in body in folder (without subfolders) with ~45k messages / 200MB takes roughly 15s. web-mail clients usually return results "in an instant". Is there anything that could be done to improve the speed?

所有回复 (5)

more options

From your description, you're searching text at a rate of 13MB per second, looking for a random piece of text. That is pretty good for a raw search. But improvement is probably possible if the indexing is working properly...

You could try rebuilding your database. See https://support.mozilla.org/en-US/kb/rebuilding-global-database

Rebuilding will recreate the indexes. You have a lot of data, so be patient for the rebuild to finish.

I would suggest timing a search before rebuilding, and the same search after rebuilding.

If you get an improvement in search times, you can close this query, or if not, continue looking for answers.

Thank you for using Thunderbird.

more options

Thanks, that looks like it. The index was 460M, I deleted it and now it's re-indexing.

I also updated to T68 and it feels slightly faster. What struck me as odd - when using "global search" (the search field in the upper-top bar, not the one from message list) the search is almost instant (and it uses, what seems like HTML preview).

more options

Have you compacted your folders recently to remove all hidden marked as deleted emails? This would mean your folders and possibly also the Global database is larger than necessary.

Three folders usually get more deleting than others, so start with them. Right click on Inbox folder and select 'Compact'. Right click on Junk folder and select 'Compact'. Right click on Drafts folder and select 'Compact'.

more options

460M index is not all that big. But what are the specs of your machine?

more options

@Toad-Hall I completely removed the database (as per previous suggestion)

@Wayne Mery ``` MacBook Pro (Retina, 15-inch, Early 2013) 2,4 GHz Intel Core i7 16G ram ``` so, despite being ancient, not that bad ;)