pg.ddx.io  pgvector/pgvector GitHub issues and pull requests  
help / color / mirror / Atom feed
From: jcoc611-gvt (@jcoc611-gvt) <noreply+jcoc611-gvt@github.com>
To: pgvector/pgvector <noreply+pgvector-pgvector@github.com>
Subject: Re: [pgvector/pgvector] issue #54: Hosted Providers
Date: Wed, 24 May 2023 23:55:11 +0000
Message-ID: <gh-pgvector-pgvector-54-c1562071614@github.com> (raw)
In-Reply-To: <gh-pgvector-pgvector-54@github.com>
References: <gh-pgvector-pgvector-54@github.com>

> > @mulander Seems like extension `vector` is not yet available in Azure Flexible Server (also not present in [this doc](https://learn.microsoft.com/en-us/azure/postgresql/flexible-server/concepts-extensions#postgres-14-e...)). Do you know when it will be in general availability?
> 
> @jcoc611-gvt What region are you checking and is it on a new or deployed cluster? The documentation update (including the doc you linked) is scheduled to be published on the 23rd of May.

@mulander Seems like new clusters can enable `vector` whereas existing ones cannot.

In any case, it seems like pgvector is crashing on INSERT or UPDATE large vectors (e.g. 1536 dimensions). Logs look something like this:
```
LOG: server process (PID 3517) was terminated by signal 4: Illegal instruction
```

Even on a simple table such as
```
CREATE TABLE test (id bigserial PRIMARY KEY,  v vector(1536));
```

This works fine for trivially small vectors e.g. 1-2 dimensions.

~~Perhaps pgvector was compiled with optimizations not supported in Azure flexible database environment? Or is it a matter of configuring server parameters/using a SKU with more RAM?~~

Edit: seems like one needs to update [track_activity_query_size](https://www.postgresql.org/docs/14/runtime-config-statistics.html) on Azure to fit the embedding array for it to work.

view thread (68+ messages)  latest in thread

Message-ID: <gh-pgvector-pgvector-54-c1562071614@github.com>
Permalink:  ../gh-pgvector-pgvector-54-c1562071614@github.com/

 · 


This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox