Re: streaming replication does not work across datacenter with 20ms latency? - Mailing list pgsql-general

From Joshua D. Drake
Subject Re: streaming replication does not work across datacenter with 20ms latency?
Date
Msg-id 4E2B120F.2080206@commandprompt.com
Whole thread Raw
In response to Re: streaming replication does not work across datacenter with 20ms latency?  ("Tomas Vondra" <tv@fuzzy.cz>)
List pgsql-general
On 07/23/2011 10:55 AM, Tomas Vondra wrote:
> On 23 Červenec 2011, 18:14, Yan Chunlu wrote:
>> thanks for the help!
>> are there any other possible reasons?
>>
>> both system are using Debian amd64, as uname -a shows:
>> Linux washington 2.6.26-2-amd64 #1 SMP Tue Mar 9 22:29:32 UTC 2010
>> x86_64 GNU/Linux
>
> It is not just about the architecture, it means the PostgreSQL was
> configured somehow differently during the build. E.g. a different block
> size or WAL block size would make such problems.
>
> Or maybe one of the buils might be 32-bit for some reason (you can run
> 32-bit system in a 64-bit environment). You can do this
>
> $ less postgres | grep Class
>
> to check this (ELF32 =>  32bit, ELF64 =>  64bit).
>
> Did you use the same binary packages or have you built the server yourself?

Run a pg_config and compare the differences.


>
> Tomas
>
>


--
Command Prompt, Inc. - http://www.commandprompt.com/
PostgreSQL Support, Training, Professional Services and Development
The PostgreSQL Conference - http://www.postgresqlconference.org/
@cmdpromptinc - @postgresconf - 509-416-6579

pgsql-general by date:

Previous
From: "Tomas Vondra"
Date:
Subject: Re: streaming replication does not work across datacenter with 20ms latency?
Next
From: MirrorX
Date:
Subject: weird table sizes