Better HN
topnewbestaskshowjobs
Log inSign up

jamesgresql

110 karma · joined May 17, 2022 (4y ago) · 64 submissions

Submissions

comment 11mo ago · link · parent

Hello HN, author here. It seems like everyone is talking about 'hybrid search' (lexical/BM25 + semantic/vector) these days, so I wanted to show how it's possible (and fully customizable) using reciprocal rank fusion in SQL.

32.

The Missing Manual for Hybrid Search in PostgreSQL(paradedb.com ↗)

6 points · by jamesgresql · 11mo ago · 1 comment

comment 1y ago · link · parent

The original title of this post was "When Tokenization Becomes Token", but nobody got it.

I'm curious, after reading this article how many people can tell me why that title would have been great?

(also I'd love feedback on the interactive components, I think they came out well!)

34.

From Text to Token: How Tokenization Pipelines Work(paradedb.com ↗)

2 points · by jamesgresql · 1y ago · 2 comments

comment 1y ago · link · parent

Author here — you beat me to it!

Hi everyone A lot of you will probably see the title of this post and immediately think “of course, just use the right tool for the job.”

But for those who don’t … here's a thing for you.

I’d really love to hear from both sides:

- Folks who’ve been burned by using Elastic as a primary datastore.

- Folks who haven’t — and can make the case for why it works just fine. (I know some of you are out there!)

comment 1y ago · link · parent

Not the case!

comment 1y ago · link · parent

Tiger here, let's go!

comment 2y ago · link · parent

Hi HN! I've been benchmarking again, this time looking at all the permutations of COPY and INSERT in Postgres.

Let me know what you think.

39.

Benchmarking Postgres Batch Ingest(timescale.com ↗)

1 points · by jamesgresql · 2y ago · 1 comment

comment 2y ago · link · parent

Hi HN! If you're interested in PostgreSQL or database performance here's a short benchmark I did looking into the seemingly magical performance gain you can get by INSERTing unnested arrays rather than VALUES tuples in Postgres.

Let me know if you have any questions or suggestions for next articles.

41.

Boosting Postgres Insert Performance by 50% with Unnest(timescale.com ↗)

4 points · by jamesgresql · 2y ago · 2 comments

comment 2y ago · link · parent

Hi HN!

I wrote this article comparing TimescaleDB's SkipScan feature to vanilla Postgres performance for DISTINCT queries (get me the last row for all IDs) while a 200K rows per second ingest was happening.

I'm going to be writing more of these smaller performance pieces (sometimes Timescale related, sometimes Postgres related) - I'd love to hear some suggestions (especially around PG performance) from the HN community

43.

SkipScan Under Load(timescale.com ↗)

8 points · by jamesgresql · 2y ago · 1 comment

44.

Why we moved away from K8s StatefulSets(timescale.com ↗)

3 points · by jamesgresql · 2y ago · discuss

comment 2y ago · link · parent

Our Insights product at Timescale recently ticked over 1 petabyte of storage, 100 trillion metrics stored, 800 billion metrics per day.

A lot of the data is stored using Timescale's Tiering feature, but all that data is still ingested into Postgres and queryable as normal.

It’s amazing what Postgres can do if you architect your solution well.

46.

Petabye Postgres(timescale.com ↗)

5 points · by jamesgresql · 2y ago · 1 comment

comment 2y ago · link · parent

Great comments!

This is exactly where we see ourselves contributing: both making pgvector faster and more efficient through pgvectorscale, and working to make the AI on Postgres developer experience first class.

comment 2y ago · link · parent

Super excited about this launch, happy to answer any questions (or jump into our Discord for more)

The pgvectorscale repo is at: https://github.com/timescale/pgvectorscale

comment 2y ago · link · parent

(Author here) Oh for sure! This is specifically about databases, databases can't do it all (unless you use Omnigres I suppose?)

comment 2y ago · link · parent

(Author here!) I'd compare performance to what you need, not to other technology.

But also, point taken. The article this comment thread describes also needs to be written.

comment 2y ago · link · parent

Author here, this is obviously a high level post! There are many, many posts about how Postgres with different extensions can get you different things.

I didn't want to go down that path for this article because I didn't want it to end up as a sales pitch. The article you describe needs to be written, but it's a follow-up in my mind (and much more technical, for a slightly different audience).

comment 2y ago · link · parent

Just out of interest what would you say a 'higher throughput' was?

53.

Row vs. Columnar(tiktok.com ↗)

1 points · by jamesgresql · 2y ago · discuss

comment 2y ago · link · parent

Authour here: I know people either love or hate Postgres for Everything, either way I'd love some lively discussion!

55.

Postgres for Everything: keep your tech stack simple –> get more time to build(tsdb.co ↗)

1 points · by jamesgresql · 2y ago · 1 comment

comment 2y ago · link · parent

Hi, we updated our docs with the best options.

https://docs.timescale.com/self-hosted/latest/install/instal...

I'd personally recommend StackGres, it's a great project.

comment 2y ago · link · parent

This is super cool! I run DevlRel @ Timescale, and I love seeing our community create well written posts like this!

My initial reaction is that I think one of the reasons you're seeing a hypertable being slower is almost certainly that it creates an index on the timestamp column by default. You don't have an index on your standard table which lets it go faster.

You can use create_hypertable with create_default_indexes=>false to skip creating the index, or you can just drop the index before you ingest data. You'll eventually want that index - but it's best created after ingestion in a one-shot load like this.

I'd also be interested in how the HDD you're reading data from is holding up in some of the highly parallel setups?

comment 3y ago · link · parent

Great book!
123