---
schema_version: "1"
id: 39c3d24232eeffbde7a258a23dc91da4cd728c240fca7f0ee391098786be3452
title: Tableau Prep Flow Authoring
collection: tableau
version: next
locale: zh-cn
portal_url: https://docs.salesforce.com/tableau/next/zh-cn/server-linux/server_process_prep_flow_authoring.md
canonical_url: https://help.tableau.com/v0.0/server-linux/zh-cn/server_process_prep_flow_authoring.htm
source_site: help.tableau.com
content_type: documentation
content_hash: 5281d07ae416a4ce126bc064ef53b8c8b015a6247f59199d8a6626f43566e3aa
description: Understand the Tableau Prep Flow Authoring process for web flow creation.
---
[跳转到主要内容](#main-content)

# Tableau Prep Flow Authoring

Tableau Prep Flow Authoring 进程在浏览器中提供交互式 Prep 流程体验，允许用户在 Tableau Server 上创建流程并与之交互，以清理和准备数据。有关详细信息，请参见[在 Web 上创建流程并与其进行交互](https://help.tableau.com/v0.0/server-linux/zh-cn/web_author_flows.htm)。它已添加版本 2020.4 中。

<table style="width: 100%;mc-table-style: url('Resources/TableStyles/Basic-Border.css');" class="TableStyle-Basic-Border" cellspacing="0"><colgroup><col class="TableStyle-Basic-Border-Column-Column1"><col class="TableStyle-Basic-Border-Column-Column1"></colgroup><tbody><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>进程</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1"><p>Tableau Prep Flow Authoring </p></td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyE-Column1-Body1"><strong>状态</strong></td><td class="TableStyle-Basic-Border-BodyD-Column1-Body1">可在“状态”页面上查看Tableau Prep Flow Authoring 进程的状态。有关详细信息，请参见<a href="https://help.tableau.com/v0.0/server-linux/zh-cn/service_viewstatus.htm" class="xref">查看服务器进程状态</a>。</td></tr><tr class="TableStyle-Basic-Border-Body-Body1"><td class="TableStyle-Basic-Border-BodyB-Column1-Body1"><strong>日志记录</strong></td><td class="TableStyle-Basic-Border-BodyA-Column1-Body1">Tableau Prep Flow Authoring 进程生成的日志位于 <code><code>/var/opt/tableau/tableau_server/data/tabsvc/logs/</code>floweditor</code> 中。有关详细信息，请参见<a href="https://help.tableau.com/v0.0/server-linux/zh-cn/logs_loc.htm" class="xref">Tableau Server 日志和日志文件位置</a>。</td></tr></tbody></table>

默认情况下已启用 Tableau Prep Flow Authoring。它使用以下组件：

- **Tableau Prep 流程服务**：由 Tableau Prep Flow Authoring 用于查询数据源。默认情况下，它会在启用了 Tableau Prep Flow Authoring 的节点上自动启用。
- **数据引擎：**数据引擎创建数据提取并处理查询。默认情况下，它会在启用了 Tableau Prep Flow Authoring 的节点上自动启用。
- **网关**：网关进程处理从浏览器、Tableau Desktop 和其他客户端发往 Tableau Server 的所有请求。默认情况下，它会在启用了 Tableau Prep Flow Authoring 的节点上自动启用。

## 性能和规模建议

Tableau Prep Flow Authoring 可能会占用大量 CPU 和 RAM。建议通过将流程制作隔离到单独的节点或添加服务器资源来监视服务器并根据需要调整部署。

### 将流程制作隔离到单独的节点

在单独的节点上运行 Tableau Prep Flow Authoring 将隔离流程制作工作流与其他 Tableau 工作负载。如果您有一个具有许多数据提取刷新以及大量进可视化项编辑和查看的繁忙服务器，并且不想对此工作负荷造成中断，则建议将 Prep Flow Authoring 隔离到其自己的服务器节点。这意味着所有流程编辑都将定向到专用节点。有关详细信息，请参见[配置节点](https://help.tableau.com/v0.0/server-linux/zh-cn/config_nodes.htm)。

**注意：**Prep Web 制作使用共享服务，例如应用程序服务器 (VizPortal)、PostgreSQL 存储库、缓存服务器和 Hyper。如果这些服务已满负荷运行，由于额外的 Prep Web 制作负载，它们可能还需要额外的资源。为了使 Prep Web 制作正常工作，缓存服务器必须在其设置的最小编号节点上运行。举例来说，如果在节点 2、3 和 4 上配置了缓存服务器，但节点 2 上的缓存服务器已关闭，则 Prep Web 制作将无法运行。有关详细信息，请参见知识库中的[缓存服务器未在编号最小的节点中运行](https://help.salesforce.com/s/articleView?id=003962421&type=1)。

如果在多节点群集上运行 Tableau Server，则可以将一个或多个节点专用于来运行后台程序。使用后台程序进程，您可以将后台工作负载（例如 Tableau Prep Conductor）与所有交互式工作负载（例如 Prep Flow Authoring 和 VizQL Server）隔离。有关详细信息，请参见[通过节点角色管理工作负载](https://help.tableau.com/v0.0/server-linux/zh-cn/server_node_roles.htm)和[Tableau Server 后台程序进程](https://help.tableau.com/v0.0/server-linux/zh-cn/server_process_backgrounder.htm)。

对于核心和基于用户的部署，强烈建议至少有一个节点专用于流程以获得最佳性能。虽然您可以在任何获得许可的 Server 核心上运行流程，但购买的额外资源核心应该只运行 Tableau Prep Conductor，而不是数据提取刷新或 VizQL 进程。

### 添加资源

当您需要更多资源时，可以向服务器环境中添加更多节点。规划节点时，有几个因素会影响您有关需要分配多少额外硬件的决策。

 规划节点时要考虑的主要问题包括：

- 高峰时段期望的并发用户数或并发会话数。可以使用 TSM 选项 `maestro.sessionmanagement.maxConcurrentSessionPerUser` 设置的每个用户的并发会话数。有关详细信息，请参见[tsm configuration set 选项](https://help.tableau.com/v0.0/server-linux/zh-cn/cli_configuration-set_tsm.htm)。
- 流程的平均数据输入节点数及其拥有的数据量。可以使用 TSM 选项 `maestro.app_settings.sampling_max_row_limit` 设置的最大行采样限制。有关详细信息，请参见[tsm configuration set 选项](https://help.tableau.com/v0.0/server-linux/zh-cn/cli_configuration-set_tsm.htm)。
- 正在制作的流程的复杂性以及节点数。像联接、并集、聚合和转置这样的节点类型通常需要更多的资源。

### 许可附加产品

配置节点需要额外的 Data Management 和 Advanced Management 许可证加载项。

<table style="width: 100%;"><colgroup><col style="width: 206px;"><col></colgroup><thead><tr><th>产品</th><th>允许您：</th></tr></thead><tbody><tr><td><span class="mc-variable Variables.DM_sku variable">Data Management</span></td><td><p>将节点配置为仅运行流程，或将节点配置为运行除流程之外的所有作业。Tableau Prep Conductor 必须在节点上运行。</p><p><span class="mc-variable Variables.DM_sku variable">Data Management</span> 许可证包括 Tableau Prep Conductor，可让您计划和跟踪流程。该许可证适用于单个 Tableau Server 部署，它可以基于角色或基于核心。</p><p>作为 Creator，无需 <span class="mc-variable Variables.DM_sku variable">Data Management</span> 也可以直接在服务器上创建和编辑流程。</p></td></tr><tr><td><span class="mc-variable Variables.ITM_name variable">Advanced Management</span></td><td>配置通过节点规则处理不同类型工作负载的位置。例如，您可以在一个节点上运行流程，在另一个节点上运行订阅和通知。</td></tr></tbody></table>

## 拓扑和配置

若要使 Tableau Prep Flow Authoring 具备高可用性，请在启用时在节点上配置两个 Tableau Prep Flow Authoring 实例。

以下是两节点配置的示例：

![两节点配置的示例](/tableau/next/zh-cn/server-linux/zh-cn/Img/prep_flow_authoring_config2.png)

以下是两节点配置的状态页面的示例：

![两节点配置的状态的示例](/tableau/next/zh-cn/server-linux/zh-cn/Img/prep_flow_authoring_status2.png)

以下是四节点配置的示例：

![两节点配置的示例](/tableau/next/zh-cn/server-linux/zh-cn/Img/prep_flow_authoring_config4.png)

以下是四节点配置的状态页面的示例：

![两节点配置的状态的示例](/tableau/next/zh-cn/server-linux/zh-cn/Img/prep_flow_authoring_status4.png)