Re: Parallel hints in PostgreSQL with consistent perfromance

2023-12-28 Thread Jeff Janes
On Thu, Dec 28, 2023 at 7:47 AM mohini mane wrote: > Thank you for your response !! > I am experimenting with SQL query performance for SELECT queries on large > tables and I observed that changing/increasing the degree of parallel hint > doesn't give the expected performance improvement. > But

Re: Slow GroupAggregate and Sort

2023-12-28 Thread Jeff Janes
On Thu, Dec 28, 2023 at 12:03 PM Darwin Correa wrote: > > when run the query (query.sql) as you can see in explain (plan4_v3.txt) > citus take about 18s to run all fragments > Where is plan4_v3.txt? Is that hidden in some non-obvious way in one of your links? > but each fragment take at most

Slow GroupAggregate and Sort

2023-12-28 Thread Darwin Correa
Hello great day, we have a strange case with slow query and would like some help. I've already read the article https://wiki.postgresql.org/wiki/Slow_Query_Questions Explain: https://paste.depesz.com/s/PLP Explain2: https://explain-postgresql.com/archive/explain/8e4b573c5f7bcf3a0d30675

Re: Parallel hints in PostgreSQL with consistent perfromance

2023-12-28 Thread David G. Johnston
On Thursday, December 28, 2023, mohini mane wrote: > Thank you for your response !! > I am experimenting with SQL query performance for SELECT queries on large > tables and I observed that changing/increasing the degree of parallel hint > doesn't give the expected performance improvement. > > I h

Re: Parallel hints in PostgreSQL with consistent perfromance

2023-12-28 Thread Matheus de Oliveira
On Thu, Dec 28, 2023 at 9:47 AM mohini mane wrote: > Thank you for your response !! > I am experimenting with SQL query performance for SELECT queries on large > tables and I observed that changing/increasing the degree of parallel hint > doesn't give the expected performance improvement. > Why

Re: Parallel hints in PostgreSQL with consistent perfromance

2023-12-28 Thread mohini mane
Thank you for your response !! I am experimenting with SQL query performance for SELECT queries on large tables and I observed that changing/increasing the degree of parallel hint doesn't give the expected performance improvement. I have executed the SELECT query with 2,4 & 6 parallel degree howev