Skip to main content
Version: User Guides (Cloud)

FAQ: Collection

This topic lists the possible issues that you may encounter while you use Zilliz Cloud collections and the corresponding solution.

Contents

FAQs

How many collections are allowed in a single cluster?

A free cluster can have up to 2 collections. If you have reached the upper limit and need to create more collections, please upgrade the cluster plan.

A Serverless cluster can have up to 10 collections.

The number of collections allowed in a Dedicated cluster varies with the cluster CU size. For more information, please refer to Zilliz Cloud Limits.

If you have reached the maximum number of collections allowed in a cluster, you can:

  1. Scale your cluster to larger CU sizes.

  2. Drop unused collections.

  3. Try creating partitions instead of collections.

How can I know if dynamic schema is enabled for my collection?

You can view the status of dynamic schema via Zilliz Cloud web console. Choose the collection and navigate to the Schema tab. You can see if dynamic schema is enabled or not in the upper right corner. For more details, see Enable Dynamic Field.

faq_dynamic_schema_enabled

If dynamic schema was disabled when the collection was created, can I enable it later?

No. Once you have enabled/disabled dynamic schema when creating a collection, you cannot modify the status of dynamic schema later. For more details, see Enable Dynamic Field.

What are the indexing metric types supported by Zilliz Cloud?

Zilliz Cloud supports 3 types of metrics.

  1. Euclidean (L2) measures the distance between two vectors in a plane. The smaller the result, the more similar the two vectors are.

  2. Inner Product (IP) multiplies two vectors. The more positive the result, the more similar the two vectors are.

  3. Cosine measures the cosine value of the angle between two vectors.

  4. [Beta] Jaccard measures the dissimilarity between data sets and is obtained by subtracting the JACCARD similarity coefficient from 1.

  5. [Beta] Hamming measures binary data strings. The distance between two strings of equal length is the number of bit positions at which the bits are different.

Currently, the Jaccard and Hamming similarity metrics are available exclusively to Dedicated clusters that have been upgraded to the Beta version. For more details, see Similarity Metrics Explained.

How to set the TTL (time to live) property of a created collection?

You can set the TTL of a collection with our PyMilvus SDK by providing the value of the parameter collection.ttl.seconds.

The following example sets the TTL to 1800 seconds.

collection.set_properties(properties={"collection.ttl.seconds": 1800})

What is the concurrency for collection loading requests? How can I increase the number of concurrent requests?

Currently, the rate limit for loading collection requests on Zilliz Cloud is 1 per second. This is the recommended value for a 1 CU cluster. If you need to increase the number of concurrent requests, please submit a request.

Why do I fail to load collections? What can I do?

The failure is caused due to insufficient memory in your cluster. Please try scaling up your cluster to larger CU sizes.

Is there any limit to the number of fields I can add in a collection?

Yes. You can have a maximum of 64 fields in 1 collection.

What's the difference between partitions and partition keys?

Partitions are used to organize data based on certain criteria.

The partition key groups entities by the same key and speed up query performance.

The difference is that data are physically isolated in partitions while partition keys group data logically.