管理 Power BI Premium 和 Power BI Embedded 中的容量Manage capacities within Power BI Premium and Power BI Embedded

了解如何管理为内容提供专用资源的 Power BI Premium 和 Power BI Embedded 容量。Learn how you can manage Power BI Premium and Power BI Embedded capacities which provides dedicated resources for your content.

Power BI 容量设置屏幕

容量是 Power BI Premium 和 Power BI Embedded 产品/服务的重中之重。Capacity is the heard of the Power BI Premium and Power BI Embedded offerings.

什么是容量?What is capacity?

容量是保留以供专门使用的资源集。Capacity is the set of resources reserved for the exclusive use by you. 拥有容量后,可向整个组织内的用户发布仪表板、报表和数据集,而无需为他们购买许可证。Having capacity allows you to publish dashboards, reports, and datasets to users throughout your organization without having to purchase licenses for them. 还可保证容量中的内容具有稳定可靠的性能。It also guarantees dependable, consistent performance for the contents hosted in capacity.

容量对最终用户完全透明。Capacity is all transparent to your end users. 用户将继续照常使用 Power BI 或应用程序。They will continue to use Power BI or your application as usual. 无需知道部分(或全部)内容托管在专用容量中。They don't have to be aware that some (or all) of the content is hosted in your dedicated capacity. 对于用户而言,一切都完全像以前那样运行。For your users, everything works exactly as before.

  1. Premium 容量中的项Items within a Premium capacity

    • 访问应用工作区(以成员或管理员身份)和发布应用都需要使用 Power BI Pro 许可证。Accessing app workspaces (as members or admins) and publishing apps requires a Power BI Pro license.
    • 应用读者可以是 Power BI Pro 用户或免费用户。App readers can be Power BI Pro or free users.
    • 共享需要 Power BI Pro 许可证,但接收人可以是 Power BI Pro 用户或免费用户。Sharing requires a Power BI Pro license but recipients can be Power BI Pro or free users.
    • 不管使用的是 Power BI Pro 许可证还是免费许可证,仪表板接收者都可以设置数据警报。Whether they have a Power BI Pro or free license, dashboard recipients can set data alerts.
    • 用于嵌入的 REST API 利用具有 Power BI Pro 许可证的服务帐户,而不是用户的服务帐户。REST APIs for embedding utilize a service account, with a Power BI Pro license, rather than a user.
  2. 共享容量中的我的工作区My workspace in Shared capacity

    • 共享需要 Pro 许可证。Sharing requires a Pro license. 接收人也需要 Pro 许可证。Recipients also need Pro licenses.
  3. 共享容量中的应用工作区App workspaces in Shared capacity

    • 任何应用使用都需要 Pro 许可证。Any app usage requires Pro licenses.

有关详细信息,请参阅什么是 Power BI Premium?For more information, see What is Power BI Premium?.

购买容量Purchase capacity

若要利用专用容量,需要在 Office 365 管理中心内为 Power BI Premium 购买订阅,或在 Microsoft Azure 门户中创建 Power BI Embedded 资源。To take advantage of dedicated capacity, you will need to purchase a subscription for Power BI Premium within the Office 365 admin center or create a Power BI Embedded resource within the Microsoft Azure portal. 有关详细信息,请参阅以下内容:For more information, see the following:

在购买 Power BI Premium SKU 后,租户将收到相应数量的 V 核心,用于运行容量。When you purchase Power BI Premium SKUs, your tenant will receive the corresponding number of v-cores for use in running capacities. 例如,购买 Power BI Premium P3 SKU 会为租户提供 32 个 V 核心。For example, purchasing a Power BI Premium P3 SKU provides the tenant with 32 v-cores.

容量管理员Capacity admins

备注

在 Microsoft Azure 门户中定义 Power BI Embedded 容量的容量管理员。Capacity admins, for Power BI Embedded capacity, are defined within the Microsoft Azure portal.

被指定为容量的容量管理员时,可以完全控制容量及其管理功能。When you are assigned as a capacity admin to a capacity, you have full control over the capacity and its administrative features. 可以从 Power BI 管理门户添加更多的容量管理员(仅限 Power BI Premium)或为用户授予容量分配权限。From the Power BI admin portal, you can add more capacity admins (Power BI Premium only) or give users capacity assignment permissions. 可以为容量批量分配工作区,还可以查看容量的使用情况指标。You can bulk assign workspaces to a capacity and view usage metrics on a capacity.

每个容量都有自己的管理员。Each capacity has its own admins. 定义一个容量的容量管理员并不意味着授予他们访问你组织中所有容量的权限。Defining a capacity admin to one capacity does not give them access to all capacities within your organization. 默认情况下,容量管理员无权访问 Power BI 管理员权限范围内的所有内容,如使用情况指标、审核日志或租户设置。Capacity admins do not have access to all Power BI admin areas by default such as usage metrics, audit logs or tenant settings. 同样,容量管理员也无权设置新的容量或更改现有容量的 SKU。Capacities admins also do not have permissions to set up new capacities or change the SKU of existing capacities. 只有全局管理员或 Power BI 服务管理员有权访问这些项。Only Global admins or Power BI service administrators have access to those items.

所有 Office 365 全局管理员和 Power BI 管理员都会自动成为 Power BI Premium 容量和 Power BI Embedded 容量的容量管理员。All Office 365 Global admins and Power BI admins are automatically capacity admins of both Power BI Premium capacity and Power BI Embedded capacity.

管理容量Managing capacity

在 Office 365 中购买容量节点后,需要设置新容量。After you have purchased capacity nodes within Office 365, you will then need to set up a new capacity. 此操作通过 Power BI 管理门户完成。This is done through the Power BI admin portal. 在管理门户中,将看到“容量设置”部分。Within the admin portal, you will see a section called Capacity settings. 你将在此为组织管理 Power BI 高级容量。This is where you will manage Power BI Premium capacities for your organization.

管理门户中的“容量设置”

对 Power BI Premium 而言,选择“容量设置”将默认转到容量管理屏幕。Selecting Capacity settings will take you to the capacity management screen defaulting to Power BI Premium.

设置新容量 (Power BI Premium)Setting up a new capacity (Power BI Premium)

V 核心数将反映使用量以及可用于创建容量的数量。The number of v-cores will reflect the amount used and the amount available to create capacities with. 可供组织使用的 V 核心数量取决于所购买的 高级 SKU。The amount of v-cores available to your organization is based on the Premium SKUs that you have purchased. 例如,购买 P3 和 P2 将获得 48 个可用核心,其中 32 个核心来自 P3,16 个核心来自 P2。For example, purchasing a P3 and a P2 would result in 48 available cores – 32 from the P3 and 16 from the P2.

Power BI Premium 已用和可用的 V 核心

如果有可用的 V 核心,可通过执行以下操作设置新容量。If you have available v-cores, setup your new capacity by doing the following.

  1. 选择“设置新容量”。Select Set up new capacity.
  2. 为容量命名。Give your capacity a name.
  3. 定义此容量的容量管理员。Define who the capacity admin is for this capacity.

    容量管理员不需要是 Power BI 管理员或 Office 365 全局管理员。有关详细信息,请参阅 Power BI 高级容量管理员Capacity admins do not have to be a Power BI admin or an Office 365 Global admin. For more information, see Power BI Premium capacity admins

  4. 选择容量大小。Select your capacity size. 可用选项取决于拥有的可用 V 核心数。Available options are dependent on how many available v-cores you have. 无法选择大于拥有的可用核心数的选项。You can't select an option that is larger than what you have available.

    可用的高级容量大小

  5. 选择“设置”。Select Set up.

设置新的容量

容量管理员以及 Power BI 管理员和 Office 365 全局管理员随后将看到该容量在管理门户中列出。Capacity admins, as well as Power BI admins and Office 365 Global Admins, will then see the capacity listed within the admin portal.

容量设置Capacity settings

在高级容量管理屏幕中,可以在操作中选择“齿轮图标(设置)”。Within the Premium capacity management screen, you can select the gear icon (settings) under actions. 可通过它重命名或删除容量。This will allow you to rename or delete a capacity. 它还将显示服务管理员名单、容量的SKU/大小以及该容量所在的区域。It will also indicate who the service admins are, the SKU/size of the capacity and what region the capacity is in.

容量管理区域中的容量操作

容量设置

Power BI Premium 容量设置的“删除”和“应用”按钮

备注

在 Microsoft Azure 门户中管理 Power BI Embedded 容量设置。Power BI Embedded capacity settings are managed within the Microsoft Azure portal.

更改容量大小 (Power BI Premium)Change capacity size (Power BI Premium)

Power BI 管理员和 Office 365 全局管理员通过选择“更改容量大小”来更改 Power BI Premium 容量大小。Power BI admins and Office 365 Global admins change Power BI Premium capacity size by selecting Change capacity size. 如果容量管理员不是 Power BI 管理员或 Office 365 全局管理员,将无法使用此选项。Capacity admins who are not a Power BI admin or Office 365 Global admin will not have this option.

更改 Power BI Premium 容量大小

通过“更改容量大小”屏幕,可以升级或降级容量大小(如果有可用的资源)。The Change capacity size screen lets you upgrade or downgrade your capacity size if you have the available resources. 只要管理员具有必需的 V 核心数,他们就可以创建节点、调整节点大小和删除节点。Administrators are free to create, resize and delete nodes, so long as they have the requisite number of v-cores.

无法将 P SKU 降级至 EM SKU。P SKUs cannot be down graded to EM SKUs. 可以将鼠标悬停在提供说明的禁用选项上。You can hover over disabled options which provide an explanation.

“更改 Power BI Premium 容量大小”下拉列表

容量分配Capacity assignment

可以通过选择一个容量名称来管理该容量。You can manage a capacity by selecting the name of the capacity. 此操作将使你转到容量管理屏幕。This will take you to the capacity management screen.

选择容量名称以转到容量分配屏幕

如果没有给该容量分配工作区,将看到一条允许“分配工作区”的消息。If no workspaces have been assigned to the capacity, you will see a message allowing you to Assign workspaces.

用户权限User permissions

可以为 Power BI Premium 容量分配其他容量管理员。You can assign additional Capacity admins for Power BI Premium capacities. 还可以分配将拥有容量分配权限的用户。As well as assign users that will have capacity assignment permissions. 如果具有分配权限的用户是某个应用工作区的管理员,那么他们可以将该工作区分配给容量。Users that have assignment permissions can assign an app workspace to the capacity if they are an admin of that workspace. 还可以将个人的“我的工作区”分配给容量。They can also assign their personal My Workspace to the capacity. 具有分配权限的用户不能访问管理门户。Users with assignment permissions will not have access to the admin portal.

备注

对于 Power BI Embedded 容量,在 Microsoft Azure 门户中分配容量管理员。For Power BI Embedded capacity, capacity admins are assigned within the Microsoft Azure portal.

使用情况度量 (Power BI Premium)Usage measurements (Power BI Premium)

对于每个容量,你都能使用 CPU、内存和直接查询的使用情况度量。For each capacity, you will be able to use usage measurements for CPU, memory and Direct Query. 每个 KPI 都具有三个指标,“良好(绿色)”“饱和(黄色)”“严重(红色)”Each KPI has three indications, Good (green), Marginal (yellow) and Critical (red). 我们建议监测这些指标,确保用户在使用高级内容时保持良好的性能。We suggest monitoring these metrics to ensure that your users see good performance while using Premium content.

在 Azure 门户中监视 Power BI Embedded 容量的使用情况。Power BI Embedded capacity usage is monitored within the Azure portal.

指标Metric 说明Description
CPUCPU 核心的 CPU 使用情况。CPU usage of your cores.
内存Memory 表示后端核心的内存压力。Represents the memory pressure of your backend cores. 具体而言,这一指标指示因使用多个模型产生的内存压力,而从内存清除模型的频率。Specifically, this is a metric of how often models are evicted from memory due to memory pressure from usage of multiple models.
DQ/秒DQ/s * 我们限制 DirectQuery 的总数和每秒实时连接查询数。* We limit the total number of DirectQuery and live connection queries per second.
* 限制如下:P1、P2、P3 分别为 30/s、60/s 和 120/s。* The limits are 30/s for P1, 60/s for P2 and 120/s for P3.
* DirectQuery 和实时连接查询和上述限制同样重要。* DirectQuery and live connection queries count equally to the above throttle. 例如,如果一秒内有 15 个 DirectQueries 和 15 次实时连接,则达到限制。For example, if you have 15 DirectQueries and 15 live connections in a second, you hit your throttle.
* 这同样适用于本地连接和云连接。* This applies equally to on-premises and cloud connections.

这些指标达到饱和/严重时,你的用户可能会发现报表和刷新性能下降,尤其在负载峰值期间。When these metrics are marginal/critical, your users may see degradation of report and refresh performance, especially during peak load times.

指标反映过去一周的使用情况,在容量过载时对实例计数,因此向用户提供的性能可能不太理想。Metrics reflect utilization over the past week, and are designed to count instances when the capacity is overloaded, and is therefore providing less-than-optimal performance for your users.

“使用率超过 80%”中的每一项都应被视为性能下降的潜在事例。Each occurrence of utilization over 80% should be considered a potential case of performance degradation. 事例过多是能够较好预示用户重大性能问题的一个指标。Too many cases is a good indicator of significant performance problems for users.

将工作区分配到容量Assign a workspace to a capacity

有几种方式可以将工作区分配到容量。There are a few ways that a workspace could be assigned to a capacity.

管理门户中的容量管理Capacity management in admin portal

容量管理员以及 Power BI 管理员和 Office 365 全局管理员,可以在管理门户中的高级容量管理部分批量分配工作区。Capacity admins, along with Power BI admins and Office 365 global admins, can bulk assign workspaces within the premium capacity management section of the admin portal. 管理一个容量时,将看到“工作区”部分,可在此进行工作区分配。When you manage a capacity, you will see a Workspaces section that allows you to assign workspaces.

容量管理的工作区分配区域

  1. 选择“分配工作区”。Select Assign workspaces. 这列在多个位置,并执行相同的任务。This is listed in multiple places and will all perform the same task.
  2. 选择“整个组织的工作区”或“按用户分配的特定工作区”。Select either The entire organization's workspaces or Specific workspaces by user.

    所选内容Selection 说明Description
    整个组织的工作区The entire organization's workspaces 将整个组织的工作区分配到高级容量,会把组织中的所有“应用工作区”和“我的工作区”分配到这个高级容量。Assigning the entire organization's workspaces to Premium capacity will assign all App Workspaces and My Workspaces, in your organization, to this Premium capacity. 此外,当前和未来的所有用户都将有权向此容量重新分配个别工作区。In addition, all current and future users will have the permission to reassign individual workspaces to this capacity.
    按用户分配的特定工作区Specific workspaces by user 按用户或按组分配工作区时,这些用户拥有的所有工作区都将被分配到高级容量,包括用户的个人工作区。When you assign workspaces by user, or group, all the workspaces owned by those users are assigned to Premium capacity, including the user's personal workspace. 所述的用户自动获得工作区分配权限。Said users automatically get workspace assignment permissions.
    包括已分配到不同容量的工作区。This includes workspaces already assigned to a different capacity.
  3. 选择应用Select Apply.

此选项不允许向容量分配特定工作区。This option does not allow you to assign specific workspaces to a capacity.

应用工作区设置App workspace settings

还可以从某个应用工作区的设置中将该应用工作区分配到高级容量。You can also assign an app workspace to a Premium capacity from the settings of that workspace. 若要为高级容量分配一个应用工作区,请执行以下操作。To assign an app workspace to a premium capacity, do the following.

若要将工作区移入容量,必须具备该工作区的管理员权限以及该容量的容量分配权限。To move a workspace into capacity, you must have admin permissions to that workspace, and also capacity assignment permissions to that capacity. 请注意,工作区管理员始终可以从高级容量中删除工作区。Notice that workspace admins can always remove a workspace from Premium capacity.

  1. 通过选择“省略号 (...)”和“编辑工作区”,编辑一个应用工作区。Edit an app workspace by selecting the ellipsis (...) and selecting Edit workspace.

    从省略号上下文菜单编辑工作区

  2. 在“编辑工作区”内,展开“高级”。Within Edit workspace, expand Advanced.
  3. 如果已获得对任何容量的容量分配权限,可以选择为这个工作区开启“高级”。If you have been given capacity assignment permissions to any capacity, you will have the option to turn Premium on for this workspace.
  4. 选择希望将此应用工作区分配到哪个容量。Select the capacity that you want to assign this App workspace to.

    容量选择下拉列表

  5. 选择保存Select Save.

保存后,工作区及其所有内容都会被迁移到高级容量,这不会影响最终用户的任何体验。Once saved, the workspace, and all its contents, will be moved into Premium capacity without any experience interruption for end users.

高级容量的用户体验What Premium looks like for users

大多数情况下,用户甚至不需要知道他们处于高级容量中。For the most part, users will not even need to know they are in a Premium capacity. 其仪表板和报表还会正常工作。Their dashboards and reports will just work. 作为一个可视化提示,你将看到高级容量中的工作区旁有一个的菱形图标。As a visual hint, you will see a diamond icon next to workspaces that are in a Premium capacity.

显示由高级容量支持的工作区的菱形

Power BI 报表服务器产品密钥Power BI Report Server product key)

在 Power BI 管理门户中的“容量设置”选项卡中,可以访问 Power BI 报表服务器产品密钥。Within the Capacity settings tab of the Power BI admin portal, you will have access to your Power BI Report Server product key. 这将仅适用于全局管理员或分配有 Power BI 服务管理员角色的用户,且前提是购买了 Power BI Premium SKU。This will only be available for Global Admins or users assigned the Power BI service administrator role and if you have purchase a Power BI Premium SKU.

容量设置中的 Power BI 报表服务器密钥

选择“Power BI 报表服务器密钥”将显示包含产品密钥的对话框。Selecting Power BI Report Server key will display a dialog contain your product key. 可以复制该密钥并用来进行安装。You can copy it and use it with the installation.

Power BI 报表服务器产品密钥

有关详细信息,请参阅安装 Power BI 报表服务器For more information, see Install Power BI Report Server.

后续步骤Next steps

将工作区中分配给高级容量时,与免费用户共享已发布的应用。Share published apps with Free users when you assign the workspace to a Premium capacity. 有关详细信息,请参阅在 Power BI 中创建和分发应用For more information, see Create and distribute an app in Power BI.

更多问题?More questions? 尝试咨询 Power BI 社区Try asking the Power BI Community