Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exu3w-0001E8-8c for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 12:38:52 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exu3t-000507-NV for pgsql-hackers@arkaria.postgresql.org; Mon, 19 Mar 2018 12:38:49 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.89) (envelope-from ) id 1exu3t-0004zX-7F for pgsql-hackers@lists.postgresql.org; Mon, 19 Mar 2018 12:38:49 +0000 Received: from mail.postgrespro.ru ([93.174.131.138]) by makus.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1exu3o-0005sT-1P for pgsql-hackers@postgresql.org; Mon, 19 Mar 2018 12:38:47 +0000 Received: from localhost (localhost [127.0.0.1]) by mail.postgrespro.ru (Postfix) with ESMTP id 9BD4E21C1C5D; Mon, 19 Mar 2018 15:38:40 +0300 (MSK) X-Virus-Scanned: Debian amavisd-new at postgrespro.ru X-Spam-Flag: NO X-Spam-Score: 0 X-Spam-Level: X-Spam-Status: No, score=x tagged_above=-99 required=4 WHITELISTED tests=[] autolearn=unavailable Received: from wp.localdomain (gw.postgrespro.ru [93.174.131.141]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mail.postgrespro.ru (Postfix) with ESMTPSA id 684CD21C1C5B; Mon, 19 Mar 2018 15:38:40 +0300 (MSK) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=postgrespro.ru; s=mail; t=1521463120; bh=qq0YthJOrhODp7+vFTAdyg4WFvn0+Aks/MGW2G7V6A4=; h=Date:From:To:Cc:Subject:In-Reply-To:References; b=kmQoESR2nn6NDuRRQ67bpGBSbBardf1GLYq/bJ+RbdC3T+nuSBh79DXAi2+O1R/q/ sg6cQrXW3TgxbZLmyrtXU2Z94aPmh90GuOotMLK9EFXWSTkoXCm0aargk4sMfyUi7y PbgnUbjaO+KifR+4k9gZGfMjXVMUhaH5p8jzlzos= Date: Mon, 19 Mar 2018 15:38:39 +0300 From: Ildus Kurbangaliev To: Arthur Zakirov Cc: Tomas Vondra , Pavel Stehule , Andres Freund , pgsql-hackers Subject: Re: [PROPOSAL] Shared Ispell dictionaries Message-ID: <20180319153839.5dd94c75@wp.localdomain> In-Reply-To: <20180319110648.GA32319@zakirov.localdomain> References: <20180307124353.GA12054@zakirov.localdomain> <20180307125847.GA12617@zakirov.localdomain> <20180307131819.GA13301@zakirov.localdomain> <3c7910ba-2a1b-5b73-71c6-d037ba1e89bd@2ndquadrant.com> <20180319110648.GA32319@zakirov.localdomain> Organization: Postgres Professional X-Mailer: Claws Mail 3.16.0 (GTK+ 2.24.32; x86_64-pc-linux-gnu) MIME-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk On Mon, 19 Mar 2018 14:06:50 +0300 Arthur Zakirov wrote: > > I beleive mmap requires completely rewrite 0003 part of the patch and > a little changes in 0005. > > > In any case, I suggest to polish the dsm-based patch, and see if we > > can get that one into PG11. > > Yes we have more time in future commitfests if dsm-based patch won't > be approved. > Hi, I'm not sure about mmap approach, it would just bring another problems. I like the dsm approach because it's not inventing any new files in the database, when mmap approach will possibly require new folder in data directory and management above bunch of new files, with additional issues related with pg_upgrade and etc. Also in dsm approach if someone needs to update dictionaries then he (or his package manager) can just replace files and be done with it. -- --- Ildus Kurbangaliev Postgres Professional: http://www.postgrespro.com Russian Postgres Company