Skip to content

How should I use MilvusClientV2Pool when accessing multiple databases? #1577

@pipi-olo

Description

@pipi-olo

I am using MilvusClientV2Pool. Since I need to access multiple databases, I create a separate ClientPool for each database, using the collection name as the key.

My problem is that when I use ClientPool, the latency becomes significantly higher compared to when I don't use it.

Here are my questions:

Q1. Am I using ClientPool incorrectly? Please let me know the proper way to access multiple Milvus databases.

Q2. Should I use client.useDatabase within a single ClientPool? When I do this, the performance becomes very slow.

Q3. Is there a way to collect metrics for MilvusClient in a Java application?

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions