API利用可能性
Zilliz Cloudは、より良いユーザーエクスペリエンスを提供するためにMilvusとは若干異なる動作をします。この記事は、2つのプラットフォーム間のAPIの違いを明確にすることを目的としています。
MilvusからZilliz Cloudに移行を計画している場合、既存のコードにいくつかの必要な変更を加える必要があるかもしれません。
シナリオ固有の権限
以下の表は、さまざまなサービスティアにわたるAPI利用可能性の比較を提供します。Bring Your Own Cloud (BYOC) ソリューションのAPI利用可能性は、StandardおよびEnterpriseティアと一致していることに注意してください。
カテゴリ | API | コンソール | フリープラン | サーバーレス | 専用 |
|---|---|---|---|---|---|
エイリアス | alterAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ |
createAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
dropAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
describeAlias() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
listAliases() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
認証 | createCredential() | ✔︎ | ✘ | ✘ | ✔︎ |
deleteCredential() | ✔︎ | ✘ | ✘ | ✔︎ | |
listCredUsers() | ✔︎ | ✘ | ✘ | ✔︎ | |
updateCredential() | ✔︎ | ✘ | ✘ | ✔︎ | |
一括挿入 | bulkInsert() | ✔︎ | ✘ | ✘ | ✘ |
getBulkInsertState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
listBulkInsertTasks() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
コレクション | getCollectionStatistics() | ✘ | ✔︎ | ✔︎ | ✔︎ |
createCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
describeCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
dropCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
alterCollection() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getLoadingProgress() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getPersistentSegmentInfo() | ✘ | ✘ | ✘ | ✘ | |
getQuerySegmentInfo() | ✘ | ✘ | ✘ | ✘ | |
getReplicas() | ✘ | ✘ | ✘ | ✘ | |
insert() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
loadCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
releaseCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
showCollections() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getLoadState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
renameCollection() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
upsert() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
データベース | ListDatabases | ✔︎ | ✘ | ✘ | ✔︎ |
DropDatabase | ✔︎ | ✘ | ✘ | ✔︎ | |
CreateDatabase | ✔︎ | ✘ | ✘ | ✔︎ | |
インデックス | createIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
describeIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
dropIndex() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getIndexBuildProgress() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
getIndexState() | ✔︎ | ✔︎ | ✔︎ | ✔︎ | |
管理 | getCompactionState() | ✘ | ✔︎ | ✔︎ | ✔︎ |
getCompactionStateWithPlan() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getFlushState() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getMetrics() | ✘ | ✘ | ✘ | ✘ | |
loadBalance() | ✘ | ✘ | ✘ | ✘ | |
manualCompact() | ✘ | ✘ | ✘ | ✔︎ | |
パーティション | createPartition() | ✘ | ✔︎ | ✔︎ | ✔︎ |
dropPartition() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
getPartitionStatistics() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
hasPartition() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
loadPartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
releasePartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
showPartitions() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
検索 & クエリ | search() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
query() | ✘ | ✔︎ | ✔︎ | ✔︎ | |
ロールベースアクセス制御 (RBAC) | addUserToRole() | ✔︎ | ✘ | ✘ | ✔︎ |
createRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
dropRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
grantRolePrivilege() | ✘ | ✘ | ✘ | ✘ | |
removeUserFromRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
revokeRolePrivilege() | ✘ | ✘ | ✘ | ✘ | |
selectGrantForRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
selectGrantForRoleAndObject() | ✘ | ✘ | ✘ | ✔︎ | |
selectRole() | ✔︎ | ✘ | ✘ | ✔︎ | |
selectUser() | ✔︎ | ✘ | ✘ | ✔︎ | |
grantPrivilegeV2() | ✔︎ | ✘ | ✘ | ✔︎ | |
revokePrivilegeV2 | ✔︎ | ✘ | ✘ | ✔︎ | |
システム | getVersion() | ✔︎ | ✔︎ | ✔︎ | ✔︎ |
checkHealth() | ✘ | ✔︎ | ✔︎ | ✔︎ |