From: | Takahiro Itagaki <itagaki(dot)takahiro(at)oss(dot)ntt(dot)co(dot)jp> |
---|---|
To: | Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> |
Cc: | PostgreSQL Hackers <pgsql-hackers(at)postgresql(dot)org> |
Subject: | Re: ToDo: preload for fulltext dictionary |
Date: | 2010-02-16 00:53:13 |
Message-ID: | 20100216095310.9D7D.52131E4D@oss.ntt.co.jp |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-hackers |
Pavel Stehule <pavel(dot)stehule(at)gmail(dot)com> wrote:
> The dictionary data could be shared or minimally dictionary could be
> preloaded like some PL language.
>
> What do you think about this?
Surely preloading is the most realistic approach, but I hope we would support
dynamic allocation of shared memory, and load dictionaries in the area and
share it with backends. We should avoid additonal calls of shmget() or mmap()
in the additional shared memory allocation, but we can shrink shared buffers
and reuse the area for general purposes. We often have serveral GB of shared
buffers nowadays, so dividing some MB of buffers will not be problem.
Regards,
---
Takahiro Itagaki
NTT Open Source Software Center
From | Date | Subject | |
---|---|---|---|
Next Message | Fujii Masao | 2010-02-16 00:58:05 | Re: TCP keepalive support for libpq |
Previous Message | Greg Smith | 2010-02-16 00:37:39 | Re: Explain buffers display units. |