Skip to content

Get correct index size for pgvector - #456

Merged
maumueller merged 1 commit into
erikbern:mainfrom
jkatz:pgvector-index-size
Aug 3, 2023
Merged

maumueller merged 1 commit into
erikbern:mainfrom
jkatz:pgvector-index-size

Conversation

@jkatz

@jkatz jkatz commented Aug 3, 2023

Copy link
Copy Markdown
Contributor

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
Copy Markdown
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