DEV Community

Cover image for How To Change RDS Postgresql Configurations
πŸš€ Vu Dao πŸš€
πŸš€ Vu Dao πŸš€

Posted on β€’ Edited on

4 2

How To Change RDS Postgresql Configurations

- With RDS you don't edit config files directly. Instead edit the parameters through the RDS console, or via the API.

- As of now, RDS does allow changing configurations. So you can

  • See the list of configurations that your RDS is using.
  • You can change these parameters. You can change those that are listed in the RDS reference page.

- This post give an example of change wal_level from replica to logical


What’s In This Document


πŸš€ General RDS configruation

Alt Text

  • The RDS use Parameter group default.postgres10. A parameter group acts as a container for engine configuration values that are applied to one or more DB instances.

  • It's not able to change parameters in the default parameter groups
    Alt Text

πŸš€ Change RDS configruation

1. Create new parameter group

Alt Text

2. Set wal_level from replica to logical

Alt Text

3. Modify db instance to apply new parameter group

Alt Text

  • The config require reboot

Alt Text

πŸš€ Check wal_level



ubuntu@root:~$ psql -h mydb -p 5432 -U dbadmin_user -d mydatabase
Password for user dbadmin_user:
psql (11.5 (Ubuntu 11.5-3.pgdg18.04+1), server 10.4)
SSL connection (protocol: TLSv1.2, cipher: ECDHE-RSA-AES256-GCM-SHA384, bits: 256, compression: off)
Type "help" for help.

mydatabase=> show wal_level;

wal_level

logical
(1 row)

Enter fullscreen mode Exit fullscreen mode




Visit wwww.cloudopz.co to get more

🌠 Blog · Web · Linkedin · Group · Page · Twitter 🌠

AWS Industries LIVE! Stream

Business benefits of the cloud

Stream Industries LIVE! to explore innovative cloud solutions for modern businesses.

Learn More

Top comments (0)

AWS Industries LIVE! Stream

Watch AWS Industries LIVE!

New tech. Real solutions. See what’s possible on Industries LIVE! with AWS and AWS Partners.

Learn More

πŸ‘‹ Kindness is contagious

Engage with a wealth of insights in this thoughtful article, cherished by the supportive DEV Community. Coders of every background are encouraged to bring their perspectives and bolster our collective wisdom.

A sincere β€œthank you” often brightens someone’s dayβ€”share yours in the comments below!

On DEV, the act of sharing knowledge eases our journey and forges stronger community ties. Found value in this? A quick thank-you to the author can make a world of difference.

Okay