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

How DiskANN index built in milvus? #855

Closed
ucasfl opened this issue Sep 20, 2024 · 4 comments
Closed

How DiskANN index built in milvus? #855

ucasfl opened this issue Sep 20, 2024 · 4 comments
Labels

Comments

@ucasfl
Copy link

ucasfl commented Sep 20, 2024

For DiskANN, it build index with static binary data, so in milvus, how it works? When insert data, does it generate specific binary data on disk, then building the index?

@chasingegg
Copy link
Collaborator

In milvus there are growing data(newly inserted data) and sealed data, and diskann will be built on the static sealed data

@ucasfl
Copy link
Author

ucasfl commented Sep 20, 2024

For static sealed data, are you keep it as the same format that DiskANN needed?

The input data over which to build an index, in .bin format. The first 4 bytes represent number of points as an integer. 
The next 4 bytes represent the dimension of data as an integer. The following n*d*sizeof(T) bytes contain the contents of 
the data one data point in time. sizeof(T) is 1 for byte indices, and 4 for float indices. This will be read by the program as 
int8_t for signed indices, uint8_t for unsigned indices or float for float indices.

https://github.com/microsoft/DiskANN/blob/main/workflows/SSD_index.md

@chasingegg
Copy link
Collaborator

Yes

Copy link
Contributor

This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. Rotten issues close after 30d of inactivity. Reopen the issue with /reopen.

@github-actions github-actions bot added the stale label Oct 22, 2024
@ucasfl ucasfl closed this as completed Oct 22, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants