Skip to content

Commit

Permalink
Remove checkpoint_segments from check-perf-tuning for newer Postgresql
Browse files Browse the repository at this point in the history
This configuration option was deprecated and later removed from
Postgresql
  • Loading branch information
wbclark authored and ehelms committed Oct 19, 2021
1 parent 16676c7 commit 0a9f32a
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions check-perf-tuning
Original file line number Diff line number Diff line change
Expand Up @@ -104,11 +104,10 @@ if [ -f /var/opt/rh/rh-postgresql12/lib/pgsql/data/postgresql.conf ]; then
echo " max_connections:"
echo " shared_buffers:"
echo " work_mem:"
echo " checkpoint_segments:"
echo " checkpoint_completion_target:"
echo "Current values:"
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 'max_connections\|shared_buffers\|work_mem\|checkpoint_completion_target\|effective_cache_size\|autovacuum_vacuum_cost_limit\|log_min_duration_statement' | \
grep -v '^#'
echo ""
else
Expand Down

0 comments on commit 0a9f32a

Please sign in to comment.