Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Joe Conway
On 2/28/25 17:49, Thomas Munro wrote: On Sat, Mar 1, 2025 at 9:03 AM Joe Conway wrote: On 2/28/25 09:16, Laurenz Albe wrote: > On Thu, 2025-02-27 at 16:54 +0300, Alexey Borschev wrote: >> I see poor performance of text sorting of collate "en_US.utf8" in PG 17.4. > > I&

Re: Slow performance of collate "en_US.utf8"

2025-02-28 Thread Joe Conway
r using the new builtin collation provider -- it will perform almost as well as the 'C' locale. Something like: CREATE DATABASE builtincoll LOCALE_PROVIDER builtin BUILTIN_LOCALE 'C.UTF-8' TEMPLATE template0; -- Joe Conway PostgreSQL Contributors Team R

Re: Performance degradation in Index searches with special characters

2024-10-07 Thread Joe Conway
On 10/6/24 14:13, Tom Lane wrote: Joe Conway writes: This is not surprising. There is a performance regression that started in glibc 2.21 with regard to sorting unicode. Test with RHEL 7.x (glibc 2.17) and I bet you will see comparable results to ICU. The best answer in the long term, IMHO

Re: Performance degradation in Index searches with special characters

2024-10-06 Thread Joe Conway
to sorting unicode. Test with RHEL 7.x (glibc 2.17) and I bet you will see comparable results to ICU. The best answer in the long term, IMHO, is likely to use the new built-in collation just released in Postgres 17. -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon W

Re: Postgres Metrics

2023-04-15 Thread Joe Conway
additional, If someone else has grafana template implemented, please share with me or some link to do that , See: https://github.com/CrunchyData/pgmonitor -- Joe Conway PostgreSQL Contributors Team RDS Open Source Databases Amazon Web Services: https://aws.amazon.com

Re: alter table xxx set unlogged take long time

2022-07-28 Thread Joe Conway
ng). As noted in the docs: This parameter can be changed at any time; the behavior for any one transaction is determined by the setting in effect when it commits. It is therefore possible, and useful, to have some transactions commit synchronously and others asynchronously. -- Joe Conway R

Re: alter table xxx set unlogged take long time

2022-07-27 Thread Joe Conway
On 7/27/22 10:46, Tom Lane wrote: Joe Conway writes: Then (completely untested) I *think* you could create the "partition" initially as a free standing unlogged table, load it, index it, switch to logged, and then attach it to the partitioned table. I'm still of the opinion

Re: alter table xxx set unlogged take long time

2022-07-27 Thread Joe Conway
tions into larger buckets to minimize the overall number of partitions. -- Joe Conway RDS Open Source Databases Amazon Web Services: https://aws.amazon.com

Re: How to run in parallel in Postgres, EXECUTE_PARALLEL

2019-12-08 Thread Joe Conway
On 12/8/19 1:14 PM, Lars Aksel Opsahl wrote: > Do you or anybody know if there are any plans for a function call that > support the calling structure below or something like it and that then > could finish in 1 second ? (If you are calling a void function, the > return value should not be any probl

Re: pgaudit and create postgis extension logs a lot inserts

2018-01-18 Thread Joe Conway
On 01/18/2018 04:12 AM, Svensson Peter wrote: > When I then install  postgis extension in a database it writes a huge > amount of logs which slow down the server a lot. > Not only table creation and functions are logged,  even  all inserts in  > spatial_ref_sys are written to the audit-log. > > LO