Re: WIP: preloading of ispell dictionary
| От | Nicolas Barbier |
|---|---|
| Тема | Re: WIP: preloading of ispell dictionary |
| Дата | |
| Msg-id | b0f3f5a11003230052j613d92a3p7bc3c73e50de94ae@mail.gmail.com обсуждение исходный текст |
| Ответ на | Re: WIP: preloading of ispell dictionary (Pavel Stehule <pavel.stehule@gmail.com>) |
| Ответы |
Re: WIP: preloading of ispell dictionary
|
| Список | pgsql-hackers |
2010/3/23 Pavel Stehule <pavel.stehule@gmail.com>: > 2010/3/23 Takahiro Itagaki <itagaki.takahiro@oss.ntt.co.jp>: > >> The fundamental issue seems to be in the slow initialization of >> dictionaries. If so, how about adding a pre-complile tool to convert >> a dictionary into a binary file, and each backend simply mmap it? > > It means loading about 25MB from disc. for every first tsearch query - > sorry, I don't believe can be good. The operating system's VM subsystem should make that a non-problem. "Loading" is also not the word I would use to indicate what mmap does. Nicolas
В списке pgsql-hackers по дате отправления: