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

Get correct index size for pgvector #456

Merged
merged 1 commit into from
Aug 3, 2023

Conversation

jkatz
Copy link
Contributor

@jkatz jkatz commented Aug 3, 2023

The size of the pgvector index comes from data stored in PostgreSQL; its not available in the memory context that the index is built in. This defines an ad hoc "get_memory_usage" function that lets the pgvector test load the size of the created index from the database.

The size of the pgvector index comes from data stored in PostgreSQL;
its not available in the memory context that the index is built in.
This defines an ad hoc "get_memory_usage" function that lets the pgvector
test load the size of the created index from the database.
@maumueller
Copy link
Collaborator

Thanks @jkatz

@maumueller maumueller merged commit fd38984 into erikbern:main Aug 3, 2023
@jkatz jkatz deleted the pgvector-index-size branch August 4, 2023 14:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants