External Collection の制限
Zilliz Cloud は external collection の raw data を保存せず、外部データソースへの metadata と mapping のみを維持するため、external collection は読み取り専用です。そのため、Zilliz Cloud 側から insert、upsert、delete、import、flush、compact などの書き込み操作やメンテナンス操作を実行することはできません。
managed collection と比較すると、external collection には次の制限があります。
-
external collection にアクセスするには API key を使用する必要があります。
-
Zilliz Cloud は primary key の一意性を強制せず、primary key または
AutoIDを設定することはできません。 -
dynamic field を有効にすることはできません。
-
partition を使用することはできません。そのため、partition key と はサポートされていません。
-
schema で functions を定義することはできません。
-
BM25 を使用した text match は使用できません。
-
外部データをクエリ可能にするには、まず index を作成し、その後
RefreshExternalCollectionを手動でトリガーして、Zilliz Cloud がデータの metadata と index を構築できるようにする必要があります。 -
external collection では、backup、restore、migration は現在サポートされていません。
次の表は、external collection と managed collection でサポートされる操作を詳細に比較したものです。
マネージド Collection (Serving Cluster) | External Collection (Serving Cluster または Databases for On-Demand Compute) | マネージド Collection (On-Demand Compute Database) | ||
|---|---|---|---|---|
Collection 管理 | CreateCollection | |||
DropCollection | ||||
DescribeCollection | ||||
RenameCollection | ||||
Dynamic Field | ||||
Primary Key | ||||
Auto ID | ||||
TTL | ||||
Nullable/Default Value | ||||
Loaded Entities | ||||
Allow Insert Auto ID | ||||
MMAP | ||||
Timezone | ||||
Schema | AddField | |||
AlterField | ||||
Partition | CreatePartition | |||
DropPartition | ||||
Partition Key | ||||
データ書き込み | Insert | |||
Delete | ||||
Upsert | ||||
BulkInsert / Import | ||||
Flush | ||||
Shard | ||||
Truncate | ||||
データ同期 | RefreshExternalCollection | — | — | |
GetRefreshProgress | — | — | ||
ListRefreshJobs | — | — | ||
Index | CreateIndex | |||
DropIndex | ||||
DescribeIndex | ||||
Load/Release | LoadCollection | |||
ReleaseCollection | ||||
Search/Query | Search | |||
Query | ||||
HybridSearch | ||||
Functions | ||||
Full-text Search/Text Match | ||||
メンテナンス | Manual Compaction | |||
Clustering Key | ||||
Backup & restore | ||||
Migration | ||||