Re: Optimize streaming replication because of network latency
От | Ron |
---|---|
Тема | Re: Optimize streaming replication because of network latency |
Дата | |
Msg-id | b4d8431d-b877-0a69-f85b-d37acd4b0d3a@gmail.com обсуждение исходный текст |
Ответ на | Optimize streaming replication because of network latency (Mai Peng <maily.peng@webedia-group.com>) |
Ответы |
Re: Optimize streaming replication because of network latency
|
Список | pgsql-admin |
On 12/10/20 11:41 AM, Mai Peng wrote:
How effectively fast is the pipe between the two servers? Where are the bottlenecks? Is the pipe shared by other users?
Hello,We’ve added a streaming standby on a gcp container. There’s a lot of network latency between our primary in EU and this standby in South America.I did a big update on a table ( 4 millions rows) and it generates a lot of lag : more than 5 hours.The standby has great hardware ressources: cpu, ssd disk and had no load during this update.How could we handle this lag and have less impact, less lag ?
How effectively fast is the pipe between the two servers? Where are the bottlenecks? Is the pipe shared by other users?
Basic PG Config:shared_buffers = 8GBwork_mem = 128MBmax_connections = 600wal_keep_segments = 1000wal_sender_timeout = 0replication_timeout=(not set)wal_receiver_status_interval=10smax_wal_senders=20Checkpoint_timeout = 10minMax_wal_size= 2GBmin_wal_size= 1GBThank youMai
--
Angular momentum makes the world go 'round.
Angular momentum makes the world go 'round.
В списке pgsql-admin по дате отправления: