Re: Reduce timing overhead of EXPLAIN ANALYZE using rdtsc?

2023-01-20 Thread Andres Freund
Hi, On 2023-01-20 20:16:13 -0800, Andres Freund wrote: > On 2023-01-18 14:05:35 +0100, David Geier wrote: > > @Andres: will you take care of these changes and provide me with an updated > > patch set so I can rebase the RDTSC changes? > > Otherwise, I can also apply Tom suggestions to your patch s

Re: Change xl_hash_vacuum_one_page.ntuples from int to uint16

2023-01-20 Thread Drouvot, Bertrand
Hi, On 1/20/23 9:01 PM, Nathan Bossart wrote: On Tue, Jan 10, 2023 at 11:08:33AM +0100, Drouvot, Bertrand wrote: While working on [1], I noticed that xl_hash_vacuum_one_page.ntuples is an int. Unless I'm missing something, It seems to me that it would make more sense to use an uint16 (like th

Re: Switching XLog source from archive to streaming when primary available

2023-01-20 Thread Bharath Rupireddy
On Thu, Jan 19, 2023 at 6:20 AM Nathan Bossart wrote: > > On Tue, Jan 17, 2023 at 07:44:52PM +0530, Bharath Rupireddy wrote: > > On Thu, Jan 12, 2023 at 6:21 AM Nathan Bossart > > wrote: > >> With your patch, we might replay one of these "old" files in pg_wal instead > >> of the complete version

<    1   2