Re: All Taxi Services need Index Clustered Heap Append - Mailing list pgsql-hackers

From fedor
Subject Re: All Taxi Services need Index Clustered Heap Append
Date
Msg-id 1522159540623-0.post@n3.nabble.com
Whole thread Raw
In response to All Taxi Services need Index Clustered Heap Append  (Darafei "Komяpa" Praliaskouski <me@komzpa.net>)
List pgsql-hackers
Colleagues incomprehensible situation:
it seems that the statistics for autovacuum analyze is not passed to the
slave.
After a manual run, vacuum analyze all comes to life.

the essence of this is a frequently changing table when I request a replica
I get on a big Heap Fetches: 18623
the request is made up to 400 msec
as soon as the master starts vacuum analyze Heap Fetches: 6394
the request is executed 5-10 msec

screwed to the table
alter table callback SET (autovacuum_analyze_scale_factor = 0.0);
alter table callback SET (autovacuum_analyze_threshold = 500);

I see in the statistics of current requests the autovacuum on this table
passes, but it does not help, the visibility data for this table are not
updated for the slave



--
Sent from: http://www.postgresql-archive.org/PostgreSQL-hackers-f1928748.html


pgsql-hackers by date:

Previous
From: Dean Rasheed
Date:
Subject: Re: [HACKERS] PATCH: multivariate histograms and MCV lists
Next
From: Peter Eisentraut
Date:
Subject: Re: JIT compiling with LLVM v12