Analyze slow query log - Deepstash
Analyze slow query log

Analyze slow query log

  1. Download the log files on your computer. The default location is /var/lib/postgresql/15/main/log/.
  2. Install pgBadger
  3. Analyze the logs: pgbadger -o stats.html --prefix '%m \[%p\] %q%u@%d' /dir\_with\_logs/\*.log
  4. Open the HTML output file in your browser to review the results

3

36 reads

CURATED FROM

IDEAS CURATED BY

ocpodariu

Alt account of @ocp. I use it to stash ideas about software engineering

Read & Learn

20x Faster

without
deepstash

with
deepstash

with

deepstash

Personalized microlearning

100+ Learning Journeys

Access to 200,000+ ideas

Access to the mobile app

Unlimited idea saving

Unlimited history

Unlimited listening to ideas

Downloading & offline access

Supercharge your mind with one idea per day

Enter your email and spend 1 minute every day to learn something new.

Email

I agree to receive email updates