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/how-to-use-pg-partman.md
+8-8Lines changed: 8 additions & 8 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,9 +19,9 @@ In this article, you learn how to optimize the Azure Database for PostgreSQL Fle
19
19
20
20
## Prerequisites
21
21
22
-
To enable the pg_partman extension, follow these steps.
22
+
To enable the `pg_partman` extension, follow these steps.
23
23
24
-
- Add the pg_partman extension under Azure extensions as shown by the server parameters on the portal.
24
+
- Add the `pg_partman` extension under Azure extensions as shown by the server parameters on the portal.
25
25
26
26
:::image type="content" source="media/how-to-use-pg-partman/pg-partman-prerequisites.png" alt-text="Screenshot of prerequisites to get started.":::
27
27
@@ -35,15 +35,15 @@ To enable the pg_partman extension, follow these steps.
35
35
36
36
You can use server parameters in the Azure portal to change the following configuration options that affect the BGW process:
37
37
38
-
`pg_partman_bgw.dbname` - Required. This parameter should contain one or more databases that run_maintenance() needs to be run on. If more than one, use a comma separated list. If nothing is set, BGW doesn't run the procedure.
38
+
`pg_partman_bgw.dbname` - Required. This parameter should contain one or more databases that `run_maintenance()` needs to be run on. If more than one, use a comma separated list. If nothing is set, `pg_partman_bgw` doesn't run the procedure.
39
39
40
-
`pg_partman_bgw.interval`-Number of seconds between calls to run_maintenance() procedure. Default is 3600 (1 hour). This can be updated based on the requirement of the project.
40
+
`pg_partman_bgw.interval`-Number of seconds between calls to `run_maintenance()` procedure. Default is 3600 (1 hour). This can be updated based on the requirement of the project.
41
41
42
-
`pg_partman_bgw.role`- The role that run_maintenance() procedure runs as. Default is postgres. Only a single role name is allowed.
42
+
`pg_partman_bgw.role`- The role that `run_maintenance()` procedure runs as. Default is postgres. Only a single role name is allowed.
43
43
44
-
`pg_partman_bgw.analyze`- By default, it's set to OFF. Same purpose as the p_analyze argument to run_maintenance().
44
+
`pg_partman_bgw.analyze`- By default, it's set to OFF. Same purpose as the p_analyze argument to `run_maintenance()`.
45
45
46
-
`pg_partman_bgw.jobmon` - Same purpose as the p_jobmon argument to run_maintenance(). By default, it's set to ON.
46
+
`pg_partman_bgw.jobmon` - Same purpose as the `p_jobmon` argument to `run_maintenance()`. By default, it's set to ON.
47
47
48
48
> [!NOTE]
49
49
>1. When an identity feature uses sequences, the data from the parent table gets new sequence value. It doesn't generate new sequence values when the data is directly added to the child table.
@@ -133,7 +133,7 @@ INSERT INTO partman.partition_test SELECT GENERATE_SERIES(400000,500000),GENERAT
0 commit comments