From: | Roland Müller <rolmur(at)gmail(dot)com> |
---|---|
To: | pgsql-admin(at)lists(dot)postgresql(dot)org |
Subject: | Re: How to increase the max query history stored |
Date: | 2025-04-15 16:22:09 |
Message-ID: | CA+8p0G1kj1OG71cT9dEMjYuGzA6x1c0j=Z=GSc+Fdq1TwR6vvg@mail.gmail.com |
Views: | Raw Message | Whole Thread | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-admin |
https://www.pgadmin.org/docs/pgadmin4/latest/config_py.html say's that the
file should be in the same directory as config.py.
I don't have the latest pgadmin but Ubuntu 22 too:
Here config.py is located at:
/usr/pgadmin4/web/config.py
BR,
Roland
Am Fr., 31. Jan. 2025 um 11:15 Uhr schrieb Bo Guo <bo(dot)guo(at)gisticinc(dot)com>:
> Hello there,
>
> The default size of 20 history queries is somewhat limiting. So, I tried
> to increase the size on my Linux server-installed (Ubuntu 22.04.5 LTS,
> Linux-6.8.12-7-pve-x86_64-with-glibc2.35) PGAdmn 8.14. I followed the
> instructions below to no avail. I appreciate any help!
>
> 1. Create /var/lib/pgadmin/config_local.py and add
> ON_DISK_HISTORY = True
> MAX_QUERY_HIST_STORED = 5000 # Set to your desired number of queries
>
> 2. Restart PGAdmin 4 with
> sudo systemctl restart apache2
>
> Thanks!
>
> Bo
>
From | Date | Subject | |
---|---|---|---|
Next Message | Holger Jakobs | 2025-04-15 17:00:34 | Re: How to increase the max query history stored |
Previous Message | Ursulino Barboza | 2025-04-08 16:52:57 | DUMP certificação EDB postgres |