{"id":19747967,"url":"https://github.com/tensorchord/vectordb-benchmark","last_synced_at":"2025-04-30T08:32:58.984Z","repository":{"id":218926104,"uuid":"738836356","full_name":"tensorchord/vectordb-benchmark","owner":"tensorchord","description":null,"archived":false,"fork":false,"pushed_at":"2024-02-01T11:00:43.000Z","size":20,"stargazers_count":3,"open_issues_count":0,"forks_count":2,"subscribers_count":7,"default_branch":"main","last_synced_at":"2024-09-21T12:52:18.439Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"Python","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/tensorchord.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null}},"created_at":"2024-01-04T06:47:31.000Z","updated_at":"2024-02-29T05:01:25.000Z","dependencies_parsed_at":"2024-01-24T15:26:13.119Z","dependency_job_id":null,"html_url":"https://github.com/tensorchord/vectordb-benchmark","commit_stats":null,"previous_names":["tensorchord/vectordb-benchmark"],"tags_count":1,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fvectordb-benchmark","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fvectordb-benchmark/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fvectordb-benchmark/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/tensorchord%2Fvectordb-benchmark/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/tensorchord","download_url":"https://codeload.github.com/tensorchord/vectordb-benchmark/tar.gz/refs/heads/main","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":224203377,"owners_count":17272938,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2024-11-12T02:19:38.361Z","updated_at":"2024-11-12T02:19:38.932Z","avatar_url":"https://github.com/tensorchord.png","language":"Python","funding_links":[],"categories":[],"sub_categories":[],"readme":"# Vector DB Benchmark\n\nSupported databases/extensions:\n\n- [x] [`pgvecto.rs`](https://github.com/tensorchord/pgvecto.rs)\n- [x] [`pgvector`](https://github.com/pgvector/pgvector)\n- [x] [`qdrant`](https://github.com/qdrant/qdrant/)\n\nSupported datasets:\n\n- [x] random generated\n- [x] GIST 960\n- [x] GLOVE\n- [x] Deep Image\n- [x] LAION\n\nFor more information, check the [source.py](./vector_bench/dataset/source.py).\n\n## Installation\n\n```bash\npip install vector_bench\n```\n\n## Run\n\n### Server\n\nRun the docker compose file under [`server`](server/) folder.\n\n```base\ndocker compose -f docker/compose.${DB_NAME}.yaml up -d\n```\n\n### Client\n\n```bash\n# help\nvector_bench --help\n# only insert the data\nvector_bench --insert --url postgresql://postgres:password@127.0.0.1:5432/postgres -s gist_960_l2\n# only query the data (make sure the data is already inserted)\nvector_bench --query --url postgresql://postgres:password@localhost:5432/postgres -s gist_960_l2\n# insert and query the data\nvector_bench --insert --query --url postgresql://postgres:password@localhost:5432/postgres -s gist_960_l2\n```\n\n## How to contribute\n\n```bash\n# install all the necessary dependencies:\nmake dev\n# format code\nmake format\n# lint\nmake lint\n```\n\n### Add more datasets\n\n- Add new `DatasetConfig` to `vector_bench/dataset/source.py`\n\n### Add more clients\n\n- Inherit and implement the `BaseClient` class in `vector_bench/client/base.py`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fvectordb-benchmark","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Ftensorchord%2Fvectordb-benchmark","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Ftensorchord%2Fvectordb-benchmark/lists"}