top | item 46435022

(no title)

pqdbr | 2 months ago

Are you using a dedicated pg instance for vector or you keep all your data in a single pg instance (vector and non-vector)?

discuss

order

ComputerGuru|2 months ago

The biggest selling point to using Postgres over qdrant or whatever is that you can put all the data in the same db and use joins and ctes, foreign keys and other constraints, lower latency, get rid of effectively n+1 cases, and ensure data integrity.

dalberto|2 months ago

I generally agree that one database instance is ideal, but there are other reasons why Postgres everywhere is advantageous, even across multiple instances:

- Expertise: it's just SQL for the most part - Ecosystem: same ORM, same connection pooler - Portability: all major clouds have managed Postgres

I'd gladly take multiple Postgres instances even if I lose cross-database joins.

ricw|2 months ago

All in one of course. That’s the biggest advantage. And why postgres is great - it covers virtually all standard use cases.