Installs ParadeDB on a Linux PostgreSQL server to unlock fast vector and full-text search.
ParadeDB extends PostgreSQL with vector, full-text, and hybrid search, giving product catalogs Google-like search speed. Linux offers the simplest build and deployment path.
PostgreSQL 13-15, GNU Make, a C compiler, and superuser access. Ensure pg_config
is in $PATH
and the server is stopped during package install.
1. echo 'deb [trusted=yes] https://packages.paradedb.com/apt/ stable main' | sudo tee /etc/apt/sources.list.d/paradedb.list
2. sudo apt update
3.sudo apt install paradedb-postgresql-15
git clone https://github.com/ParadeDB/paradedb.git && cd paradedb
make && sudo make install
Start psql
and run: CREATE EXTENSION IF NOT EXISTS paradedb;
The command must be executed in every database that will use vector search.
ALTER TABLE products ADD COLUMN description_vector tsvector;
UPDATE products SET description_vector = to_tsvector('english', name);
CREATE INDEX products_desc_vector_idx ON products USING gin(description_vector);
SELECT id, name FROM products WHERE description_vector @@ plainto_tsquery('wireless mouse') ORDER BY paradedb_rank(description_vector, 'wireless mouse') DESC LIMIT 10;
Create the extension in template1
, refresh vectors with triggers, keep statistics current via ANALYZE
, and monitor index size to decide on partial indexes.
CREATE EXTENSION
in the wrong database returns `function paradedb_rank does not exist`—rerun in the correct DB.
Forgetting to regenerate vectors after inserts causes empty search results—set an AFTER INSERT/UPDATE
trigger.
.
Yes. Installation copies binaries to PostgreSQL's extension directory, which requires root or the postgres Unix user.
Vector columns and GIN indexes add overhead. Update vectors only when necessary and monitor index bloat with pg_stat_all_indexes
.
Drop dependent indexes, then run DROP EXTENSION paradedb CASCADE;
and uninstall the package with your OS package manager.