Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

A question about building index in background. #576

Closed
xingtanzjr opened this issue May 29, 2024 · 1 comment
Closed

A question about building index in background. #576

xingtanzjr opened this issue May 29, 2024 · 1 comment

Comments

@xingtanzjr
Copy link

Hi,

I am new to postgres and new to pgvector. Currently I am reading the source code of pgvector. I noticed that pgvector supports building index in parallel with several processes. But the whole index build stage ( implemented in ambuild ) is still in a sync mode. For example, when users run creating index in cmd line, it will wait until the index building finishes.

So...my question is: does pgvector supports building the index in background ? And a further question is, does postgres also index extension to build the index in background mode ?

I am not sure my question is suitable or not. Appreciate your any input ! Thanks !

@jkatz
Copy link
Contributor

jkatz commented May 29, 2024

Yes:

CREATE INDEX CONCURRENTLY ...

@ankane ankane closed this as completed May 29, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

No branches or pull requests

3 participants