Skip to content

Commit

Permalink
Update postgresql path to /var/opt/rh/rh-postgresql12/lib/pgsql/
Browse files Browse the repository at this point in the history
  • Loading branch information
wbclark committed Sep 23, 2021
1 parent b9a4c35 commit af756b8
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
4 changes: 2 additions & 2 deletions check-perf-tuning
Original file line number Diff line number Diff line change
Expand Up @@ -97,15 +97,15 @@ else
fi

echo "************************* POSTGRES **************************************"
echo "Configuration : /var/lib/pgsql/data/postgresql.conf"
echo "Configuration : /var/opt/rh/rh-postgresql12/lib/pgsql/data/postgresql.conf"
echo "Custom-hiera : postgresql::server::config_entries:"
echo " max_connections:"
echo " shared_buffers:"
echo " work_mem:"
echo " checkpoint_segments:"
echo " checkpoint_completion_target:"
echo "Current values:"
cat /var/lib/pgsql/data/postgresql.conf | \
cat /var/opt/rh/rh-postgresql12/lib/pgsql/data/postgresql.conf | \
grep 'max_connections\|shared_buffers\|work_mem\|checkpoint_segments\|checkpoint_completion_target\|effective_cache_size\|autovacuum_vacuum_cost_limit\|log_min_duration_statement' | \
grep -v '^#'
echo ""
Expand Down
8 changes: 4 additions & 4 deletions postgres-size-report
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,8 @@ echo ""
echo "*************** FileSystem Usage ***************"
echo ""

echo "du -hs /var/lib/pgsql/*"
du -hs /var/lib/pgsql/*
echo "du -hs /var/opt/rh/rh-postgresql12/lib/pgsql/*"
du -hs /var/opt/rh/rh-postgresql12/lib/pgsql/*
echo
echo "du -hs /var/lib/pgsql/data/*"
du -hs /var/lib/pgsql/data/*
echo "du -hs /var/opt/rh/rh-postgresql12/lib/pgsql/data/*"
du -hs /var/opt/rh/rh-postgresql12/lib/pgsql/data/*

0 comments on commit af756b8

Please sign in to comment.