Re: Ignore hash indices on replicas

Поиск
Список
Период
Сортировка
От Scott Marlowe
Тема Re: Ignore hash indices on replicas
Дата
Msg-id CAOR=d=19idTXka8_uFonhwOWOcRNmX3qeHTM+7ZzWp7Pv+K1nw@mail.gmail.com
обсуждение исходный текст
Ответ на Ignore hash indices on replicas  (Steven Schlansker <steven@likeness.com>)
Ответы Re: Ignore hash indices on replicas  (Steven Schlansker <steven@likeness.com>)
Список pgsql-general
On Tue, Jul 10, 2012 at 1:09 AM, Steven Schlansker <steven@likeness.com> wrote:
> I'm using Postgres hash indices on a streaming replica master.
> As is documented, hash indices are not logged, so the replica does not have access to them.
>
> I understand that the current wisdom is "don't use hash indices", but (unfortunately?) I have benchmarks that
> show that our particular application is faster by quite a bit when a hash index is available.

You could use a slony slave and have different indexes etc between
master and slave but it's more complex to setup, maintain and monitor
for most people.


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

Предыдущее
От: Craig Ringer
Дата:
Сообщение: citext: citext=text is case sensitive
Следующее
От: David Johnston
Дата:
Сообщение: Re: How hard would a "path" operator be to implement in PostgreSQL