Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture - Mailing list pgsql-hackers

From Nathan Bossart
Subject Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture
Date
Msg-id aJ-ehcxHsOhV5_3b@nathan
Whole thread Raw
In response to Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture  (Nathan Bossart <nathandbossart@gmail.com>)
Responses Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture
List pgsql-hackers
On Fri, Aug 15, 2025 at 03:25:20PM -0500, Nathan Bossart wrote:
> On Fri, Aug 15, 2025 at 04:13:30PM -0400, Andres Freund wrote:
>> IMO, the only way to actually make pg_stat_statements scale is to move to a
>> model much more like our regular stats. I.e. accumulate counters in backend
>> local memory and only occasionally update the shared stats.
> 
> Agreed.  I remember discussing something similar at pgconf.dev this year.

BTW I'm planning to give this a try...

-- 
nathan



pgsql-hackers by date:

Previous
From: Nathan Bossart
Date:
Subject: Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture
Next
From: Tom Lane
Date:
Subject: Re: Remove Instruction Synchronization Barrier in spin_delay() for ARM64 architecture