Dump your on-premise PostgreSQL database, restore it into ParadeDB, and enable the ParadeDB extension to unlock cloud-native search and analytics.
ParadeDB adds vector search, hybrid search, and fast analytics without changing your application code. Moving your existing data lets you test these features immediately.
Ensure your on-prem PostgreSQL version matches (or is lower than) ParadeDB’s target version. Install pg_dump
/pg_restore
that match your source server.
Use pg_dump
with custom format so you can restore in parallel:
pg_dump -Fc \
--jobs=4 \
--no-owner \
--dbname=postgresql://user:pass@onprem.host:5432/store \
--file=store.dump
Create an empty database in ParadeDB Cloud, then stream the dump:
pg_restore -j 4 \
--create \
--dbname=postgresql://user:pass@parade.cloud:5432/postgres \
store.dump
After the schema is in place, enable ParadeDB:
\c store
CREATE EXTENSION IF NOT EXISTS paradedb;
Rebuild GIN or HNSW indexes so ParadeDB can optimize queries:
CREATE INDEX idx_products_search ON products USING paradedb_hnsw (to_vector(name));
Restore in parallel, disable triggers, and then ANALYZE
to refresh statistics:
ALTER TABLE orders DISABLE TRIGGER ALL;
-- bulk load data
ALTER TABLE orders ENABLE TRIGGER ALL;
ANALYZE orders;
1) Take initial dump, 2) restore to ParadeDB, 3) enable logical replication from on-prem to ParadeDB for catch-up, 4) switch traffic once lag is zero.
- Match server versions
- Use custom dump format
- Restore in parallel
- Rebuild indexes
- ANALYZE after import
- Test application queries
See below for frequent pitfalls and fixes.
No. Combine an initial dump with logical replication for near-zero downtime cut-over.
ParadeDB is PostgreSQL under the hood, so tables remain unchanged. Only new index types and functions are added.
Yes. Keep the on-prem server online. If issues arise, point your application back until resolved.