Introduction
Availability zones are an essential building block for highly available application architectures on Google Cloud. For Oracle databases they also present an opportunity to achieve a database service level objective of 99.99% or higher by combining with Oracle RAC active-active database clustering technology and by spreading RAC nodes across two or three availability zones. FlashGrid Cluster enables the Multi-AZ Oracle RAC architecture on Google Cloud. (Note that Oracle Database@Google Cloud does not offer the Multi-AZ RAC capability, while implementing a self-built Oracle RAC solution on Google Cloud VMs would be prohibitively complex and impractical for production use).
To help with selecting an optimal architecture, FlashGrid measured the latencies between availability zones in all Google Cloud regions. Our results show that, with rare exceptions, the measured P99 round-trip times (RTT) between AZs are well below 0.5 ms, which makes Multi-AZ clustering suitable for Oracle RAC. This article provides the measurement results and methods for your reference.
Additionally, when deploying a FlashGrid Cluster with two Oracle RAC nodes across availability zones, database performance can be further optimized by placing the database nodes in AZs that have the lowest network latency between them. This will help to minimize the latency of storage and Cache Fusion data transfers between the database nodes.
Using us-west4 as an example (see table at end of document), we would deploy the RAC nodes in Zones a & b because the measured latency between these zones is significantly lower than a & c or b & c:
- us-west4-a ⇿ us-west4-b = 0.20 ms
- us-west4-a ⇿ us-west4-c = 0.46 ms
- us-west4-b ⇿ us-west4-c = 0.46 ms
Higher latency between the quorum node and the database nodes does not directly affect normal database I/O or Cache Fusion performance.
How Google Cloud Availability Zones are assigned
Google Cloud assigns zones (i.e. -a, -b, -c) identically across all customer accounts for a given project/region.
How to measure inter-AZ latencies in your project
FlashGrid recommends comparing UDP latency rather than TCP (as Oracle Cache Fusion data uses UDP for communication between nodes) and suggests using the sockperf utility for this, which is available as an installable package with most Linux distributions.
sockperf uses UDP by default. We recommend a test duration of 101 seconds, a message rate of 2,000 messages per second, and a message size of 8,000 bytes.
Use the following steps to perform your own testing:
- Deploy a server to each zone
- use a common operating system (for instance, Oracle Linux 9.7),
- on VMs of the same machine type (for instance, n4-standard-2).
- Install the sockperf tool
- on each server, start the sockperf listener process:
-
Temporarily allow sockperf connections on port 11111 (UDP). Traffic is blocked on this port by default on OL9.7:
sudo firewall-cmd --add-port=11111/udp -
Start the listener:
sockperf server --ip 0.0.0.0 --port 11111 --daemonize
-
- from the server in zone 1
-
initiate a sockperf test to the server in zone 2. This will run for 101 seconds with a payload of 8000 bytes:
sockperf ping-pong -i REMOTE_PRIVATE_IP_ZONE2 -m 8000 -t 101 -p 11111 --mps=2000 -
initiate a sockperf test to the server in zone 3
sockperf ping-pong -i REMOTE_PRIVATE_IP_ZONE3 -m 8000 -t 101 -p 11111 --mps=2000
-
- from the server in zone 2
-
initiate a sockperf test to the server in zone 3
sockperf ping-pong -i REMOTE_PRIVATE_IP_ZONE3 -m 8000 -t 101 -p 11111 --mps=2000
-
Use the "percentile 99.000" output from each test to determine the network latency between the VMs. Sockperf returns results in microseconds (μs). Divide the value by 1,000 to convert to milliseconds (ms).
Selecting the optimal AZ assignment when deploying a FlashGrid Cluster
Once you have measured the latency between the different AZ pairs, determine which pair of AZs has the lowest latency. When deploying your cluster using the FlashGrid Launcher, select that AZ pair for the database nodes.
For instance, if zone b and zone c have the lowest inter-AZ latency, then you should place the two database nodes in AZ b and c, and the quorum node in AZ a as demonstrated below:
Inter-AZ latency results by Google Cloud region
FlashGrid measured the following latencies between Google Cloud AZs in November 2026. The list below includes all Google Cloud regions that supported AZs at the time of publication.
We recommend that you perform your own measurements before choosing the best pairing. Please consult with FlashGrid Support when using this method to determine optimum placement.
To account for minor variations in measured latency, AZ pairs with latency values within 0.1 ms of the lowest measured latency in a region are considered comparable and are highlighted equally (in green). Where the difference between the highest and lowest measured latency is less than 0.1 ms, no highlighting is applied, as there is no meaningful latency advantage in selecting one AZ pair over another.
| africa-south1 | b | c | ||
|---|---|---|---|---|
| a | 0.38 | 0.37 | ||
| b | 0.51 | |||
| asia-east1 | b | c | ||
| a | 0.16 | 0.16 | ||
| b | 0.13 | |||
| asia-east2 | b | c | ||
| a | 0.31 | 0.32 | ||
| b | 0.28 | |||
| asia-northeast1 | b | c | ||
| a | 0.32 | 0.84 | ||
| b | 0.18 | |||
| asia-northeast2 | b | c | ||
| a | 0.50 | 0.37 | ||
| b | 0.55 | |||
| asia-northeast3 | b | c | ||
| a | 0.34 | 0.25 | ||
| b | 0.25 | |||
| asia-south1 | b | c | ||
| a | 0.36 | 0.39 | ||
| b | 0.24 | |||
| asia-south2 | b | c | ||
| a | 0.28 | 0.50 | ||
| b | 0.33 | |||
| asia-southeast1 | b | c | ||
| a | 0.33 | 0.55 | ||
| b | 0.50 | |||
| asia-southeast2 | b | c | ||
| a | 0.42 | 0.39 | ||
| b | 0.59 | |||
| asia-southeast3 | b | c | ||
| a | 0.12 | 0.11 | ||
| b | 0.11 | |||
| australia-southeast1 | b | c | ||
| a | 0.24 | 0.24 | ||
| b | 0.29 | |||
| australia-southeast2 | b | c | ||
| a | 0.36 | 0.30 | ||
| b | 0.25 | |||
| europe-central2 | b | c | ||
| a | 0.29 | 0.29 | ||
| b | 0.25 | |||
| europe-north1 | b | c | ||
| a | 0.18 | 0.20 | ||
| b | 0.21 | |||
| europe-north2 | b | c | ||
| a | 0.14 | 0.13 | ||
| b | 0.14 | |||
| europe-southwest1 | b | c | ||
| a | 0.30 | 0.42 | ||
| b | 0.46 | |||
| europe-west1 | c | d | ||
| b | 0.18 | 0.20 | ||
| c | 0.15 | |||
| europe-west10 | b | c | ||
| a | 0.35 | 0.28 | ||
| b | 0.29 | |||
| europe-west12 | b | c | ||
| a | 0.29 | 0.34 | ||
| b | 0.28 | |||
| europe-west2 | b | c | ||
| a | 0.50 | 0.32 | ||
| b | 0.61 | |||
| europe-west3 | b | c | ||
| a | 0.29 | 0.24 | ||
| b | 0.34 | |||
| europe-west4 | b | c | ||
| a | 0.45 | 0.45 | ||
| b | 0.47 | |||
| europe-west6 | b | c | ||
| a | 0.30 | 0.39 | ||
| b | 0.22 | |||
| europe-west8 | b | c | ||
| a | 0.38 | 0.35 | ||
| b | 0.42 | |||
| europe-west9 | b | c | ||
| a | 0.43 | 0.42 | ||
| b | 0.55 | |||
| me-central1 | b | c | ||
| a | 0.31 | 0.41 | ||
| b | 0.31 | |||
| me-west1 | b | c | ||
| a | 0.56 | 0.75 | ||
| b | 0.59 | |||
| northamerica-northeast1 | b | c | ||
| a | 0.25 | 0.43 | ||
| b | 0.47 | |||
| northamerica-northeast2 | b | c | ||
| a | 0.49 | 0.32 | ||
| b | 0.36 | |||
| northamerica-south1 | b | c | ||
| a | 0.47 | 0.64 | ||
| b | 0.65 | |||
| southamerica-east1 | b | c | ||
| a | 0.57 | 0.64 | ||
| b | 0.31 | |||
| southamerica-west1 | b | c | ||
| a | 0.42 | 0.35 | ||
| b | 0.24 | |||
| us-central1 | b | c | f | |
| a | 0.53 | 0.51 | 0.53 | |
| b | 0.54 | 0.55 | ||
| c | 0.24 | |||
| us-east1 | c | d | ||
| b | 0.17 | 0.15 | ||
| c | 0.17 | |||
| us-east4 | b | c | ||
| a | 0.46 | 0.39 | ||
| b | 0.58 | |||
| us-east5 | b | c | ||
| a | 0.58 | 0.52 | ||
| b | 0.78 | |||
| us-south1 | b | c | ||
| a | 0.44 | 0.52 | ||
| b | 0.81 | |||
| us-west1 | b | c | ||
| a | 0.19 | 0.23 | ||
| b | 0.23 | |||
| us-west2 | b | c | ||
| a | 0.60 | 0.45 | ||
| b | 0.29 | |||
| us-west3 | b | c | ||
| a | 0.46 | 0.32 | ||
| b | 0.40 | |||
| us-west4 | b | c | ||
| a | 0.20 | 0.46 | ||
| b | 0.46 | |||
(measured with sockperf_udp)
About FlashGrid Cluster for Oracle RAC on Google Cloud
FlashGrid Cluster is a virtual clustered appliance that enables deployment of Oracle RAC on Google Cloud VMs for mission-critical transaction processing workloads. Oracle RAC nodes can be distributed across Google Cloud Availability Zones to support database uptime of 99.99% or higher, depending on the deployment architecture and availability requirements. Deployment is fully automated using Infrastructure-as-Code and typically completes in 30 to 90 minutes. FlashGrid provides 24/7 technical support covering the complete infrastructure stack used by the cluster.
First introduced on Google Cloud in 2019, FlashGrid Cluster for Oracle RAC is available in all Google Cloud regions.
Additional Information
FlashGrid Cluster for Oracle RAC on Google Cloud: Architecture
Technical blog: Multi-AZ RAC: the missing part in Oracle MAA Reference Architectures
Technical blog: Multi-AZ vs. Multi-Region in the Cloud
Google Cloud Marketplace: FlashGrid for Oracle RAC and Database HA