Note
Access to this page requires authorization. You can try signing in or changing directories.
Access to this page requires authorization. You can try changing directories.
The shared_preload_libraries parameter determines which libraries load when PostgreSQL starts on an Azure HorizonDB compute pool. You must load libraries that use shared memory through this parameter.
Check the allowed library names for PostgreSQL 17 or PostgreSQL 18 (Preview) before editing the parameter.
Steps to load libraries
Before changing the parameter, review the parameter group's configured value and connect to the intended database endpoint to check the compute pool's effective value:
SHOW shared_preload_libraries;
If all required libraries are already listed in both values, you don't need to change this parameter or restart the compute pool for this task.
If the required libraries are already configured but aren't effective yet, wait for any automatic restart in progress. For pending assignment changes, use the pool's Restart operation when required. Don't save an unchanged value to request an automatic restart.
Warning
Changing shared_preload_libraries in an assigned parameter group immediately starts an automatic restart of every assigned compute pool that needs one. Check the parameter group's Compute pools list before saving. The restarts interrupt database connections.
Create a custom parameter group, or edit the custom parameter group already assigned to the compute pool.
Add the required libraries to the comma-separated value of
shared_preload_libraries. Preserve libraries that your workloads still need.If you changed the value in an existing assigned parameter group, select Save and wait for the automatic restarts to finish. You don't need to start another restart for the same edit.
If you created a new parameter group, assign it to the compute pool. If the required libraries aren't effective, use the pool's Restart operation when required to apply pending assignment changes. Choose a suitable time because the restart interrupts database connections.
Connect to the intended database endpoint and verify the effective value:
SHOW shared_preload_libraries;
shared_preload_libraries is static. Editing and saving a changed value starts the automatic restart immediately. At GA, the update uses Immediately without changing the pool's Compute > Configure field. Creating a group or assigning it to a pool doesn't trigger this edit-only automatic restart. Stop/start and scheduled maintenance don't apply pending parameter changes.