Re: PostgreSQL as a local in-memory cache

Поиск
Список
Период
Сортировка
От Pierre C
Тема Re: PostgreSQL as a local in-memory cache
Дата
Msg-id op.veduv8kqeorkce@apollo13
обсуждение исходный текст
Ответ на Re: PostgreSQL as a local in-memory cache  ("jgardner@jonathangardner.net" <jgardner@jonathangardner.net>)
Список pgsql-performance
> Have you tried connecting using a UNIX socket instead of a TCP socket on
> localhost ? On such very short queries, the TCP overhead is significant.

Actually UNIX sockets are the default for psycopg2, had forgotten that.

I get 7400 using UNIX sockets and 3000 using TCP (host="localhost")

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

Предыдущее
От: "Pierre C"
Дата:
Сообщение: Re: PostgreSQL as a local in-memory cache
Следующее
От: Greg Smith
Дата:
Сообщение: Re: PostgreSQL as a local in-memory cache