Skip to the page

n2-highmem-4 on Databricks

n2-highmem-4 is a memory optimized Google Cloud worker type with 4 vCPUs and 32 GB of memory. On Databricks it uses 0.96 DBUs an hour, so 1 node on Jobs Compute in Iowa (us-central1) costs $0.406 an hour: $0.144 for the DBUs and $0.262 to Google Cloud for the machine.

Google Cloud · Memory optimized · n2-highmem

n2-highmem-4 at a glance

vCPUs
4
Memory
32 GB
Own SSD
None
Local SSDs are added in the compute settings
DBUs an hour
0.96
Classic compute
With Photon
2.4
DBUs an hour, Jobs Compute
1 node an hour
$0.406
Jobs Compute, Iowa (us-central1)

1 node an hour on each kind of compute

In Iowa (us-central1) on the Premium plan. Databricks charges the DBUs, Google Cloud the machine. A cluster pays this for every worker and for the driver.

ComputeDBUs an hourA DBUDatabricksMachineAn hour
Jobs Compute0.96$0.15$0.144$0.262$0.406
Jobs Compute + Photon2.4$0.15$0.36$0.262$0.622
All-Purpose Compute0.96$0.55$0.528$0.262$0.79
All-Purpose Compute + Photon1.92$0.55$1.06$0.262$1.32
Lakeflow pipelines Core0.96$0.20$0.192$0.262$0.454
Lakeflow pipelines Core + Photon2.4$0.20$0.48$0.262$0.742
Lakeflow pipelines Pro0.96$0.25$0.24$0.262$0.502
Lakeflow pipelines Pro + Photon2.4$0.25$0.60$0.262$0.862
Lakeflow pipelines Advanced0.96$0.36$0.346$0.262$0.608
Lakeflow pipelines Advanced + Photon2.4$0.36$0.864$0.262$1.13

In each region

1 node an hour on Jobs Compute, Premium, cheapest first.

RegionMachineAn hour
Iowa (us-central1)$0.262$0.406
South Carolina (us-east1)$0.262$0.406
Oregon (us-west1)$0.262$0.406
Belgium (europe-west1)$0.288$0.432
Montréal (northamerica-northeast1)$0.288$0.432
Las Vegas (us-west4)$0.295$0.439
Northern Virginia (us-east4)$0.295$0.439
Mumbai (asia-south1)$0.315$0.459
Singapore (asia-southeast1)$0.323$0.467
Tokyo (asia-northeast1)$0.336$0.48
London (europe-west2)$0.338$0.482
Frankfurt (europe-west3)$0.338$0.482
Sydney (australia-southeast1)$0.372$0.516
São Paulo (southamerica-east1)$0.416$0.56
Dammam (me-central2)$0.419$0.563

Questions

How many DBUs does n2-highmem-4 use on Databricks?
n2-highmem-4 uses 0.96 DBUs an hour on Databricks classic compute without Photon. With Photon it uses 2.4 DBUs an hour on Jobs Compute and 1.92 on All-Purpose Compute, as Databricks' price list gives them.
How much does n2-highmem-4 cost an hour on Databricks?
In Iowa (us-central1), 1 n2-highmem-4 node on Jobs Compute costs $0.406 an hour: $0.144 to Databricks for 0.96 DBUs at $0.15 each, and $0.262 to Google Cloud for the machine. On All-Purpose Compute the same node costs $0.79 an hour, and on Lakeflow pipelines Core $0.454. A cluster pays this for every worker and for the driver.
Does Photon cost more on n2-highmem-4?
Yes, by the hour: with Photon, 1 n2-highmem-4 node on Jobs Compute in Iowa (us-central1) costs $0.622 an hour instead of $0.406, because it uses 2.4 DBUs an hour instead of 0.96. It saves money only when the job finishes fast enough to make up the difference.
Which region is cheapest for n2-highmem-4 on Databricks?
Iowa (us-central1), at $0.406 an hour for 1 node on Jobs Compute, against $0.563 in Dammam (me-central2), the dearest of the 15 regions listed here that offer it. Databricks charges the same for a DBU of Jobs Compute in every Google Cloud region listed, so the gap is the machine.
What is the same size as n2-highmem-4 on the other clouds?
The nearest worker types of the same kind are r6id.xlarge on AWS and Standard_E4ds_v5 on Azure. Each cloud gives its own DBUs an hour for its types, so compare what a cluster costs in the calculator, not the DBUs alone.
What is the next size up from n2-highmem-4?
n2-highmem-4 is the smallest size of its family listed here. One size up is n2-highmem-8, at 1.92 DBUs an hour.