160 karma · joined Apr 8, 2016 (10y ago) · 83 submissions
comment 1mo ago · link · parent
We address that directly in the blog post: https://www.tigerdata.com/blog/announcing-pg_vectorsearch-sc...
Summary: We weren't happy with the unpredictable recall performance of pgvectorscale (and couldn't find a way to fix that in the literature) and decided that moving away from graph-algorithms to partition-based ones was a better long-term approach.
2.
Show HN: Pg-aiguide – Write better PostgreSQL code with AI(github.com ↗)
3 points · by cevian · 1y ago · discuss
3.
Show HN: MCP server that teaches LLMs to write production grade Postgres SQL(github.com ↗)
5 points · by cevian · 1y ago · discuss
4.
Show HN: An Open-Source Eval Suite That Helps You Fix Postgres-Based Text-to-SQL(tigerdata.com ↗)
2 points · by cevian · 1y ago · discuss
5.
Show HN: Making Postgres Self-Describing for LLMs with a Semantic Catalog(tigerdata.com ↗)
2 points · by cevian · 1y ago · discuss
6.
Evaluating general purpose vs. domain specific models for financial RAG(timescale.com ↗)
3 points · by cevian · 1y ago · discuss
comment 2y ago · link · parent
The error handling is actually the hard part here. We don't believe that failing on inserts due to the endpoint being down is the right thing because that just moves the retry/error-handling logic upstream -- now you need to roll your own queuing system, backoffs etc.
comment 2y ago · link · parent
comment 2y ago · link · parent
It could do either depending on on what the planner decides. In pgvector it usually does post-filtering in practice (filter after vector search).
pgvector HNSW has the problem that there is a cutoff of retrieving some constant C results and if none of them match the filter than it won't find results. I believe newer version of pgvector address that. Also pgvectorscale's StreamingDiskANN[1] doesn't have that problem to begin with.
[1]: https://www.timescale.com/blog/how-we-made-postgresql-as-fas...
comment 2y ago · link · parent
In addition it seems that embeddings happen at ingest time. So, if, for example, the OpenAI endpoint is down the insert will fail. That, in turn means your users need to use a retry mechanism and a queuing system. All the complexity we describe in our blog.
Obviously, I am not an expert in Chroma. So apologies in advance if I got anything wrong. Just trying to get to the heart of the differences between the two systems.
comment 2y ago · link · parent
The DB is the right layer from a interface point of view -- because that's where the data properties should be defined. We also use the DB for bookkeeping what needs to be done because we can leverage transactions and triggers to make sure we never miss any data. From an implementation point of view, the actual embedding does happen outside the database in a python worker or cloud functions.
Merging the embeddings and the original data into a single view allows the full feature set of SQL rather than being constrained by a REST API.
comment 2y ago · link · parent
We agree a lot of stuff still needs to be figured out. Which is why we made vectorizer very configurable. You can configure chunking strategies, formatting (which is a way to add context back into chunks). You can mix semantic and lexical search on the results. That handles your 1,2,3. Versioning can mean a different version of the data (in which case the versioning info lives with the source data) OR a different embedding config, which we also support[1].
Admittedly, right now we have predefined chunking strategies. But we plan to add custom-code options very soon.
Our broader point is that the things you highlight above are the right things to worry about, not the data workflow ops and babysitting your lambda jobs. That's what we want to handle for you.
[1]: https://www.timescale.com/blog/which-rag-chunking-and-format...
comment 3y ago · link · parent
That's all to say -- Yes we've solved this, there are no arbitrary limits on the number of results returned.
comment 5y ago · link · parent
Timescale is continuing to grow rapidly, and we’re hiring for many roles involving distributed systems and databases.
Folks might know TimescaleDB as “Postgres + time-series”: we’re implemented as an extension to PostgreSQL (not a fork), but focus on the scale, performance, and ease-of-use needed for time-series applications. Automated time/space partitioning, columnar compression, continuous aggregates (incrementally materialized views), time-series analytics, and now a distributed database with horizontal scale-out.
Database code all available on github; we don’t have any “enterprise versions”, so all our database code is available for the community for free. Currently see more than 3 million databases running TimescaleDB a month.
That’s because our commercial focus is on our fully-managed cloud platform, so in addition to folks implementing the core database (C, Rust), we’re also heavily hiring for folks with operational cloud & database experience at scale (Kubernetes with custom k8s operators, Golang, etc), as well as folks interested in providing highly technical support, database release engineering, and building database testing infrastructure (think performance analysis, distributed database correctness testing, etc.) And product folks to support these efforts & all our users!
We are also developing Promscale, which makes storing, analyzing, and managing observability (Prometheus metrics & Open-Telemetry traces now, other signals in development) data easier and allows users to use SQL on that data.
Lots of fun engineering and product roles/work, and an amazing company culture you can read more about here: https://www.timescale.com/careers
Feel free to drop me a DM here with any questions (I’m one of the original engineers at Timescale — and now lead the Promscale team), or apply here at https://www.timescale.com/careers
comment 5y ago · link · parent
https://www.timescale.com/careers
Promscale roles are listed in the "Observability" section.
comment 5y ago · link · parent
Great question. We support average of averages by storing the intermediate state of the aggregate (for average that's the sum and count) so we could cleanly re-aggregate.
Eventually, we'll be able to incrementally update the aggregate if we backfill even if the raw data is no longer available. That's not implemented yet though, so backfill only updates the aggregate if the raw data is still around by re-computing the intermediate state of the aggregate off the raw data for affected buckets. For most cases that isn't actually an issue since most people have a longer data retention period than backfill horizon.
comment 5y ago · link · parent
comment 5y ago · link · parent
comment 6y ago · link · parent
More info: https://tsdb.co/promscale-agenda
comment 6y ago · link · parent
We've never seen a backup take down a machine. The backups we use are the same as Postgres which are used by millions of companies without a problem (and can be streaming incremental backups like pgBackrest, WAL-E, etc. or whole-database backups like pg_dump). As with any DB you do have to size and configure your database correctly (which these days isn't hard).
We've never seen anybody claim that ClickHouse offers significantly better compression than we do overall. Obviously compression depends heavily on data distribution and I'm sure you could make up a dataset where clickhouse does better (just as you could where TimescaleDB does better). But on real distributions we don't see this at all, we do pretty advanced columnar compression on a per-datatype basis [1], and see median space reduction of 95% from compression across users.
Large queries is a weird claim to make since Postgres has more different types of indexes than Clickhouse and has support for multiple indexes. If you are processing all of your data for all your queries then yes, click house sequential scans may be better. But that's less common, and also where TimescaleDB continuous aggregates come in.
We've seen customers successfully use our single-node version with 100s of billions of rows so claiming that we are just for small use-cases is simply untrue, and especially with the launch of multi-node TimescaleDB.
I understand people may have different preferences and experiences, but some of these felt a bit off to me.
[1] https://blog.timescale.com/blog/building-columnar-compressio...
comment 6y ago · link · parent