Skip to content

Commit

Permalink
(IAC-158) Adding max_prepared_transactions section to README (#121)
Browse files Browse the repository at this point in the history
* (IAC-158) Adding max_prepared_transactions section to README

Updating the README to include a section about the max_prepared_transactions.
This only impacts people who use an external database instead of the
internal postgres server. Viya requires the max_prepared_transactions to be
at least 1024, but the external AWS postgres database defaults to 0. I included
some steps on how to update the values manually.

* Updating section title to specify external database
  • Loading branch information
saschjmil authored Feb 2, 2022
1 parent a43782e commit 69fb4b0
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,12 @@ Create and manage the required cloud resources. Perform one of the following ste
- run [Terraform](docs/user/TerraformUsage.md) directly on your workstation
- run the [Docker container](docs/user/DockerUsage.md) (recommended)

### Increase the Max Prepared Transactions for External Postgres Database

If you are using an external Postgres server, you will need to ensure that the max prepared transactions is at least 1024. You can verify this information by opening the AWS Console and navigating to the RDS Service. Select your Postgres instance, open the Configuration tab, and click on the link to the database's parameter group. Search for the 'max_prepared_transactions' parameter.

If the max prepared transactions is less than 1024, you will need to update the value. Click on the "Edit Parameters" button and change the value to 1024. Once you save your changes, you will need to wait for the database to apply the changes. This can be found back on the configuration tab. After it has been applied, you will need to reboot the database.

## Troubleshooting

See the [Troubleshooting](./docs/Troubleshooting.md) page for information about possible issues that you might encounter.
Expand Down

0 comments on commit 69fb4b0

Please sign in to comment.