透過集合功能整理內容
你可以依據偏好儲存及分類內容。
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-09-04 (世界標準時間)。
[[["容易理解","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-09-04 (世界標準時間)。"],[[["\u003cp\u003eTurbo Mode is an optional setting within the Cortex Framework Data Foundation deployment that offers faster deployment speeds.\u003c/p\u003e\n"],["\u003cp\u003eStandard Mode (\u003ccode\u003eturboMode=false\u003c/code\u003e) is designed for initial setup and troubleshooting, allowing the identification of errors in multiple views during a single deployment run.\u003c/p\u003e\n"],["\u003cp\u003eTurbo Mode (\u003ccode\u003eturboMode=true\u003c/code\u003e) is optimized for quicker deployments after the data source configuration is finalized, generating dependency files on-the-fly.\u003c/p\u003e\n"],["\u003cp\u003eWhile Turbo Mode greatly increases deployment speed, an error in any view will halt the entire process, making Standard Mode better for debugging.\u003c/p\u003e\n"],["\u003cp\u003eThe recommendation is to use Standard Mode initially and switch to Turbo Mode once the data source is correctly configured.\u003c/p\u003e\n"]]],[],null,["# Turbo mode\n==========\n\nThis page describes an optional step to enable the Turbo Mode for\nthe Cortex Framework Data Foundation deployment. Google Cloud Cortex Framework offers the following two\ndeployment modes to consider when setting up your\ndata pipelines in the [`config.json`](https://github.com/GoogleCloudPlatform/cortex-data-foundation/blob/main/config/config.json) file.\n\n1. **Standard Mode (`turboMode=false`)**:\n\n This option is recommended if you are\n still making adjustments to your data source or suspect there might be\n mismatches between your views and the actual data tables. In this mode, the\n deployment process attempts to create all the defined views in your\n configuration, even if there are errors in some views. This might take longer,\n but it helps identify all potential issues (mismatches between views and tables)\n in a single run.\n2. **Turbo Mode (`turboMode=true`)**:\n\n This mode is for faster deployments once your\n data source configuration is done correctly. The deployment process\n dynamically generates a `cloudbuild.views.yaml` file with each view in the\n right dependencies file (for example, `dependencies_ecc.txt` or `dependencies_s4.txt`)\n as a single step of the build. This can significantly speed up\n deployment times (up to 10 times faster).\n However, the downside is that if there's an error in any view during deployment,\n the entire process stops. This might not be ideal for debugging purposes\n as you might need to rerun the deployment to identify the specific error.\n\nThe suggestion is to choose \"Standard\" for initial setup or troubleshooting, and\n\"Turbo\" for faster deployments later."]]