Tables 資料表中的欄位
在上一篇部落格中,我們提到如何使用 MySQL 或 SQLite 檢視元資料。這篇文章主要是詳細介紹 metadata 表中的欄位。
Tables
資料表中的欄位
以 SQLite 為例。以下結果來自 0.5.0。有些欄位是 0.6.0 加入的,稍後會介紹。在Tables
中有一行指定了一個 512 維向量表,其名稱為 <codetable_1 。表建立時,index_file_size
是 1024 MB,engine_type
是 1 (FLAT),nlist
是 16384,metric_type
是 1 (歐氏距離 L2)。id 是表的唯一識別碼。state
是表的狀態,0 表示正常狀態。created_on
是建立時間。flag
是保留給內部使用的標誌。
1-image-1.png
下表顯示Tables
的欄位類型和說明。
2-field-types-descriptions-milvus-metadata.png
0.6.0 中啟用了表分割,並新增了一些欄位,包括owner_table
,partition_tag
和version
。一個向量表table_1
,有一個分區叫table_1_p1
,也是一個向量表。partition_name
對應於table_id
。分區表的欄位繼承自owner table
,所有者表欄位指定所有者表的名稱,而partition_tag
欄位指定分區的標籤。
3-image-2.png
下表顯示 0.6.0 中的新欄位:
4-new-fields-milvus-0.6.0.png
TableFiles 表中的欄位
下面的範例包含兩個檔案,都屬於table_1
向量表。第一個檔案的索引類型 (engine_type
) 是 1 (FLAT);檔案狀態 (file_type
) 是 7 (原始檔案的備份);file_size
是 411200113 位元組;向量行數是 200,000。第二個檔案的索引類型是 2 (IVFLAT);檔案狀態是 3 (索引檔案)。第二個檔案實際上是第一個檔案的索引。我們會在接下來的文章中介紹更多資訊。
5-image-3.png
下表顯示TableFiles
的欄位和說明:
6-field-types-descriptions-tablefile.png
接下來的內容
接下來的文章將會告訴你如何在 Milvus 中使用 SQLite 來管理 metadata。敬請期待!
如果您有任何問題,歡迎加入我們的Slack 頻道或在 repo 中提出問題。
GitHub 倉庫: https://github.com/milvus-io/milvus
- TableFiles 表中的欄位
- 接下來的內容
On This Page
Try Managed Milvus for Free
Zilliz Cloud is hassle-free, powered by Milvus and 10x faster.
Get StartedLike the article? Spread the word