Azure Databricks 池通过维护一组空闲的随时可用的实例来减少群集启动和自动缩放时间。Azure Databricks pools reduce cluster start and auto-scaling times by maintaining a set of idle, ready-to-use instances. 如果附加到池的群集需要一个实例,它首先会尝试分配池中的一个空闲实例。When a cluster attached to a pool needs an instance, it first attempts to allocate one of the pool’s idle instances. 如果该池中没有空闲实例,则该池会通过从实例提供程序分配新的实例进行扩展,以满足群集的请求。If the pool has no idle instances, the pool expands by allocating a new instance from the instance provider in order to accommodate the cluster’s request. 当群集释放了某个实例时,该实例将返回到池中,以供其他群集使用。When a cluster releases an instance, it returns to the pool and is free for another cluster to use. 只有附加到池的群集才能使用该池的空闲实例。Only clusters attached to a pool can use that pool’s idle instances.

当实例在池中处于空闲状态时,Azure Databricks 不会收取 DBU 费用,Azure Databricks does not charge DBUs while instances are idle in the pool. 但这会产生实例提供程序费用,具体请参阅定价Instance provider billing does apply; see pricing.

可以使用 UI、CLI 或通过调用池 API 来管理池。You can manage pools using the UI, the CLI, and by invoking the Pools API. 此部分介绍如何通过 UI 来使用池。This section describes how to work with pools using the UI. 有关其他方法,请参阅实例池 CLI实例池 APIFor the other methods, see Instance Pools CLI and Instance Pools API.

本部分内容:In this section: