摘要表格結構描述參考
每個摘要在Adobe Commerce資料庫中都有一個專用的MySQL資料表。 所有摘要表格會共用相同的欄結構。 下表列出每個摘要及其CLI摘要名稱、索引器ID和摘要表格名稱。
支援的摘要
實際的摘要清單取決於已安裝的SaaS Data Export封裝。
摘要(
--feed)用途
索引子ID
摘要表格
匯出模式
products產品目錄(屬性、類別、影像等)
catalog_data_exporter_productscde_products_feed立即
productAttributes屬性定義和中繼資料。 用於定義搜尋結構描述。
catalog_data_exporter_product_attributescde_product_attributes_feed立即
categories類別資料
catalog_data_exporter_categoriescde_categories_feed立即
prices產品價格與客戶群組價格及層級價格
catalog_data_exporter_product_pricescde_product_prices_feed立即
variants可設定的產品變體
catalog_data_exporter_product_variantscde_product_variants_feed立即
scopesWebsite具有商店檢視代碼的網站
scopes_website_data_exporterscopes_website_data_exporter舊版
scopesCustomerGroup客戶群組定義
scopes_customergroup_data_exporterscopes_customergroup_data_exporter舊版
productOverrides計算出的產品許可權
catalog_data_exporter_product_overridescde_product_overrides_feed立即
categoryPermissions (EE)原始類別許可權資料
catalog_data_exporter_category_permissionscde_category_permissions_feed立即
orders銷售訂單狀態
sales_order_data_exporter_v2sales_data_exporter_orders_v2舊版
匯出模式資料行指出每個摘要收集和提交資料的方式:
- 立即模式摘要 — 收集資料、使用內容雜湊略過未變更的專案(雜湊重複資料刪除),並在相同的索引器執行中送出更新。
- 舊版模式摘要 (
scopesWebsite,scopesCustomerGroup,orders) — 請先將組合資料儲存在摘要資料表中,然後透過個別的cron工作送出。
請參閱同步處理模式。
結構描述
欄
型別
說明
id整數(PK)
自動增加主索引鍵
source_entity_idINT
來自Commerce來源表格的實體ID (例如,
catalog_product_entity.entity_id)feed_idVARCHAR
摘要專案的唯一識別碼。 計算為專案識別欄位的雜湊(例如,
sku + storeViewCode),而不是自動增加值。feed_dataJSON
此專案的摘要裝載。 僅填入實體識別碼和範圍的最小資訊。 設定
PERSIST_EXPORTED_FEED=1時,會儲存完整裝載。feed_hashVARCHAR
用於變更偵測的內容雜湊。 從承載中計算,排除時間戳記(
modifiedAt, updatedAt)。 如果雜湊符合前一個匯出,則不會重新提交專案。is_deletedTINYINT
軟刪除標籤。 在Commerce中刪除實體時,設為
1。modified_at時間戳記
上次修改此摘要專案的時間
errors文字
SaaS服務針對此專案傳回的JSON編碼錯誤詳細資料
metadataJSON
匯出框架使用的內部同步標幟和鎖定中繼資料資訊
常見診斷查詢
使用下列SQL查詢直接檢查摘要表格狀態。 將cde_products_feed取代為您正在調查的摘要的表格。 如需資料表名稱的完整清單,請參閱支援的摘要。
尋找所有尚未成功匯出的專案:
SELECT source_entity_id, status, errors, modified_at
FROM cde_products_feed
WHERE status != 200
ORDER BY modified_at DESC
LIMIT 50;
檢查所有領域之特定SKU的匯出狀態:
SELECT p.sku, f.status, f.modified_at, f.is_deleted, f.feed_data, f.errors
FROM catalog_product_entity p
LEFT JOIN cde_products_feed f ON f.source_entity_id = p.entity_id
WHERE p.sku = 'ADB295';
recommendation-more-help
commerce-help-data-export