Feike Steenbergen retweeted
PGVECTOR IS NOW FASTER THAN PINECONE. And 75% cheaper thanks to a new open-source extension – introducing pgvectorscale.
🐘 What is pgvectorscale?
Pgvectorscale is an open-source PostgreSQL extension that builds on pgvector, enabling greater performance and scalability (keep reading for the actual numbers).
By using pgvector and pgvectorscale, developers can build more scalable AI applications, benefiting from higher-performance embedding search and cost-efficient storage.
📈 How does it perform?
On our benchmark of 50 million Cohere embeddings (768 dimensions each), PostgreSQL with pgvector and pgvectorscale achieves 28x lower p95 latency and 16x higher query throughput compared to Pinecone for approximate nearest neighbor queries at 99 % recall, all at 75 % less cost when self-hosted on AWS EC2.
We also tested it against Pinecone’s p2 high performance index, see the blog post at the end of this post for full results (spoiler: It’s just as impressive).
🤔 Why did we build pgvectorscale?
Our team at @timescaledb built pgvectorscale to make PostgreSQL a better database for AI and to challenge the notion that PostgreSQL and pgvector are not performant for vector workloads.
⚙️How does it achieve such good performance?
Pgvectorscale brings specialized data-structures and algorithms for large-scale vector search and storage to PostgreSQL as an extension, including: (1) StreamingDiskANN – a high-performance, cost-efficient vector search index for pgvector data inspired by research at Microsoft, and (2) Statistical Binary Quantization (SBQ), developed by Timescale’s own researchers to improve upon standard binary quantization techniques.
These innovations help PostgreSQL deliver comparable and often superior performance than specialized vector databases like Pinecone. 👏 Big shoutout to @cevianNY and @sql_johnpruitt, two senior staff engineers at Timescale, who worked on these technical breakthroughs.
🧑💻 Sounds exciting! How can I get started?
Pgvectorscale is open-source under the PostgreSQL license, and free to use on any PostgreSQL database. You can find installation instructions on the pgvectorscale GitHub repository (see end of post). It’s also available on any database service in Timescale’s PostgreSQL cloud platform.
📚Learn more
[1] Pgvectorscale explainer blog: tsdb.co/avtharvectorscale
[2] Pgvectorscale github repo: github.com/timescale/pgvecto…
Share this post with your followers to let them know about pgvectorscale and comment your reactions and questions.
I just completed "Camel Cards" - Day 7 - Advent of Code 2023 adventofcode.com/2023/day/7 #AdventOfCode using #sql #PostgreSQL
gitlab.com/feike/adventofcod…
I just completed "If You Give A Seed A Fertilizer" - Day 5 - Advent of Code 2023 adventofcode.com/2023/day/5 #AdventOfCode using #postgresql #sql
gitlab.com/feike/adventofcod…
I just completed "Scratchcards" - Day 4 - Advent of Code 2023 adventofcode.com/2023/day/4 #AdventOfCode using #sql #postgresql
gitlab.com/feike/adventofcod…
I just completed "Cube Conundrum" - Day 2 - Advent of Code 2023 adventofcode.com/2023/day/2 #AdventOfCode
gitlab.com/feike/adventofcod…
Advent of Code has started! Again I'll try to keep doing all challenges in #sql (I'm using #postgresql)
I just completed "Trebuchet?!" - Day 1 - Advent of Code 2023 adventofcode.com/2023/day/1 #AdventOfCode
Today's solution using a single sql statement:
gitlab.com/feike/adventofcod…
Feike Steenbergen retweeted
📣 Hey there 👋
The Belgium #PostgreSQL User Group will meet next week (on Tuesday 28 November) in Antwerpen to discuss about Postgres Architectures and I will also talk about "What can't @pgBackRest do for you" !
Link to the event : meetup.com/PostgresBE/events…
Come join us ! 🐘
Feike Steenbergen retweeted
1/ 🤖 You don’t need a specialized vector database. You just need PostgreSQL.
Introducing Timescale Vector: PostgreSQL++ for AI Applications
- 📈 3x ANN search performance vs Weaviate, 40%-1,500% boost for pgvector.
- ⚙️ No need to learn and manage a separate vector database.
Feike Steenbergen retweeted
👋 Calling all #PostgreSQL users – the 2023 State of PostgreSQL survey is now open! 🎉
Share your feedback, favorite extensions, community experiences, and more 👇
tsdb.co/state-of-pg-2023-sur…
The survey is open until Aug 31 @ 11:59 p.m. PT ✨
Feike Steenbergen retweeted
Our next #PostgreSQL meetup will be in only two more days!
Where: @picnic HQ, Van Marwijk Kooystraat 15, Amsterdam: openstreetmap.org/#map=18/52…
When: 17:30 - 20:30 (Talks start at 18:30)
We have 2 main talks and multiple lightning talks lined up.
Feike Steenbergen retweeted
Oleksii Kliukin from @TimescaleDB is explaining how to run #PostgreSQL in #Kubernetes at #Prague PostgreSQL Developer Day 2023.
I've completed "Hill Climbing Algorithm" - Day 12 - Advent of Code 2022 adventofcode.com/2022/day/12 #AdventOfCode
#sql #postgresql
gitlab.com/feike/adventofcod…
I've completed "Cathode-Ray Tube" - Day 10 - Advent of Code 2022 adventofcode.com/2022/day/10 #AdventOfCode
#sql #postgresql
gitlab.com/feike/adventofcod…
I just completed "Rope Bridge" - Day 9 - Advent of Code 2022 adventofcode.com/2022/day/9 #AdventOfCode
#PostgreSQL #SQL
gitlab.com/feike/adventofcod…
I just completed "Treetop Tree House" - Day 8 - Advent of Code 2022 adventofcode.com/2022/day/8 #AdventOfCode
#sql #postgresql
gitlab.com/feike/adventofcod…
I just completed "No Space Left On Device" - Day 7 - Advent of Code 2022 adventofcode.com/2022/day/7 #AdventOfCode
#PostgreSQL #sql
gitlab.com/feike/adventofcod…
I've completed "Tuning Trouble" - Day 6 - Advent of Code 2022 adventofcode.com/2022/day/6 #AdventOfCode
#PostgreSQL #SQL
gitlab.com/feike/adventofcod…
I've completed "Supply Stacks" - Day 5 - Advent of Code 2022 adventofcode.com/2022/day/5 #AdventOfCode
#PostgreSQL #SQL
gitlab.com/feike/adventofcod…
I just completed "Rucksack Reorganization" - Day 3 - Advent of Code 2022 adventofcode.com/2022/day/3 #AdventOfCode
#PostgreSQL #SQL
gitlab.com/feike/adventofcod…









