From mboxrd@z Thu Jan 1 00:00:00 1970 Path: news.gmane.io!.POSTED.blaine.gmane.org!not-for-mail From: Eric Abrahamsen Newsgroups: gmane.emacs.help Subject: Re: Why Gnus is creating .nnmaildir directory in my maildir? Date: Thu, 15 Apr 2021 12:37:43 -0700 Message-ID: <87zgxzgwzc.fsf@ericabrahamsen.net> References: <87im4qb3yt.fsf@gmail.com> <87im4qgov4.fsf@ericabrahamsen.net> <87lf9lg7tg.fsf@ericabrahamsen.net> Mime-Version: 1.0 Content-Type: text/plain Injection-Info: ciao.gmane.io; posting-host="blaine.gmane.org:116.202.254.214"; logging-data="18514"; mail-complaints-to="usenet@ciao.gmane.io" User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/28.0.50 (gnu/linux) Cc: help-gnu-emacs@gnu.org To: Utkarsh Singh Original-X-From: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Thu Apr 15 21:38:29 2021 Return-path: Envelope-to: geh-help-gnu-emacs@m.gmane-mx.org Original-Received: from lists.gnu.org ([209.51.188.17]) by ciao.gmane.io with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.92) (envelope-from ) id 1lX7oq-0004hg-Pt for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Apr 2021 21:38:28 +0200 Original-Received: from localhost ([::1]:37532 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1lX7op-0000kD-Si for geh-help-gnu-emacs@m.gmane-mx.org; Thu, 15 Apr 2021 15:38:27 -0400 Original-Received: from eggs.gnu.org ([2001:470:142:3::10]:40794) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX7oI-0000ju-U6 for help-gnu-emacs@gnu.org; Thu, 15 Apr 2021 15:37:55 -0400 Original-Received: from ericabrahamsen.net ([52.70.2.18]:51160 helo=mail.ericabrahamsen.net) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1lX7oH-00015q-Fr for help-gnu-emacs@gnu.org; Thu, 15 Apr 2021 15:37:54 -0400 Original-Received: from localhost (75-172-106-199.tukw.qwest.net [75.172.106.199]) (Authenticated sender: eric@ericabrahamsen.net) by mail.ericabrahamsen.net (Postfix) with ESMTPSA id AD38FFCB9C; Thu, 15 Apr 2021 19:37:44 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=ericabrahamsen.net; s=mail; t=1618515464; bh=IQH6067lHq20Dv4Uraak+QvVWYDWA+qZWIn/imcA8VE=; h=From:To:Cc:Subject:References:Date:In-Reply-To:From; b=k6bxbpve9pymHGFj3CIFDLKsFZYDRyORjs7TlA7XBWd6yx2RhmIFzkRdNKEcJU/vg 8ezOBmI0fC9LF9Kc4Z8MKp2JY0jJYKYhEGpSn1HVETZDb3nhkQm5vBZ3zEXFFe7/18 rqULkOxe1ScNhrio/qYSwO6LQA7G57EYZRv3g9M4= In-Reply-To: (Jean Louis's message of "Wed, 14 Apr 2021 07:11:44 +0300") Received-SPF: pass client-ip=52.70.2.18; envelope-from=eric@ericabrahamsen.net; helo=mail.ericabrahamsen.net X-Spam_score_int: -43 X-Spam_score: -4.4 X-Spam_bar: ---- X-Spam_report: (-4.4 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_MED=-2.3, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 autolearn=ham autolearn_force=no X-Spam_action: no action X-BeenThere: help-gnu-emacs@gnu.org X-Mailman-Version: 2.1.23 Precedence: list List-Id: Users list for the GNU Emacs text editor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: help-gnu-emacs-bounces+geh-help-gnu-emacs=m.gmane-mx.org@gnu.org Original-Sender: "help-gnu-emacs" Xref: news.gmane.io gmane.emacs.help:129004 Archived-At: Jean Louis writes: > * Eric Abrahamsen [2021-04-14 01:05]: >> But I will note that plenty of GUI mail clients keep their own >> cache/data in something like a sqlite database, alongside the actual >> message store. nnmaildir is unusable for large maildirs because it >> tries to build the entire cache the first time it is run, and that >> happens in quadratic time. If you start a new nnmaildir installation >> from nothing, and add messages at a "normal" rate, it's not that >> bad. > > I have tried all mail clients that deal with Maildirs. Just Gnus does > that kind of mess. None of clients in any GNU/Linux distribution is > similar to it. > > The only cache that I know that some client may use is the IMAP header > cache, for some 20000 emails in various folders it is now 55 MB. The header cache is exactly what the .nnmaildir directory contains, and that's what takes up the space. It does keep some other information in there, but I don't think that eats up a lot of disk.