public inbox for [email protected]  
help / color / mirror / Atom feed
From: Bo Guo <[email protected]>
To: [email protected]
Subject: How to increase the max query history stored
Date: Fri, 31 Jan 2025 02:15:25 -0700
Message-ID: <CADHFRcio+ziZ-j07dobdNPWpf8484UQJUKCLS=ptqh0PMY0Hbw@mail.gmail.com> (raw)

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


view thread (3+ messages)  latest in thread

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: [email protected]
  Cc: [email protected], [email protected]
  Subject: Re: How to increase the max query history stored
  In-Reply-To: <CADHFRcio+ziZ-j07dobdNPWpf8484UQJUKCLS=ptqh0PMY0Hbw@mail.gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by agora; see mirroring instructions
for how to clone and mirror all data and code used for this inbox