Upgrading ParadeDB
Overview
ParadeDB ships all of its functionality via Postgres extensions. All updates to ParadeDB can be received by updating one or more of the following extensions:
pg_search
for full text search and facetspg_analytics
for querying data lakespgvector
for dense and sparse vector search
Getting the Current Version
To inspect the current version of an extension, run the following command.
Getting the Latest Version
Because pg_search
, pg_analytics
, and pgvector
are independent extensions, they each have their own versions.
For the latest available version, please refer to the respective Github repos:
pg_search
is on version0.12.2
pg_analytics
is on version0.2.3
pgvector
is on version0.8.0
Updating ParadeDB Docker Image
To upgrade the ParadeDB Docker image while preserving your data volume:
-
Stop the ParadeDB Docker image via
docker stop paradedb
. -
Run the following command to pull a specific version of the Docker image. You can set the version number to
latest
to pull the latest Docker image. You can find the full list of available tags on Docker Hub.
The latest version of the Docker image should be 0.12.2
.
-
Start the new ParadeDB Docker image via
docker run paradedb
. -
Run the following commands to upgrade all extensions to their latest version.
Updating Extensions
To upgrade the extensions running in a self-managed Postgres:
- Stop Postgres (e.g. via
pg_ctl stop -D </path/to/data/directory>
) - Download and install the extension you wish to upgrade in the same way that it was initially installed (e.g. via cURL)
- Start Postgres (e.g. via
pg_ctl start -D /usr/local/var/postgres
) - Run the following command in every database that has previously run
CREATE EXTENSION <extension_name>
Was this page helpful?