透過集合功能整理內容
你可以依據偏好儲存及分類內容。
Turbo 模式
本頁面說明如何選擇性啟用 Cortex Framework Data Foundation 部署作業的 Turbo 模式。在 config.json
檔案中設定資料管道時,Google Cloud Cortex Framework 提供下列兩種部署模式可供選擇。
標準模式 (turboMode=false
):
如果您仍在調整資料來源,或懷疑檢視區和實際資料表之間可能不一致,建議使用這個選項。在這個模式下,部署程序會嘗試在設定中建立所有已定義的檢視區塊,即使部分檢視區塊發生錯誤也一樣。這可能需要較長時間,但有助於在單次執行中找出所有潛在問題 (檢視區塊和資料表之間的不符)。
Turbo 模式 (turboMode=true
):
正確設定資料來源後,即可使用這個模式加快部署速度。部署程序會動態產生 cloudbuild.views.yaml
檔案,其中包含正確依附元件檔案 (例如 dependencies_ecc.txt
或 dependencies_s4.txt
) 中的每個檢視區塊,做為建構作業的單一步驟。這可大幅加快部署速度 (最多可快 10 倍)。但缺點是,如果部署期間任何檢視區塊發生錯誤,整個程序就會停止。這可能不適合用於偵錯,因為您可能需要重新執行部署作業,才能找出特定錯誤。
建議您在初始設定或疑難排解時選擇「標準」,之後再選擇「Turbo」加快部署速度。
除非另有註明,否則本頁面中的內容是採用創用 CC 姓名標示 4.0 授權,程式碼範例則為阿帕契 2.0 授權。詳情請參閱《Google Developers 網站政策》。Java 是 Oracle 和/或其關聯企業的註冊商標。
上次更新時間:2025-07-14 (世界標準時間)。
[[["容易理解","easyToUnderstand","thumb-up"],["確實解決了我的問題","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["難以理解","hardToUnderstand","thumb-down"],["資訊或程式碼範例有誤","incorrectInformationOrSampleCode","thumb-down"],["缺少我需要的資訊/範例","missingTheInformationSamplesINeed","thumb-down"],["翻譯問題","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["上次更新時間:2025-07-14 (世界標準時間)。"],[[["Turbo Mode is an optional setting within the Cortex Framework Data Foundation deployment that offers faster deployment speeds."],["Standard Mode (`turboMode=false`) is designed for initial setup and troubleshooting, allowing the identification of errors in multiple views during a single deployment run."],["Turbo Mode (`turboMode=true`) is optimized for quicker deployments after the data source configuration is finalized, generating dependency files on-the-fly."],["While Turbo Mode greatly increases deployment speed, an error in any view will halt the entire process, making Standard Mode better for debugging."],["The recommendation is to use Standard Mode initially and switch to Turbo Mode once the data source is correctly configured."]]],[]]