Comments (4)
@FrankyCTY Do you have jit
set to on
? (SHOW jit;
)? Try disabling it and see if it fixes the query (SET jit to off;
in the same session).
from pgvector.
May I know how
jit
causing problem? Because I will be looking into if it will be the same problem for our managed database (Google cloud sql) as it seems also havejit
set toon
.
Likely a packaging issue on your side. You might have these sorts of errors if the bitcode file is unreadable for any reason or corrupted, or if the extension was built with a newer clang version than the server, leading to newer bitcode files to be attempted to be read the older libllvm.so that the server is linked against.
from pgvector.
@FrankyCTY Do you have
jit
set toon
? (SHOW jit;
)? Try disabling it and see if it fixes the query (SET jit to off;
in the same session).
Thanks for the reply.
I am a bit new to postgres, and I have ran SET jit to off;
and ensure SHOW jit;
return off
afterwards in my postgres docker instance's database, and it didn't work.
Then I tried to update the parameter in postgresql.conf
to set the jit
to off
, and related the conf
by running SELECT pg_reload_conf();
. Afterwards the problem is resolved. Maybe I should have reloaded the conf in the above attempt.
May I know how jit
causing problem? Because I will be looking into if it will be the same problem for our managed database (Google cloud sql) as it seems also have jit
set to on
. (Update: Seems like Cloud sql does not support IIVM anyway so the paramter should be ignored. https://cloud.google.com/sql/docs/postgres/features#:~:text=Low%2DLevel%20Virtual%20Machine%20(LLVM)%20Just%2Din%2DTime%20(JIT)%20compilation.)
Thanks a lot, I appreciate that.
Directly set jit
to off within the database session
local-console=# SHOW jit;
jit
-----
on
(1 row)
### Setting `jit` to off within the database instance
local-console=# set jit to off;
SET
local-console=# SHOW jit;
jit
-----
off
(1 row)
Updating the postgresql.conf
to set jit
to off then reload the config
sed -i 's/^#jit = on.*$/jit = off/' ./postgresql.conf
You are now connected to database "local-console" as user "postgres".
local-console=# SELECT pg_reload_conf();
pg_reload_conf
----------------
t
(1 row)
local-console=# show jit;
jit
-----
off
(1 row)
from pgvector.
Thanks guys, closing the issue now 💯
from pgvector.
Related Issues (20)
- created by mkstake
- Product Quantization HOT 3
- Index tweaking for getting some specific recall HOT 1
- In file included from src/bitutils.c:3:0: src/bitutils.h:8:2: 错误:#error "Requires PostgreSQL 12+" #error "Requires PostgreSQL 12+" ^ src/bitutils.c:5:30: 致命错误:port/pg_bitutils.h:没有那个文件或目录 #include "port/pg_bitutils.h" HOT 2
- Ensure PostgreSQL Uses HNSW Index Before Falling Back to B-tree Index for Nearest Neighbor Search HOT 1
- Efficient exporting? HOT 7
- How to get the vector length from information schema HOT 2
- Build error for x64 HOT 1
- Why exponent > 98 in halfvec?
- how to build a arm docker images HOT 4
- Inconsistent Semantic Result HOT 3
- load environment file from yaml HOT 1
- docker 安装pvector 提示错误 HOT 1
- Semantic cache capability for pgvector db HOT 1
- Does pgvector support gpu acceleration? HOT 1
- Docker image not installing pgvector extension HOT 1
- Multi-vector search HOT 8
- Out of sync documentation on vector dimensions? HOT 1
- XX000 Error when adding more than a thousand records to an `sparsevec` HNSW index HOT 1
- Unable to install pgvector extension for Postgres 16 in Ubuntu 22.04 HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from pgvector.