You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/concepts-read-replicas.md
+1-1Lines changed: 1 addition & 1 deletion
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -38,7 +38,7 @@ Because replicas are read-only, they don't directly reduce write-capacity burden
38
38
39
39
### Considerations
40
40
41
-
The feature is meant for scenarios where the lag is acceptable and meant for offloading queries. It isn't meant for synchronous replication scenarios where the replica data is expected to be up-to-date. There will be a measurable delay between the primary and the replica. This delay can be in minutes or even hours, depending on the workload and the latency between the primary and the replica. Typically, read replicas in the same region as the primary has less lag than geo-replicas, as the latter often deals with geographical distance-induced latency. For more insights into the performance implications of geo-replication, refer to [Geo-replication](#geo-replication) section. The data on the replica eventually becomes consistent with the data on the primary. Use this feature for workloads that can accommodate this delay.
41
+
Read replicas are primarily designed for scenarios where offloading queries is beneficial, and a slight lag is manageable. They are optimized to provide near realtime updates from the primary for most workloads, making them an excellent solution for read-heavy scenarios. However, it's important to note that they are not intended for synchronous replication scenarios requiring up-to-the-minute data accuracy. While the data on the replica eventually becomes consistent with the primary, there may be a delay, which typically ranges from a few seconds to minutes, and in some heavy workload or high-latency scenarios, this could extend to hours. Typically, read replicas in the same region as the primary has less lag than geo-replicas, as the latter often deals with geographical distance-induced latency. For more insights into the performance implications of geo-replication, refer to [Geo-replication](#geo-replication) section. The data on the replica eventually becomes consistent with the data on the primary. Use this feature for workloads that can accommodate this delay.
42
42
43
43
> [!NOTE]
44
44
> For most workloads, read replicas offer near-real-time updates from the primary. However, with persistent heavy write-intensive primary workloads, the replication lag could continue to grow and might only be able to catch up with the primary. This might also increase storage usage at the primary as the WAL files are only deleted once received at the replica. If this situation persists, deleting and recreating the read replica after the write-intensive workloads are completed, you can bring the replica back to a good state for lag.
Copy file name to clipboardExpand all lines: articles/postgresql/flexible-server/how-to-stop-start-server-cli.md
+6-6Lines changed: 6 additions & 6 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -4,8 +4,8 @@ description: This article describes how to stop/start operations in Azure Databa
4
4
ms.service: postgresql
5
5
ms.subservice: flexible-server
6
6
ms.custom: devx-track-azurecli
7
-
ms.author: sunila
8
-
author: sunilagarwal
7
+
author: AlicjaKucharczyk
8
+
ms.author: alkuchar
9
9
ms.reviewer: ""
10
10
ms.topic: how-to
11
11
ms.date: 11/30/2021
@@ -21,7 +21,7 @@ This article shows you how to perform restart, start and stop flexible server us
21
21
22
22
- If you don't have an Azure subscription, create a [free](https://azure.microsoft.com/free/) account before you begin.
23
23
- Install or upgrade Azure CLI to the latest version. See [Install Azure CLI](/cli/azure/install-azure-cli).
24
-
-Login to Azure account using [az login](/cli/azure/reference-index#az-login) command. Note the **id** property, which refers to **Subscription ID** for your Azure account.
24
+
-Log in to Azure account using [az login](/cli/azure/reference-index#az-login) command. Note the **id** property, which refers to **Subscription ID** for your Azure account.
25
25
26
26
```azurecli-interactive
27
27
az login
@@ -33,14 +33,14 @@ This article shows you how to perform restart, start and stop flexible server us
33
33
az account set --subscription <subscription id>
34
34
```
35
35
36
-
- Create a PostgreSQL Flexible Server if you have not already created one using the ```az postgres flexible-server create``` command.
36
+
- Create a PostgreSQL Flexible Server if you haven't already created one using the ```az postgres flexible-server create``` command.
37
37
38
38
```azurecli
39
39
az postgres flexible-server create --resource-group myresourcegroup --name myservername
40
40
```
41
41
42
42
## Stop a running server
43
-
To stop a server, run ```az postgres flexible-server stop``` command. If you are using [local context](/cli/azure/config/param-persist), you don't need to provide any arguments.
43
+
To stop a server, run ```az postgres flexible-server stop``` command. If you're using [local context](/cli/azure/config/param-persist), you don't need to provide any arguments.
44
44
45
45
**Usage:**
46
46
```azurecli
@@ -60,7 +60,7 @@ az postgres flexible-server stop
60
60
```
61
61
62
62
## Start a stopped server
63
-
To start a server, run ```az postgres flexible-server start``` command. If you are using [local context](/cli/azure/config/param-persist), you don't need to provide any arguments.
63
+
To start a server, run ```az postgres flexible-server start``` command. If you're using [local context](/cli/azure/config/param-persist), you don't need to provide any arguments.
@@ -92,11 +92,12 @@ Replace the following parameters with your data:
92
92
93
93
-**subscription_id**: Your own [subscription ID](../../azure-portal/get-subscription-tenant-id.md#find-your-azure-subscription).
94
94
-**resource_group**: The name of the resource group you want to use. The script will create a new resource group if it doesn't exist.
95
-
-**server_name**: A unique name that identifies your Azure Database for PostgreSQL server. The domain name `postgres.database.azure.com` is appended to the server name you provide. The server name must be at least 3 characters and at most 63 characters, and can only contain lowercase letters, numbers, and hyphens.
95
+
-**server_name**: A unique name that identifies your Azure Database for PostgreSQL - Flexible Server. The domain name `postgres.database.azure.com` is appended to the server name you provide. The server name must be at least 3 characters and at most 63 characters, and can only contain lowercase letters, numbers, and hyphens.
96
+
-**location**: The Azure region where you want to create your Azure Database for PostgreSQL - Flexible Server. It defines the geographical location where your server and its data reside. Choose a region close to your users for reduced latency. The location should be specified in the format of Azure region short names, like `westus2`, `eastus`, or `northeurope`.
96
97
-**administrator_login**: The primary administrator username for the server. You can create additional users after the server has been created.
97
98
-**administrator_login_password**: A password for the primary administrator for the server. It must contain between 8 and 128 characters. Your password must contain characters from three of the following categories: English uppercase letters, English lowercase letters, numbers (0 through 9), and non-alphanumeric characters (!, $, #, %, etc.).
98
99
99
-
You can also customize other parameters like location, storage size, engine version, etc.
100
+
You can also customize other parameters like storage size, engine version, etc.
0 commit comments