Aiven v6.28.0 published on Friday, Nov 15, 2024 by Pulumi
aiven.getPg
Explore with Pulumi AI
Gets information about an Aiven for PostgreSQL® service.
Example Usage
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const examplePostgres = aiven.getPg({
project: exampleProject.project,
serviceName: "example-postgres-service",
});
import pulumi
import pulumi_aiven as aiven
example_postgres = aiven.get_pg(project=example_project["project"],
service_name="example-postgres-service")
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v6/go/aiven"
"github.com/pulumi/pulumi/sdk/v3/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupPg(ctx, &aiven.LookupPgArgs{
Project: exampleProject.Project,
ServiceName: "example-postgres-service",
}, nil)
if err != nil {
return err
}
return nil
})
}
using System.Collections.Generic;
using System.Linq;
using Pulumi;
using Aiven = Pulumi.Aiven;
return await Deployment.RunAsync(() =>
{
var examplePostgres = Aiven.GetPg.Invoke(new()
{
Project = exampleProject.Project,
ServiceName = "example-postgres-service",
});
});
package generated_program;
import com.pulumi.Context;
import com.pulumi.Pulumi;
import com.pulumi.core.Output;
import com.pulumi.aiven.AivenFunctions;
import com.pulumi.aiven.inputs.GetPgArgs;
import java.util.List;
import java.util.ArrayList;
import java.util.Map;
import java.io.File;
import java.nio.file.Files;
import java.nio.file.Paths;
public class App {
public static void main(String[] args) {
Pulumi.run(App::stack);
}
public static void stack(Context ctx) {
final var examplePostgres = AivenFunctions.getPg(GetPgArgs.builder()
.project(exampleProject.project())
.serviceName("example-postgres-service")
.build());
}
}
variables:
examplePostgres:
fn::invoke:
Function: aiven:getPg
Arguments:
project: ${exampleProject.project}
serviceName: example-postgres-service
Using getPg
Two invocation forms are available. The direct form accepts plain arguments and either blocks until the result value is available, or returns a Promise-wrapped result. The output form accepts Input-wrapped arguments and returns an Output-wrapped result.
function getPg(args: GetPgArgs, opts?: InvokeOptions): Promise<GetPgResult>
function getPgOutput(args: GetPgOutputArgs, opts?: InvokeOptions): Output<GetPgResult>
def get_pg(project: Optional[str] = None,
service_name: Optional[str] = None,
opts: Optional[InvokeOptions] = None) -> GetPgResult
def get_pg_output(project: Optional[pulumi.Input[str]] = None,
service_name: Optional[pulumi.Input[str]] = None,
opts: Optional[InvokeOptions] = None) -> Output[GetPgResult]
func LookupPg(ctx *Context, args *LookupPgArgs, opts ...InvokeOption) (*LookupPgResult, error)
func LookupPgOutput(ctx *Context, args *LookupPgOutputArgs, opts ...InvokeOption) LookupPgResultOutput
> Note: This function is named LookupPg
in the Go SDK.
public static class GetPg
{
public static Task<GetPgResult> InvokeAsync(GetPgArgs args, InvokeOptions? opts = null)
public static Output<GetPgResult> Invoke(GetPgInvokeArgs args, InvokeOptions? opts = null)
}
public static CompletableFuture<GetPgResult> getPg(GetPgArgs args, InvokeOptions options)
// Output-based functions aren't available in Java yet
fn::invoke:
function: aiven:index/getPg:getPg
arguments:
# arguments dictionary
The following arguments are supported:
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
getPg Result
The following output properties are available:
- Additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
List<Get
Pg Component> - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User List<GetConfigs Pg Pg User Config> - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- Pgs
List<Get
Pg Pg> - Values provided by the PostgreSQL server.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations List<GetPg Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips List<string> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Get
Pg Tag> - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails List<GetPg Tech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- Cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - Components
[]Get
Pg Component - Service component information objects
- Disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- Disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- Disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- Disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - Disk
Space stringUsed - Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- Maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User []GetConfigs Pg Pg User Config - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- Pgs
[]Get
Pg Pg - Values provided by the PostgreSQL server.
- Plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - Project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- Project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string - The hostname of the service.
- Service
Integrations []GetPg Service Integration - Service integrations to specify when creating a service. Not applied after initial service creation
- Service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Service
Password string - Password used for connecting to the service, if applicable
- Service
Port int - The port of the service
- Service
Type string - Aiven internal service type code
- Service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- Service
Username string - Username used for connecting to the service, if applicable
- State string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- Static
Ips []string - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- []Get
Pg Tag - Tags are key-value pairs that allow you to categorize services.
- Tech
Emails []GetPg Tech Email - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- Termination
Protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
List<Get
Pg Component> - Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User List<GetConfigs Pg Pg User Config> - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- pgs
List<Get
Pg Pg> - Values provided by the PostgreSQL server.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<GetPg Service Integration> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Integer - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Get
Pg Tag> - Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<GetPg Tech Email> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk stringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name string - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Get
Pg Component[] - Service component information objects
- disk
Space string - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space stringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space stringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space stringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space stringUsed - Disk space that service is currently using
- id string
- The provider-assigned unique ID for this managed resource.
- maintenance
Window stringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window stringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User GetConfigs Pg Pg User Config[] - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- pgs
Get
Pg Pg[] - Values provided by the PostgreSQL server.
- plan string
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project string
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc stringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host string - The hostname of the service.
- service
Integrations GetPg Service Integration[] - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name string - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password string - Password used for connecting to the service, if applicable
- service
Port number - The port of the service
- service
Type string - Aiven internal service type code
- service
Uri string - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username string - Username used for connecting to the service, if applicable
- state string
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips string[] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Get
Pg Tag[] - Tags are key-value pairs that allow you to categorize services.
- tech
Emails GetPg Tech Email[] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional_
disk_ strspace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud_
name str - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components
Sequence[Get
Pg Component] - Service component information objects
- disk_
space str - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk_
space_ strcap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk_
space_ strdefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk_
space_ strstep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk_
space_ strused - Disk space that service is currently using
- id str
- The provider-assigned unique ID for this managed resource.
- maintenance_
window_ strdow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg_
user_ Sequence[Getconfigs Pg Pg User Config] - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- pgs
Sequence[Get
Pg Pg] - Values provided by the PostgreSQL server.
- plan str
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project str
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project_
vpc_ strid - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service_
host str - The hostname of the service.
- service_
integrations Sequence[GetPg Service Integration] - Service integrations to specify when creating a service. Not applied after initial service creation
- service_
name str - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service_
password str - Password used for connecting to the service, if applicable
- service_
port int - The port of the service
- service_
type str - Aiven internal service type code
- service_
uri str - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service_
username str - Username used for connecting to the service, if applicable
- state str
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static_
ips Sequence[str] - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- Sequence[Get
Pg Tag] - Tags are key-value pairs that allow you to categorize services.
- tech_
emails Sequence[GetPg Tech Email] - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination_
protection bool - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- additional
Disk StringSpace - Add disk storage in increments of 30 GiB to scale your service. The maximum value depends on the service type and cloud provider. Removing additional storage causes the service nodes to go through a rolling restart and there might be a short downtime for services with no HA capabilities.
- cloud
Name String - Defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider's own support articles, like here for Google and here for AWS. - components List<Property Map>
- Service component information objects
- disk
Space String - Service disk space. Possible values depend on the service type, the cloud provider and the project. Therefore, reducing will result in the service rebalancing.
- disk
Space StringCap - The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- disk
Space StringDefault - The default disk space of the service, possible values depend on the service type, the cloud provider and the project. Its also the minimum value for
disk_space
- disk
Space StringStep - The default disk space step of the service, possible values depend on the service type, the cloud provider and the project.
disk_space
needs to increment fromdisk_space_default
by increments of this size. - disk
Space StringUsed - Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenance
Window StringDow - Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenance
Window StringTime - Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User List<Property Map>Configs - Pg user configurable settings. Warning: There's no way to reset advanced configuration options to default. Options that you add cannot be removed later
- pgs List<Property Map>
- Values provided by the PostgreSQL server.
- plan String
- Defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The available options can be seen from the Aiven pricing page. - project String
- The name of the project this resource belongs to. To set up proper dependencies please refer to this variable as a reference. Changing this property forces recreation of the resource.
- project
Vpc StringId - Specifies the VPC the service should run in. If the value is not set the service is not run inside a VPC. When set, the value should be given as a reference to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host String - The hostname of the service.
- service
Integrations List<Property Map> - Service integrations to specify when creating a service. Not applied after initial service creation
- service
Name String - Specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- service
Password String - Password used for connecting to the service, if applicable
- service
Port Number - The port of the service
- service
Type String - Aiven internal service type code
- service
Uri String - URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- service
Username String - Username used for connecting to the service, if applicable
- state String
- Service state. One of
POWEROFF
,REBALANCING
,REBUILDING
orRUNNING
- static
Ips List<String> - Static IPs that are going to be associated with this service. Please assign a value using the 'toset' function. Once a static ip resource is in the 'assigned' state it cannot be unbound from the node again
- List<Property Map>
- Tags are key-value pairs that allow you to categorize services.
- tech
Emails List<Property Map> - The email addresses for service contacts, who will receive important alerts and updates about this service. You can also set email contacts at the project level.
- termination
Protection Boolean - Prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
GetPgComponent
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- Component string
- Service component name
- Connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- Host string
- Host name for connecting to the service component
- Kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- Port int
- Port number for connecting to the service component
- Route string
- Network access route
- Ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- Usage string
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Integer
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
- component string
- Service component name
- connection
Uri string - Connection info for connecting to the service component. This is a combination of host and port.
- host string
- Host name for connecting to the service component
- kafka
Authentication stringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port number
- Port number for connecting to the service component
- route string
- Network access route
- ssl boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage string
- DNS usage name
- component str
- Service component name
- connection_
uri str - Connection info for connecting to the service component. This is a combination of host and port.
- host str
- Host name for connecting to the service component
- kafka_
authentication_ strmethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port int
- Port number for connecting to the service component
- route str
- Network access route
- ssl bool
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage str
- DNS usage name
- component String
- Service component name
- connection
Uri String - Connection info for connecting to the service component. This is a combination of host and port.
- host String
- Host name for connecting to the service component
- kafka
Authentication StringMethod - Kafka authentication method. This is a value specific to the 'kafka' service component
- port Number
- Port number for connecting to the service component
- route String
- Network access route
- ssl Boolean
- Whether the endpoint is encrypted or accepts plaintext. By default endpoints are always encrypted and this property is only included for service components they may disable encryption
- usage String
- DNS usage name
GetPgPg
- Bouncer string
- PgBouncer connection details for connection pooling.
- Dbname string
- Primary PostgreSQL database name.
- Host string
- PostgreSQL primary node host IP or name.
- Max
Connections int - The number of allowed connections. Varies based on the service plan.
- Params
List<Get
Pg Pg Param> - PostgreSQL connection parameters.
- Password string
- PostgreSQL admin user password.
- Port int
- PostgreSQL port.
- Replica
Uri string - PostgreSQL replica URI for services with a replica.
- Sslmode string
- PostgreSQL SSL mode setting.
- Standby
Uris List<string> - PostgreSQL standby connection URIs.
- Syncing
Uris List<string> - PostgreSQL syncing connection URIs.
- Uri string
- PostgreSQL primary connection URI.
- Uris List<string>
- PostgreSQL primary connection URIs.
- User string
- PostgreSQL admin user name.
- Bouncer string
- PgBouncer connection details for connection pooling.
- Dbname string
- Primary PostgreSQL database name.
- Host string
- PostgreSQL primary node host IP or name.
- Max
Connections int - The number of allowed connections. Varies based on the service plan.
- Params
[]Get
Pg Pg Param - PostgreSQL connection parameters.
- Password string
- PostgreSQL admin user password.
- Port int
- PostgreSQL port.
- Replica
Uri string - PostgreSQL replica URI for services with a replica.
- Sslmode string
- PostgreSQL SSL mode setting.
- Standby
Uris []string - PostgreSQL standby connection URIs.
- Syncing
Uris []string - PostgreSQL syncing connection URIs.
- Uri string
- PostgreSQL primary connection URI.
- Uris []string
- PostgreSQL primary connection URIs.
- User string
- PostgreSQL admin user name.
- bouncer String
- PgBouncer connection details for connection pooling.
- dbname String
- Primary PostgreSQL database name.
- host String
- PostgreSQL primary node host IP or name.
- max
Connections Integer - The number of allowed connections. Varies based on the service plan.
- params
List<Get
Pg Pg Param> - PostgreSQL connection parameters.
- password String
- PostgreSQL admin user password.
- port Integer
- PostgreSQL port.
- replica
Uri String - PostgreSQL replica URI for services with a replica.
- sslmode String
- PostgreSQL SSL mode setting.
- standby
Uris List<String> - PostgreSQL standby connection URIs.
- syncing
Uris List<String> - PostgreSQL syncing connection URIs.
- uri String
- PostgreSQL primary connection URI.
- uris List<String>
- PostgreSQL primary connection URIs.
- user String
- PostgreSQL admin user name.
- bouncer string
- PgBouncer connection details for connection pooling.
- dbname string
- Primary PostgreSQL database name.
- host string
- PostgreSQL primary node host IP or name.
- max
Connections number - The number of allowed connections. Varies based on the service plan.
- params
Get
Pg Pg Param[] - PostgreSQL connection parameters.
- password string
- PostgreSQL admin user password.
- port number
- PostgreSQL port.
- replica
Uri string - PostgreSQL replica URI for services with a replica.
- sslmode string
- PostgreSQL SSL mode setting.
- standby
Uris string[] - PostgreSQL standby connection URIs.
- syncing
Uris string[] - PostgreSQL syncing connection URIs.
- uri string
- PostgreSQL primary connection URI.
- uris string[]
- PostgreSQL primary connection URIs.
- user string
- PostgreSQL admin user name.
- bouncer str
- PgBouncer connection details for connection pooling.
- dbname str
- Primary PostgreSQL database name.
- host str
- PostgreSQL primary node host IP or name.
- max_
connections int - The number of allowed connections. Varies based on the service plan.
- params
Sequence[Get
Pg Pg Param] - PostgreSQL connection parameters.
- password str
- PostgreSQL admin user password.
- port int
- PostgreSQL port.
- replica_
uri str - PostgreSQL replica URI for services with a replica.
- sslmode str
- PostgreSQL SSL mode setting.
- standby_
uris Sequence[str] - PostgreSQL standby connection URIs.
- syncing_
uris Sequence[str] - PostgreSQL syncing connection URIs.
- uri str
- PostgreSQL primary connection URI.
- uris Sequence[str]
- PostgreSQL primary connection URIs.
- user str
- PostgreSQL admin user name.
- bouncer String
- PgBouncer connection details for connection pooling.
- dbname String
- Primary PostgreSQL database name.
- host String
- PostgreSQL primary node host IP or name.
- max
Connections Number - The number of allowed connections. Varies based on the service plan.
- params List<Property Map>
- PostgreSQL connection parameters.
- password String
- PostgreSQL admin user password.
- port Number
- PostgreSQL port.
- replica
Uri String - PostgreSQL replica URI for services with a replica.
- sslmode String
- PostgreSQL SSL mode setting.
- standby
Uris List<String> - PostgreSQL standby connection URIs.
- syncing
Uris List<String> - PostgreSQL syncing connection URIs.
- uri String
- PostgreSQL primary connection URI.
- uris List<String>
- PostgreSQL primary connection URIs.
- user String
- PostgreSQL admin user name.
GetPgPgParam
GetPgPgUserConfig
- Additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- Admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - Backup
Hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - Backup
Minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - Enable
Ipv6 bool - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- Ip
Filter List<GetObjects Pg Pg User Config Ip Filter Object> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Ip
Filter List<string>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Ip
Filters List<string> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Migration
Get
Pg Pg User Config Migration - Migrate data from existing server
- Pg
Get
Pg Pg User Config Pg - postgresql.conf configuration values
- Pg
Qualstats GetPg Pg User Config Pg Qualstats - System-wide settings for the pg_qualstats extension
- Pg
Read boolReplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- Pg
Service stringTo Fork From - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - Pg
Stat boolMonitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - Pg
Version string - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - Pgaudit
Get
Pg Pg User Config Pgaudit - System-wide settings for the pgaudit extension
- Pgbouncer
Get
Pg Pg User Config Pgbouncer - PGBouncer connection pooling settings
- Pglookout
Get
Pg Pg User Config Pglookout - System-wide settings for pglookout
- Private
Access GetPg Pg User Config Private Access - Allow access to selected service ports from private networks
- Privatelink
Access GetPg Pg User Config Privatelink Access - Allow access to selected service components through Privatelink
- Project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - Public
Access GetPg Pg User Config Public Access - Allow access to selected service ports from the public Internet
- Recovery
Target stringTime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - double
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - Static
Ips bool - Use static public IP addresses.
- Synchronous
Replication string - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - Timescaledb
Get
Pg Pg User Config Timescaledb - System-wide settings for the timescaledb extension
- Variant string
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - Work
Mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
- Additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- Admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - Backup
Hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - Backup
Minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - Enable
Ipv6 bool - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- Ip
Filter []GetObjects Pg Pg User Config Ip Filter Object - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Ip
Filter []stringStrings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Ip
Filters []string - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - Migration
Get
Pg Pg User Config Migration - Migrate data from existing server
- Pg
Get
Pg Pg User Config Pg - postgresql.conf configuration values
- Pg
Qualstats GetPg Pg User Config Pg Qualstats - System-wide settings for the pg_qualstats extension
- Pg
Read boolReplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- Pg
Service stringTo Fork From - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - Pg
Stat boolMonitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - Pg
Version string - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - Pgaudit
Get
Pg Pg User Config Pgaudit - System-wide settings for the pgaudit extension
- Pgbouncer
Get
Pg Pg User Config Pgbouncer - PGBouncer connection pooling settings
- Pglookout
Get
Pg Pg User Config Pglookout - System-wide settings for pglookout
- Private
Access GetPg Pg User Config Private Access - Allow access to selected service ports from private networks
- Privatelink
Access GetPg Pg User Config Privatelink Access - Allow access to selected service components through Privatelink
- Project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - Public
Access GetPg Pg User Config Public Access - Allow access to selected service ports from the public Internet
- Recovery
Target stringTime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - Service
Log bool - Store logs for the service so that they are available in the HTTP API and console.
- Service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - float64
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - Static
Ips bool - Use static public IP addresses.
- Synchronous
Replication string - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - Timescaledb
Get
Pg Pg User Config Timescaledb - System-wide settings for the timescaledb extension
- Variant string
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - Work
Mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
- additional
Backup StringRegions - Additional Cloud Regions for Backup Replication.
- admin
Password String - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username String - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - backup
Hour Integer - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute Integer - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - enable
Ipv6 Boolean - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ip
Filter List<GetObjects Pg Pg User Config Ip Filter Object> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter List<String>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters List<String> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Pg Pg User Config Migration - Migrate data from existing server
- pg
Get
Pg Pg User Config Pg - postgresql.conf configuration values
- pg
Qualstats GetPg Pg User Config Pg Qualstats - System-wide settings for the pg_qualstats extension
- pg
Read BooleanReplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pg
Service StringTo Fork From - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - pg
Stat BooleanMonitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - pg
Version String - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - pgaudit
Get
Pg Pg User Config Pgaudit - System-wide settings for the pgaudit extension
- pgbouncer
Get
Pg Pg User Config Pgbouncer - PGBouncer connection pooling settings
- pglookout
Get
Pg Pg User Config Pglookout - System-wide settings for pglookout
- private
Access GetPg Pg User Config Private Access - Allow access to selected service ports from private networks
- privatelink
Access GetPg Pg User Config Privatelink Access - Allow access to selected service components through Privatelink
- project
To StringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access GetPg Pg User Config Public Access - Allow access to selected service ports from the public Internet
- recovery
Target StringTime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To StringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - Double
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - static
Ips Boolean - Use static public IP addresses.
- synchronous
Replication String - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - timescaledb
Get
Pg Pg User Config Timescaledb - System-wide settings for the timescaledb extension
- variant String
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - work
Mem Integer - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
- additional
Backup stringRegions - Additional Cloud Regions for Backup Replication.
- admin
Password string - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username string - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - backup
Hour number - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - enable
Ipv6 boolean - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ip
Filter GetObjects Pg Pg User Config Ip Filter Object[] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter string[]Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters string[] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Pg Pg User Config Migration - Migrate data from existing server
- pg
Get
Pg Pg User Config Pg - postgresql.conf configuration values
- pg
Qualstats GetPg Pg User Config Pg Qualstats - System-wide settings for the pg_qualstats extension
- pg
Read booleanReplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pg
Service stringTo Fork From - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - pg
Stat booleanMonitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - pg
Version string - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - pgaudit
Get
Pg Pg User Config Pgaudit - System-wide settings for the pgaudit extension
- pgbouncer
Get
Pg Pg User Config Pgbouncer - PGBouncer connection pooling settings
- pglookout
Get
Pg Pg User Config Pglookout - System-wide settings for pglookout
- private
Access GetPg Pg User Config Private Access - Allow access to selected service ports from private networks
- privatelink
Access GetPg Pg User Config Privatelink Access - Allow access to selected service components through Privatelink
- project
To stringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access GetPg Pg User Config Public Access - Allow access to selected service ports from the public Internet
- recovery
Target stringTime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - service
Log boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To stringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - number
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - static
Ips boolean - Use static public IP addresses.
- synchronous
Replication string - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - timescaledb
Get
Pg Pg User Config Timescaledb - System-wide settings for the timescaledb extension
- variant string
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - work
Mem number - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
- additional_
backup_ strregions - Additional Cloud Regions for Backup Replication.
- admin_
password str - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin_
username str - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - backup_
hour int - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup_
minute int - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - enable_
ipv6 bool - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ip_
filter_ Sequence[Getobjects Pg Pg User Config Ip Filter Object] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip_
filter_ Sequence[str]strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip_
filters Sequence[str] - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration
Get
Pg Pg User Config Migration - Migrate data from existing server
- pg
Get
Pg Pg User Config Pg - postgresql.conf configuration values
- pg_
qualstats GetPg Pg User Config Pg Qualstats - System-wide settings for the pg_qualstats extension
- pg_
read_ boolreplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pg_
service_ strto_ fork_ from - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - pg_
stat_ boolmonitor_ enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - pg_
version str - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - pgaudit
Get
Pg Pg User Config Pgaudit - System-wide settings for the pgaudit extension
- pgbouncer
Get
Pg Pg User Config Pgbouncer - PGBouncer connection pooling settings
- pglookout
Get
Pg Pg User Config Pglookout - System-wide settings for pglookout
- private_
access GetPg Pg User Config Private Access - Allow access to selected service ports from private networks
- privatelink_
access GetPg Pg User Config Privatelink Access - Allow access to selected service components through Privatelink
- project_
to_ strfork_ from - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public_
access GetPg Pg User Config Public Access - Allow access to selected service ports from the public Internet
- recovery_
target_ strtime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - service_
log bool - Store logs for the service so that they are available in the HTTP API and console.
- service_
to_ strfork_ from - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - float
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - static_
ips bool - Use static public IP addresses.
- synchronous_
replication str - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - timescaledb
Get
Pg Pg User Config Timescaledb - System-wide settings for the timescaledb extension
- variant str
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - work_
mem int - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
- additional
Backup StringRegions - Additional Cloud Regions for Backup Replication.
- admin
Password String - Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username String - Custom username for admin user. This must be set only when a new service is being created. Example:
avnadmin
. - backup
Hour Number - The hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed. Example:
3
. - backup
Minute Number - The minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed. Example:
30
. - enable
Ipv6 Boolean - Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ip
Filter List<Property Map>Objects - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- ip
Filter List<String>Strings - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - ip
Filters List<String> - Allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
. - migration Property Map
- Migrate data from existing server
- pg Property Map
- postgresql.conf configuration values
- pg
Qualstats Property Map - System-wide settings for the pg_qualstats extension
- pg
Read BooleanReplica - Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pg
Service StringTo Fork From - Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created. Example:
anotherservicename
. - pg
Stat BooleanMonitor Enable - Enable the pg_stat_monitor extension. Enabling this extension will cause the cluster to be restarted.When this extension is enabled, pg_stat_statements results for utility commands are unreliable. Default:
false
. - pg
Version String - Enum:
10
,11
,12
,13
,14
,15
,16
, and newer. PostgreSQL major version. - pgaudit Property Map
- System-wide settings for the pgaudit extension
- pgbouncer Property Map
- PGBouncer connection pooling settings
- pglookout Property Map
- System-wide settings for pglookout
- private
Access Property Map - Allow access to selected service ports from private networks
- privatelink
Access Property Map - Allow access to selected service components through Privatelink
- project
To StringFork From - Name of another project to fork a service from. This has effect only when a new service is being created. Example:
anotherprojectname
. - public
Access Property Map - Allow access to selected service ports from the public Internet
- recovery
Target StringTime - Recovery target time when forking a service. This has effect only when a new service is being created. Example:
2019-01-01 23:34:45
. - service
Log Boolean - Store logs for the service so that they are available in the HTTP API and console.
- service
To StringFork From - Name of another service to fork from. This has effect only when a new service is being created. Example:
anotherservicename
. - Number
- Percentage of total RAM that the database server uses for shared memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. Example:
41.5
. - static
Ips Boolean - Use static public IP addresses.
- synchronous
Replication String - Enum:
off
,quorum
. Synchronous replication type. Note that the service plan also needs to support synchronous replication. - timescaledb Property Map
- System-wide settings for the timescaledb extension
- variant String
- Enum:
aiven
,timescale
. Variant of the PostgreSQL service, may affect the features that are exposed by default. - work
Mem Number - Sets the maximum amount of memory to be used by a query operation (such as a sort or hash table) before writing to temporary disk files, in MB. Default is 1MB + 0.075% of total RAM (up to 32MB). Example:
4
.
GetPgPgUserConfigIpFilterObject
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- Network string
- CIDR address block. Example:
10.20.0.0/16
. - Description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
- network string
- CIDR address block. Example:
10.20.0.0/16
. - description string
- Description for IP filter list entry. Example:
Production service IP range
.
- network str
- CIDR address block. Example:
10.20.0.0/16
. - description str
- Description for IP filter list entry. Example:
Production service IP range
.
- network String
- CIDR address block. Example:
10.20.0.0/16
. - description String
- Description for IP filter list entry. Example:
Production service IP range
.
GetPgPgUserConfigMigration
- Host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - Port int
- Port number of the server where to migrate data from. Example:
1234
. - Dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - Ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - Method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - Password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - Ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - Username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- Host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - Port int
- Port number of the server where to migrate data from. Example:
1234
. - Dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - Ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - Ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - Method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - Password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - Ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - Username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host String
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port Integer
- Port number of the server where to migrate data from. Example:
1234
. - dbname String
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles String - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method String
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password String
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl Boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username String
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host string
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port number
- Port number of the server where to migrate data from. Example:
1234
. - dbname string
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs string - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles string - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method string
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password string
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username string
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host str
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port int
- Port number of the server where to migrate data from. Example:
1234
. - dbname str
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore_
dbs str - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore_
roles str - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method str
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password str
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl bool
- The server where to migrate data from is secured with SSL. Default:
true
. - username str
- User name for authentication with the server where to migrate data from. Example:
myname
.
- host String
- Hostname or IP address of the server where to migrate data from. Example:
my.server.com
. - port Number
- Port number of the server where to migrate data from. Example:
1234
. - dbname String
- Database name for bootstrapping the initial connection. Example:
defaultdb
. - ignore
Dbs String - Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example:
db1,db2
. - ignore
Roles String - Comma-separated list of database roles, which should be ignored during migration (supported by PostgreSQL only at the moment). Example:
role1,role2
. - method String
- Enum:
dump
,replication
. The migration method to be used (currently supported only by Redis, Dragonfly, MySQL and PostgreSQL service types). - password String
- Password for authentication with the server where to migrate data from. Example:
jjKk45Nnd
. - ssl Boolean
- The server where to migrate data from is secured with SSL. Default:
true
. - username String
- User name for authentication with the server where to migrate data from. Example:
myname
.
GetPgPgUserConfigPg
- Autovacuum
Analyze doubleScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- Autovacuum
Analyze intThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- Autovacuum
Freeze intMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - Autovacuum
Max intWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- Autovacuum
Naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- Autovacuum
Vacuum intCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- Autovacuum
Vacuum intCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- Autovacuum
Vacuum doubleScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- Autovacuum
Vacuum intThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- Bgwriter
Delay int - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - Bgwriter
Flush intAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - Bgwriter
Lru intMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - Bgwriter
Lru doubleMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - Deadlock
Timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - Default
Toast stringCompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - Idle
In intTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum intMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- Log
Error stringVerbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - Log
Line stringPrefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - Log
Min intDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- Log
Temp intFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- Max
Files intPer Process - PostgreSQL maximum number of files that can be open per process.
- Max
Locks intPer Transaction - PostgreSQL maximum locks per transaction.
- Max
Logical intReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- Max
Parallel intWorkers - Sets the maximum number of workers that the system can support for parallel queries.
- Max
Parallel intWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Max
Pred intLocks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- Max
Prepared intTransactions - PostgreSQL maximum prepared transactions.
- Max
Replication intSlots - PostgreSQL maximum replication slots.
- Max
Slot intWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- Max
Stack intDepth - Maximum depth of the stack in bytes.
- Max
Standby intArchive Delay - Max standby archive delay in milliseconds.
- Max
Standby intStreaming Delay - Max standby streaming delay in milliseconds.
- Max
Wal intSenders - PostgreSQL maximum WAL senders.
- Max
Worker intProcesses - Sets the maximum number of background processes that the system can support.
- Pg
Partman intBgw Dot Interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - Pg
Partman stringBgw Dot Role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - Pg
Stat boolMonitor Dot Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- Pg
Stat intMonitor Dot Pgsm Max Buckets - Sets the maximum number of buckets. Example:
10
. - Pg
Stat stringStatements Dot Track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - Temp
File intLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - Timezone string
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - Track
Activity intQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - Track
Commit stringTimestamp - Enum:
off
,on
. Record commit time of transactions. - Track
Functions string - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - Track
Io stringTiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - Wal
Sender intTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - Wal
Writer intDelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
- Autovacuum
Analyze float64Scale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- Autovacuum
Analyze intThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- Autovacuum
Freeze intMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - Autovacuum
Max intWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- Autovacuum
Naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- Autovacuum
Vacuum intCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- Autovacuum
Vacuum intCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- Autovacuum
Vacuum float64Scale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- Autovacuum
Vacuum intThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- Bgwriter
Delay int - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - Bgwriter
Flush intAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - Bgwriter
Lru intMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - Bgwriter
Lru float64Multiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - Deadlock
Timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - Default
Toast stringCompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - Idle
In intTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- Jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum intMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- Log
Error stringVerbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - Log
Line stringPrefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - Log
Min intDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- Log
Temp intFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- Max
Files intPer Process - PostgreSQL maximum number of files that can be open per process.
- Max
Locks intPer Transaction - PostgreSQL maximum locks per transaction.
- Max
Logical intReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- Max
Parallel intWorkers - Sets the maximum number of workers that the system can support for parallel queries.
- Max
Parallel intWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Max
Pred intLocks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- Max
Prepared intTransactions - PostgreSQL maximum prepared transactions.
- Max
Replication intSlots - PostgreSQL maximum replication slots.
- Max
Slot intWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- Max
Stack intDepth - Maximum depth of the stack in bytes.
- Max
Standby intArchive Delay - Max standby archive delay in milliseconds.
- Max
Standby intStreaming Delay - Max standby streaming delay in milliseconds.
- Max
Wal intSenders - PostgreSQL maximum WAL senders.
- Max
Worker intProcesses - Sets the maximum number of background processes that the system can support.
- Pg
Partman intBgw Dot Interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - Pg
Partman stringBgw Dot Role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - Pg
Stat boolMonitor Dot Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- Pg
Stat intMonitor Dot Pgsm Max Buckets - Sets the maximum number of buckets. Example:
10
. - Pg
Stat stringStatements Dot Track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - Temp
File intLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - Timezone string
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - Track
Activity intQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - Track
Commit stringTimestamp - Enum:
off
,on
. Record commit time of transactions. - Track
Functions string - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - Track
Io stringTiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - Wal
Sender intTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - Wal
Writer intDelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
- autovacuum
Analyze DoubleScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- autovacuum
Analyze IntegerThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- autovacuum
Freeze IntegerMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - autovacuum
Max IntegerWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- autovacuum
Naptime Integer - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuum
Vacuum IntegerCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- autovacuum
Vacuum IntegerCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- autovacuum
Vacuum DoubleScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- autovacuum
Vacuum IntegerThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriter
Delay Integer - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - bgwriter
Flush IntegerAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - bgwriter
Lru IntegerMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - bgwriter
Lru DoubleMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - deadlock
Timeout Integer - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - default
Toast StringCompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - idle
In IntegerTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- jit Boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum IntegerMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- log
Error StringVerbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - log
Line StringPrefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - log
Min IntegerDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp IntegerFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Files IntegerPer Process - PostgreSQL maximum number of files that can be open per process.
- max
Locks IntegerPer Transaction - PostgreSQL maximum locks per transaction.
- max
Logical IntegerReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- max
Parallel IntegerWorkers - Sets the maximum number of workers that the system can support for parallel queries.
- max
Parallel IntegerWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max
Pred IntegerLocks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- max
Prepared IntegerTransactions - PostgreSQL maximum prepared transactions.
- max
Replication IntegerSlots - PostgreSQL maximum replication slots.
- max
Slot IntegerWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- max
Stack IntegerDepth - Maximum depth of the stack in bytes.
- max
Standby IntegerArchive Delay - Max standby archive delay in milliseconds.
- max
Standby IntegerStreaming Delay - Max standby streaming delay in milliseconds.
- max
Wal IntegerSenders - PostgreSQL maximum WAL senders.
- max
Worker IntegerProcesses - Sets the maximum number of background processes that the system can support.
- pg
Partman IntegerBgw Dot Interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - pg
Partman StringBgw Dot Role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - pg
Stat BooleanMonitor Dot Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- pg
Stat IntegerMonitor Dot Pgsm Max Buckets - Sets the maximum number of buckets. Example:
10
. - pg
Stat StringStatements Dot Track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - temp
File IntegerLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - timezone String
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - track
Activity IntegerQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - track
Commit StringTimestamp - Enum:
off
,on
. Record commit time of transactions. - track
Functions String - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - track
Io StringTiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - wal
Sender IntegerTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - wal
Writer IntegerDelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
- autovacuum
Analyze numberScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- autovacuum
Analyze numberThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- autovacuum
Freeze numberMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - autovacuum
Max numberWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- autovacuum
Naptime number - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuum
Vacuum numberCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- autovacuum
Vacuum numberCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- autovacuum
Vacuum numberScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- autovacuum
Vacuum numberThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriter
Delay number - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - bgwriter
Flush numberAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - bgwriter
Lru numberMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - bgwriter
Lru numberMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - deadlock
Timeout number - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - default
Toast stringCompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - idle
In numberTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- jit boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum numberMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- log
Error stringVerbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - log
Line stringPrefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - log
Min numberDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp numberFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Files numberPer Process - PostgreSQL maximum number of files that can be open per process.
- max
Locks numberPer Transaction - PostgreSQL maximum locks per transaction.
- max
Logical numberReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- max
Parallel numberWorkers - Sets the maximum number of workers that the system can support for parallel queries.
- max
Parallel numberWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max
Pred numberLocks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- max
Prepared numberTransactions - PostgreSQL maximum prepared transactions.
- max
Replication numberSlots - PostgreSQL maximum replication slots.
- max
Slot numberWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- max
Stack numberDepth - Maximum depth of the stack in bytes.
- max
Standby numberArchive Delay - Max standby archive delay in milliseconds.
- max
Standby numberStreaming Delay - Max standby streaming delay in milliseconds.
- max
Wal numberSenders - PostgreSQL maximum WAL senders.
- max
Worker numberProcesses - Sets the maximum number of background processes that the system can support.
- pg
Partman numberBgw Dot Interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - pg
Partman stringBgw Dot Role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - pg
Stat booleanMonitor Dot Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- pg
Stat numberMonitor Dot Pgsm Max Buckets - Sets the maximum number of buckets. Example:
10
. - pg
Stat stringStatements Dot Track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - temp
File numberLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - timezone string
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - track
Activity numberQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - track
Commit stringTimestamp - Enum:
off
,on
. Record commit time of transactions. - track
Functions string - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - track
Io stringTiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - wal
Sender numberTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - wal
Writer numberDelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
- autovacuum_
analyze_ floatscale_ factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- autovacuum_
analyze_ intthreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- autovacuum_
freeze_ intmax_ age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - autovacuum_
max_ intworkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- autovacuum_
naptime int - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuum_
vacuum_ intcost_ delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- autovacuum_
vacuum_ intcost_ limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- autovacuum_
vacuum_ floatscale_ factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- autovacuum_
vacuum_ intthreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriter_
delay int - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - bgwriter_
flush_ intafter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - bgwriter_
lru_ intmaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - bgwriter_
lru_ floatmultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - deadlock_
timeout int - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - default_
toast_ strcompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - idle_
in_ inttransaction_ session_ timeout - Time out sessions with open transactions after this number of milliseconds.
- jit bool
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log_
autovacuum_ intmin_ duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- log_
error_ strverbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - log_
line_ strprefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - log_
min_ intduration_ statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log_
temp_ intfiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max_
files_ intper_ process - PostgreSQL maximum number of files that can be open per process.
- max_
locks_ intper_ transaction - PostgreSQL maximum locks per transaction.
- max_
logical_ intreplication_ workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- max_
parallel_ intworkers - Sets the maximum number of workers that the system can support for parallel queries.
- max_
parallel_ intworkers_ per_ gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max_
pred_ intlocks_ per_ transaction - PostgreSQL maximum predicate locks per transaction.
- max_
prepared_ inttransactions - PostgreSQL maximum prepared transactions.
- max_
replication_ intslots - PostgreSQL maximum replication slots.
- max_
slot_ intwal_ keep_ size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- max_
stack_ intdepth - Maximum depth of the stack in bytes.
- max_
standby_ intarchive_ delay - Max standby archive delay in milliseconds.
- max_
standby_ intstreaming_ delay - Max standby streaming delay in milliseconds.
- max_
wal_ intsenders - PostgreSQL maximum WAL senders.
- max_
worker_ intprocesses - Sets the maximum number of background processes that the system can support.
- pg_
partman_ intbgw_ dot_ interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - pg_
partman_ strbgw_ dot_ role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - pg_
stat_ boolmonitor_ dot_ pgsm_ enable_ query_ plan - Enables or disables query plan monitoring.
- pg_
stat_ intmonitor_ dot_ pgsm_ max_ buckets - Sets the maximum number of buckets. Example:
10
. - pg_
stat_ strstatements_ dot_ track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - temp_
file_ intlimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - timezone str
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - track_
activity_ intquery_ size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - track_
commit_ strtimestamp - Enum:
off
,on
. Record commit time of transactions. - track_
functions str - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - track_
io_ strtiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - wal_
sender_ inttimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - wal_
writer_ intdelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
- autovacuum
Analyze NumberScale Factor - Specifies a fraction of the table size to add to autovacuum_analyze_threshold when deciding whether to trigger an ANALYZE. The default is 0.2 (20% of table size).
- autovacuum
Analyze NumberThreshold - Specifies the minimum number of inserted, updated or deleted tuples needed to trigger an ANALYZE in any one table. The default is 50 tuples.
- autovacuum
Freeze NumberMax Age - Specifies the maximum age (in transactions) that a table's pg_class.relfrozenxid field can attain before a VACUUM operation is forced to prevent transaction ID wraparound within the table. Note that the system will launch autovacuum processes to prevent wraparound even when autovacuum is otherwise disabled. This parameter will cause the server to be restarted. Example:
200000000
. - autovacuum
Max NumberWorkers - Specifies the maximum number of autovacuum processes (other than the autovacuum launcher) that may be running at any one time. The default is three. This parameter can only be set at server start.
- autovacuum
Naptime Number - Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuum
Vacuum NumberCost Delay - Specifies the cost delay value that will be used in automatic VACUUM operations. If -1 is specified, the regular vacuum_cost_delay value will be used. The default value is 20 milliseconds.
- autovacuum
Vacuum NumberCost Limit - Specifies the cost limit value that will be used in automatic VACUUM operations. If -1 is specified (which is the default), the regular vacuum_cost_limit value will be used.
- autovacuum
Vacuum NumberScale Factor - Specifies a fraction of the table size to add to autovacuum_vacuum_threshold when deciding whether to trigger a VACUUM. The default is 0.2 (20% of table size).
- autovacuum
Vacuum NumberThreshold - Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriter
Delay Number - Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example:
200
. - bgwriter
Flush NumberAfter - Whenever more than bgwriter_flush_after bytes have been written by the background writer, attempt to force the OS to issue these writes to the underlying storage. Specified in kilobytes, default is 512. Setting of 0 disables forced writeback. Example:
512
. - bgwriter
Lru NumberMaxpages - In each round, no more than this many buffers will be written by the background writer. Setting this to zero disables background writing. Default is 100. Example:
100
. - bgwriter
Lru NumberMultiplier - The average recent need for new buffers is multiplied by bgwriter_lru_multiplier to arrive at an estimate of the number that will be needed during the next round, (up to bgwriter_lru_maxpages). 1.0 represents a “just in time” policy of writing exactly the number of buffers predicted to be needed. Larger values provide some cushion against spikes in demand, while smaller values intentionally leave writes to be done by server processes. The default is 2.0. Example:
2.0
. - deadlock
Timeout Number - This is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition. Example:
1000
. - default
Toast StringCompression - Enum:
lz4
,pglz
. Specifies the default TOAST compression method for values of compressible columns (the default is lz4). - idle
In NumberTransaction Session Timeout - Time out sessions with open transactions after this number of milliseconds.
- jit Boolean
- Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum NumberMin Duration - Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- log
Error StringVerbosity - Enum:
DEFAULT
,TERSE
,VERBOSE
. Controls the amount of detail written in the server log for each message that is logged. - log
Line StringPrefix - Enum:
'%m [%p] %q[user=%u,db=%d,app=%a] '
,'%t [%p]: [%l-1] user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h '
,'pid=%p,user=%u,db=%d,app=%a,client=%h,txid=%x,qid=%Q '
. Choose from one of the available log formats. - log
Min NumberDuration Statement - Log statements that take more than this number of milliseconds to run, -1 disables.
- log
Temp NumberFiles - Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- max
Files NumberPer Process - PostgreSQL maximum number of files that can be open per process.
- max
Locks NumberPer Transaction - PostgreSQL maximum locks per transaction.
- max
Logical NumberReplication Workers - PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- max
Parallel NumberWorkers - Sets the maximum number of workers that the system can support for parallel queries.
- max
Parallel NumberWorkers Per Gather - Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max
Pred NumberLocks Per Transaction - PostgreSQL maximum predicate locks per transaction.
- max
Prepared NumberTransactions - PostgreSQL maximum prepared transactions.
- max
Replication NumberSlots - PostgreSQL maximum replication slots.
- max
Slot NumberWal Keep Size - PostgreSQL maximum WAL size (MB) reserved for replication slots. Default is -1 (unlimited). wal_keep_size minimum WAL size setting takes precedence over this.
- max
Stack NumberDepth - Maximum depth of the stack in bytes.
- max
Standby NumberArchive Delay - Max standby archive delay in milliseconds.
- max
Standby NumberStreaming Delay - Max standby streaming delay in milliseconds.
- max
Wal NumberSenders - PostgreSQL maximum WAL senders.
- max
Worker NumberProcesses - Sets the maximum number of background processes that the system can support.
- pg
Partman NumberBgw Dot Interval - Sets the time interval to run pg_partman's scheduled tasks. Example:
3600
. - pg
Partman StringBgw Dot Role - Controls which role to use for pg_partman's scheduled background tasks. Example:
myrolename
. - pg
Stat BooleanMonitor Dot Pgsm Enable Query Plan - Enables or disables query plan monitoring.
- pg
Stat NumberMonitor Dot Pgsm Max Buckets - Sets the maximum number of buckets. Example:
10
. - pg
Stat StringStatements Dot Track - Enum:
all
,none
,top
. Controls which statements are counted. Specify top to track top-level statements (those issued directly by clients), all to also track nested statements (such as statements invoked within functions), or none to disable statement statistics collection. The default value is top. - temp
File NumberLimit - PostgreSQL temporary file limit in KiB, -1 for unlimited. Example:
5000000
. - timezone String
- PostgreSQL service timezone. Example:
Europe/Helsinki
. - track
Activity NumberQuery Size - Specifies the number of bytes reserved to track the currently executing command for each active session. Example:
1024
. - track
Commit StringTimestamp - Enum:
off
,on
. Record commit time of transactions. - track
Functions String - Enum:
all
,none
,pl
. Enables tracking of function call counts and time used. - track
Io StringTiming - Enum:
off
,on
. Enables timing of database I/O calls. This parameter is off by default, because it will repeatedly query the operating system for the current time, which may cause significant overhead on some platforms. - wal
Sender NumberTimeout - Terminate replication connections that are inactive for longer than this amount of time, in milliseconds. Setting this value to zero disables the timeout. Example:
60000
. - wal
Writer NumberDelay - WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example:
50
.
GetPgPgUserConfigPgQualstats
- Enabled bool
- Enable / Disable pg_qualstats. Default:
false
. - Min
Err intEstimate Num - Error estimation num threshold to save quals. Default:
0
. - Min
Err intEstimate Ratio - Error estimation ratio threshold to save quals. Default:
0
. - Track
Constants bool - Enable / Disable pg_qualstats constants tracking. Default:
true
. - Track
Pg boolCatalog - Track quals on system catalogs too. Default:
false
.
- Enabled bool
- Enable / Disable pg_qualstats. Default:
false
. - Min
Err intEstimate Num - Error estimation num threshold to save quals. Default:
0
. - Min
Err intEstimate Ratio - Error estimation ratio threshold to save quals. Default:
0
. - Track
Constants bool - Enable / Disable pg_qualstats constants tracking. Default:
true
. - Track
Pg boolCatalog - Track quals on system catalogs too. Default:
false
.
- enabled Boolean
- Enable / Disable pg_qualstats. Default:
false
. - min
Err IntegerEstimate Num - Error estimation num threshold to save quals. Default:
0
. - min
Err IntegerEstimate Ratio - Error estimation ratio threshold to save quals. Default:
0
. - track
Constants Boolean - Enable / Disable pg_qualstats constants tracking. Default:
true
. - track
Pg BooleanCatalog - Track quals on system catalogs too. Default:
false
.
- enabled boolean
- Enable / Disable pg_qualstats. Default:
false
. - min
Err numberEstimate Num - Error estimation num threshold to save quals. Default:
0
. - min
Err numberEstimate Ratio - Error estimation ratio threshold to save quals. Default:
0
. - track
Constants boolean - Enable / Disable pg_qualstats constants tracking. Default:
true
. - track
Pg booleanCatalog - Track quals on system catalogs too. Default:
false
.
- enabled bool
- Enable / Disable pg_qualstats. Default:
false
. - min_
err_ intestimate_ num - Error estimation num threshold to save quals. Default:
0
. - min_
err_ intestimate_ ratio - Error estimation ratio threshold to save quals. Default:
0
. - track_
constants bool - Enable / Disable pg_qualstats constants tracking. Default:
true
. - track_
pg_ boolcatalog - Track quals on system catalogs too. Default:
false
.
- enabled Boolean
- Enable / Disable pg_qualstats. Default:
false
. - min
Err NumberEstimate Num - Error estimation num threshold to save quals. Default:
0
. - min
Err NumberEstimate Ratio - Error estimation ratio threshold to save quals. Default:
0
. - track
Constants Boolean - Enable / Disable pg_qualstats constants tracking. Default:
true
. - track
Pg BooleanCatalog - Track quals on system catalogs too. Default:
false
.
GetPgPgUserConfigPgaudit
- Feature
Enabled bool - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - Log
Catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - Log
Client bool - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - Log
Level string - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - Log
Max intString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - Log
Nested boolStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - Log
Parameter bool - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - Log
Parameter intMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - Log
Relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - Log
Rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - Log
Statement bool - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - Log
Statement boolOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - Logs List<string>
- Specifies which classes of statements will be logged by session audit logging.
- Role string
- Specifies the master role to use for object audit logging.
- Feature
Enabled bool - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - Log
Catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - Log
Client bool - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - Log
Level string - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - Log
Max intString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - Log
Nested boolStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - Log
Parameter bool - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - Log
Parameter intMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - Log
Relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - Log
Rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - Log
Statement bool - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - Log
Statement boolOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - Logs []string
- Specifies which classes of statements will be logged by session audit logging.
- Role string
- Specifies the master role to use for object audit logging.
- feature
Enabled Boolean - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - log
Catalog Boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - log
Client Boolean - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - log
Level String - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - log
Max IntegerString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - log
Nested BooleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - log
Parameter Boolean - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - log
Parameter IntegerMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - log
Relation Boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - log
Rows Boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - log
Statement Boolean - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - log
Statement BooleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - logs List<String>
- Specifies which classes of statements will be logged by session audit logging.
- role String
- Specifies the master role to use for object audit logging.
- feature
Enabled boolean - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - log
Catalog boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - log
Client boolean - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - log
Level string - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - log
Max numberString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - log
Nested booleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - log
Parameter boolean - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - log
Parameter numberMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - log
Relation boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - log
Rows boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - log
Statement boolean - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - log
Statement booleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - logs string[]
- Specifies which classes of statements will be logged by session audit logging.
- role string
- Specifies the master role to use for object audit logging.
- feature_
enabled bool - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - log_
catalog bool - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - log_
client bool - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - log_
level str - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - log_
max_ intstring_ length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - log_
nested_ boolstatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - log_
parameter bool - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - log_
parameter_ intmax_ size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - log_
relation bool - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - log_
rows bool - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - log_
statement bool - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - log_
statement_ boolonce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - logs Sequence[str]
- Specifies which classes of statements will be logged by session audit logging.
- role str
- Specifies the master role to use for object audit logging.
- feature
Enabled Boolean - Enable pgaudit extension. When enabled, pgaudit extension will be automatically installed.Otherwise, extension will be uninstalled but auditing configurations will be preserved. Default:
false
. - log
Catalog Boolean - Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default:
true
. - log
Client Boolean - Specifies whether log messages will be visible to a client process such as psql. Default:
false
. - log
Level String - Enum:
debug1
,debug2
,debug3
,debug4
,debug5
,info
,notice
,warning
,log
. Specifies the log level that will be used for log entries. Default:log
. - log
Max NumberString Length - Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default:
-1
. - log
Nested BooleanStatements - This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default:
true
. - log
Parameter Boolean - Specifies that audit logging should include the parameters that were passed with the statement. Default:
false
. - log
Parameter NumberMax Size - Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default:
0
. - log
Relation Boolean - Specifies whether session audit logging should create a separate log entry for each relation (TABLE, VIEW, etc.) referenced in a SELECT or DML statement. Default:
false
. - log
Rows Boolean - Specifies that audit logging should include the rows retrieved or affected by a statement. When enabled the rows field will be included after the parameter field. Default:
false
. - log
Statement Boolean - Specifies whether logging will include the statement text and parameters (if enabled). Default:
true
. - log
Statement BooleanOnce - Specifies whether logging will include the statement text and parameters with the first log entry for a statement/substatement combination or with every entry. Default:
false
. - logs List<String>
- Specifies which classes of statements will be logged by session audit logging.
- role String
- Specifies the master role to use for object audit logging.
GetPgPgUserConfigPgbouncer
- Autodb
Idle intTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - Autodb
Max intDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - Autodb
Pool stringMode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - Autodb
Pool intSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - Ignore
Startup List<string>Parameters - List of parameters to ignore when given in startup packet.
- Max
Prepared intStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - Min
Pool intSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - Server
Idle intTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - Server
Lifetime int - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - Server
Reset boolQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
- Autodb
Idle intTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - Autodb
Max intDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - Autodb
Pool stringMode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - Autodb
Pool intSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - Ignore
Startup []stringParameters - List of parameters to ignore when given in startup packet.
- Max
Prepared intStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - Min
Pool intSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - Server
Idle intTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - Server
Lifetime int - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - Server
Reset boolQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
- autodb
Idle IntegerTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - autodb
Max IntegerDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - autodb
Pool StringMode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - autodb
Pool IntegerSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - ignore
Startup List<String>Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared IntegerStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - min
Pool IntegerSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - server
Idle IntegerTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - server
Lifetime Integer - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - server
Reset BooleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
- autodb
Idle numberTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - autodb
Max numberDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - autodb
Pool stringMode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - autodb
Pool numberSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - ignore
Startup string[]Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared numberStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - min
Pool numberSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - server
Idle numberTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - server
Lifetime number - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - server
Reset booleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
- autodb_
idle_ inttimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - autodb_
max_ intdb_ connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - autodb_
pool_ strmode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - autodb_
pool_ intsize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - ignore_
startup_ Sequence[str]parameters - List of parameters to ignore when given in startup packet.
- max_
prepared_ intstatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - min_
pool_ intsize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - server_
idle_ inttimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - server_
lifetime int - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - server_
reset_ boolquery_ always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
- autodb
Idle NumberTimeout - If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled. (seconds). Default:
3600
. - autodb
Max NumberDb Connections - Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example:
0
. - autodb
Pool StringMode - Enum:
session
,statement
,transaction
. PGBouncer pool mode. Default:transaction
. - autodb
Pool NumberSize - If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default:
0
. - ignore
Startup List<String>Parameters - List of parameters to ignore when given in startup packet.
- max
Prepared NumberStatements - PgBouncer tracks protocol-level named prepared statements related commands sent by the client in transaction and statement pooling modes when max_prepared_statements is set to a non-zero value. Setting it to 0 disables prepared statements. max_prepared_statements defaults to 100, and its maximum is 3000. Default:
100
. - min
Pool NumberSize - Add more server connections to pool if below this number. Improves behavior when usual load comes suddenly back after period of total inactivity. The value is effectively capped at the pool size. Default:
0
. - server
Idle NumberTimeout - If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled. (seconds). Default:
600
. - server
Lifetime Number - The pooler will close an unused server connection that has been connected longer than this. (seconds). Default:
3600
. - server
Reset BooleanQuery Always - Run server_reset_query (DISCARD ALL) in all pooling modes. Default:
false
.
GetPgPgUserConfigPglookout
- Max
Failover intReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
- Max
Failover intReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
- max
Failover IntegerReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
- max
Failover numberReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
- max_
failover_ intreplication_ time_ lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
- max
Failover NumberReplication Time Lag - Number of seconds of master unavailability before triggering database failover to standby. Default:
60
.
GetPgPgUserConfigPrivateAccess
- Pg bool
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Pgbouncer bool
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Pg bool
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Pgbouncer bool
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- Prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pg Boolean
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pgbouncer Boolean
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus Boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pg boolean
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pgbouncer boolean
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pg bool
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pgbouncer bool
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus bool
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pg Boolean
- Allow clients to connect to pg with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- pgbouncer Boolean
- Allow clients to connect to pgbouncer with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
- prometheus Boolean
- Allow clients to connect to prometheus with a DNS name that always resolves to the service's private IP addresses. Only available in certain network locations.
GetPgPgUserConfigPrivatelinkAccess
- Pg bool
- Enable pg.
- Pgbouncer bool
- Enable pgbouncer.
- Prometheus bool
- Enable prometheus.
- Pg bool
- Enable pg.
- Pgbouncer bool
- Enable pgbouncer.
- Prometheus bool
- Enable prometheus.
- pg Boolean
- Enable pg.
- pgbouncer Boolean
- Enable pgbouncer.
- prometheus Boolean
- Enable prometheus.
- pg boolean
- Enable pg.
- pgbouncer boolean
- Enable pgbouncer.
- prometheus boolean
- Enable prometheus.
- pg bool
- Enable pg.
- pgbouncer bool
- Enable pgbouncer.
- prometheus bool
- Enable prometheus.
- pg Boolean
- Enable pg.
- pgbouncer Boolean
- Enable pgbouncer.
- prometheus Boolean
- Enable prometheus.
GetPgPgUserConfigPublicAccess
- Pg bool
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- Pgbouncer bool
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- Prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- Pg bool
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- Pgbouncer bool
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- Prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- pg Boolean
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- pgbouncer Boolean
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus Boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- pg boolean
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- pgbouncer boolean
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- pg bool
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- pgbouncer bool
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus bool
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
- pg Boolean
- Allow clients to connect to pg from the public internet for service nodes that are in a project VPC or another type of private network.
- pgbouncer Boolean
- Allow clients to connect to pgbouncer from the public internet for service nodes that are in a project VPC or another type of private network.
- prometheus Boolean
- Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network.
GetPgPgUserConfigTimescaledb
- Max
Background intWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
- Max
Background intWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
- max
Background IntegerWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
- max
Background numberWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
- max_
background_ intworkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
- max
Background NumberWorkers - The number of background workers for timescaledb operations. You should configure this setting to the sum of your number of databases and the total number of concurrent background workers you want running at any given point in time. Default:
16
.
GetPgServiceIntegration
- Integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName - Name of the source service
- Integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- Source
Service stringName - Name of the source service
- integration
Type String - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName - Name of the source service
- integration
Type string - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service stringName - Name of the source service
- integration_
type str - Type of the service integration. The only supported value at the moment is
read_replica
- source_
service_ strname - Name of the source service
- integration
Type String - Type of the service integration. The only supported value at the moment is
read_replica
- source
Service StringName - Name of the source service
GetPgTag
GetPgTechEmail
- Email string
- An email address to contact for technical issues
- Email string
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
- email string
- An email address to contact for technical issues
- email str
- An email address to contact for technical issues
- email String
- An email address to contact for technical issues
Package Details
- Repository
- Aiven pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.