Re: Ignore hash indices on replicas

Поиск
Список
Период
Сортировка
От Steven Schlansker
Тема Re: Ignore hash indices on replicas
Дата
Msg-id EC640C6C-74F4-40CF-8CFD-1836AF506F87@likeness.com
обсуждение исходный текст
Ответ на Re: Ignore hash indices on replicas  (Scott Marlowe <scott.marlowe@gmail.com>)
Список pgsql-general
On Aug 19, 2012, at 8:01 PM, Scott Marlowe <scott.marlowe@gmail.com> wrote:

> 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.

Thanks for the suggestion, but we finally have replication working in a way we understand / like and I don't really
considerthis a viable option.  The built-in replication has been treating us very well. 



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

Предыдущее
От: Sebastien Boisvert
Дата:
Сообщение: postmaster.pid file auto-clean up?
Следующее
От: Steven Schlansker
Дата:
Сообщение: Re: Ignore hash indices on replicas