Re: Persistent connections in PHP

Поиск
Список
Период
Сортировка
От Torsten Zühlsdorff
Тема Re: Persistent connections in PHP
Дата
Msg-id f9ukd9$5v1$1@registered.motzarella.org
обсуждение исходный текст
Ответ на Re: Persistent connections in PHP  (Hannes Dorbath <light@theendofthetunnel.de>)
Список pgsql-general
Hannes Dorbath schrieb:
> On 15.08.2007 10:53, Torsten Zühlsdorff wrote:
>> If the dictionary is not too large, you should store it directly in
>> the memory of the server. Therefore you can use Shared Memory
>> (http://www.php.net/shmop, http://de3.php.net/manual/en/ref.sem.php).
>
> Uhm, but how does TSearch get it from there? And even if it does, it
> will still held its own copy?

In this case I misunderstood you. I believed, that you get a dictionary
from pg and use it. -.-
Because often people load a dictionary from db to get the translation of
$content, shared memory can make this very fast. My advise based on this
assumption.

Greetings,
Torsten

В списке pgsql-general по дате отправления:

Предыдущее
От: ptjm@interlog.com (Patrick TJ McPhee)
Дата:
Сообщение: Re: memory optimization
Следующее
От: Torsten Zühlsdorff
Дата:
Сообщение: Re: Persistent connections in PHP