From: | chongin119(at)icloud(dot)com |
---|---|
To: | pgpool-general(at)lists(dot)postgresql(dot)org |
Subject: | About PG-Pool Load balance configuration |
Date: | 2025-10-15 01:24:33 |
Message-ID: | 900F6344-0C8F-4325-AB8F-6DDE7A400924@icloud.com |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgpool-general |
Dear pgpool-general,
I have already set up a cluster(base streaming replication) with three pgpool service(4.5.2) and three postgres nodes(17.5.2).
Also, I enable load balance mode because we need this.
In our config file of pgpool, I also set “statement_level_load_balance” to on and “allow_sql_comments” to off.
Now, I have some queries that I want to control whether I use load balance mode or not.
After I checked the documentation, I find out that I can add “/*NO LOAD BALANCE*/” before select query only in pgpool 4.2.
But can not add this comment before select query in pgpool 4.5.
https://www.pgpool.net/docs/42/en/html/runtime-config-load-balancing.html (have /*NO LOAD BALANCE*/)
https://www.pgpool.net/docs/45/en/html/runtime-config-load-balancing.html (do not have /*NO LOAD BALANCE*/))
Do you have any idea about this?
Best Regards,
Terence
From | Date | Subject | |
---|---|---|---|
Next Message | Bo Peng | 2025-10-17 07:42:04 | Re: SQL query latency when using pgPool (v4.6.2) |
Previous Message | Terence Un | 2025-10-14 04:47:12 | About load balance mode in pgpool |