使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
涡轮模式
本页介绍了为 Cortex Framework Data Foundation 部署启用 Turbo 模式的可选步骤。在 config.json
文件中设置数据流水线时,请考虑 Google Cloud Cortex Framework 提供的以下两种部署模式。
标准模式 (turboMode=false
):
如果您仍在调整数据源,或者怀疑视图和实际数据表之间可能存在不一致的情况,建议您选择此选项。在此模式下,部署流程会尝试创建配置中定义的所有视图,即使某些视图存在错误也是如此。这可能需要更长时间,但有助于在一次运行中找出所有潜在问题(视图和表之间的不匹配)。
增强型模式 (turboMode=true
):
此模式适用于在正确完成数据源配置后更快地进行部署。部署流程会动态生成一个 cloudbuild.views.yaml
文件,其中包含正确依赖项文件(例如 dependencies_ecc.txt
或 dependencies_s4.txt
)中的每个视图,作为构建的单个步骤。这可以显著缩短部署时间(最多可缩短 10 倍)。不过,缺点是,如果部署期间任何视图出现错误,整个流程都会停止。这可能不适合调试用途,因为您可能需要重新运行部署才能确定具体错误。
建议您在初始设置或问题排查时选择“标准”,以后再选择“Turbo”以加快部署速度。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2025-08-18。
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-08-18。"],[[["\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."]]