Aiven v6.36.0 published on Thursday, Mar 13, 2025 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)
public static Output<GetPgResult> getPg(GetPgArgs args, InvokeOptions options)
fn::invoke:
  function: aiven:index/getPg:getPg
  arguments:
    # arguments dictionaryThe 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.
- ServiceName 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.
- ServiceName 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.
- serviceName 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.
- serviceName 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.
- serviceName 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:
- AdditionalDisk 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.
- CloudName string
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- Components
List<GetPg Component> 
- Service component information objects
- DiskSpace 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.
- DiskSpace stringCap 
- The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- DiskSpace 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
- DiskSpace stringStep 
- The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_spaceneeds to increment fromdisk_space_defaultby increments of this size.
- DiskSpace stringUsed 
- Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- MaintenanceWindow stringDow 
- Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- MaintenanceWindow stringTime 
- Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- PgUser 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<GetPg 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-xandpremium-xwherexis (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.
- ProjectVpc 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.
- ServiceHost string
- The hostname of the service.
- ServiceIntegrations List<GetPg Service Integration> 
- Service integrations to specify when creating a service. Not applied after initial service creation
- ServiceName 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.
- ServicePassword string
- Password used for connecting to the service, if applicable
- ServicePort int
- The port of the service
- ServiceType string
- Aiven internal service type code
- ServiceUri string
- URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- ServiceUsername string
- Username used for connecting to the service, if applicable
- State string
- Service state. One of POWEROFF,REBALANCING,REBUILDINGorRUNNING
- StaticIps 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<GetPg Tag> 
- Tags are key-value pairs that allow you to categorize services.
- TechEmails 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.
- TerminationProtection bool
- Prevents the service from being deleted. It is recommended to set this to truefor 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.
- AdditionalDisk 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.
- CloudName string
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- Components
[]GetPg Component 
- Service component information objects
- DiskSpace 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.
- DiskSpace stringCap 
- The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- DiskSpace 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
- DiskSpace stringStep 
- The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_spaceneeds to increment fromdisk_space_defaultby increments of this size.
- DiskSpace stringUsed 
- Disk space that service is currently using
- Id string
- The provider-assigned unique ID for this managed resource.
- MaintenanceWindow stringDow 
- Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- MaintenanceWindow stringTime 
- Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- PgUser []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
[]GetPg 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-xandpremium-xwherexis (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.
- ProjectVpc 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.
- ServiceHost string
- The hostname of the service.
- ServiceIntegrations []GetPg Service Integration 
- Service integrations to specify when creating a service. Not applied after initial service creation
- ServiceName 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.
- ServicePassword string
- Password used for connecting to the service, if applicable
- ServicePort int
- The port of the service
- ServiceType string
- Aiven internal service type code
- ServiceUri string
- URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- ServiceUsername string
- Username used for connecting to the service, if applicable
- State string
- Service state. One of POWEROFF,REBALANCING,REBUILDINGorRUNNING
- StaticIps []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
- 
[]GetPg Tag 
- Tags are key-value pairs that allow you to categorize services.
- TechEmails []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.
- TerminationProtection bool
- Prevents the service from being deleted. It is recommended to set this to truefor 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.
- additionalDisk 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.
- cloudName String
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- components
List<GetPg Component> 
- Service component information objects
- diskSpace 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.
- diskSpace StringCap 
- The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- diskSpace 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
- diskSpace StringStep 
- The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_spaceneeds to increment fromdisk_space_defaultby increments of this size.
- diskSpace StringUsed 
- Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenanceWindow StringDow 
- Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenanceWindow StringTime 
- Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pgUser 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<GetPg 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-xandpremium-xwherexis (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.
- projectVpc 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.
- serviceHost String
- The hostname of the service.
- serviceIntegrations List<GetPg Service Integration> 
- Service integrations to specify when creating a service. Not applied after initial service creation
- serviceName 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.
- servicePassword String
- Password used for connecting to the service, if applicable
- servicePort Integer
- The port of the service
- serviceType String
- Aiven internal service type code
- serviceUri String
- URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- serviceUsername String
- Username used for connecting to the service, if applicable
- state String
- Service state. One of POWEROFF,REBALANCING,REBUILDINGorRUNNING
- staticIps 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<GetPg Tag> 
- Tags are key-value pairs that allow you to categorize services.
- techEmails 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.
- terminationProtection Boolean
- Prevents the service from being deleted. It is recommended to set this to truefor 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.
- additionalDisk 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.
- cloudName string
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- components
GetPg Component[] 
- Service component information objects
- diskSpace 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.
- diskSpace stringCap 
- The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- diskSpace 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
- diskSpace stringStep 
- The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_spaceneeds to increment fromdisk_space_defaultby increments of this size.
- diskSpace stringUsed 
- Disk space that service is currently using
- id string
- The provider-assigned unique ID for this managed resource.
- maintenanceWindow stringDow 
- Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenanceWindow stringTime 
- Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pgUser 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
GetPg 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-xandpremium-xwherexis (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.
- projectVpc 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.
- serviceHost string
- The hostname of the service.
- serviceIntegrations GetPg Service Integration[] 
- Service integrations to specify when creating a service. Not applied after initial service creation
- serviceName 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.
- servicePassword string
- Password used for connecting to the service, if applicable
- servicePort number
- The port of the service
- serviceType string
- Aiven internal service type code
- serviceUri string
- URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- serviceUsername string
- Username used for connecting to the service, if applicable
- state string
- Service state. One of POWEROFF,REBALANCING,REBUILDINGorRUNNING
- staticIps 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
- 
GetPg Tag[] 
- Tags are key-value pairs that allow you to categorize services.
- techEmails 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.
- terminationProtection boolean
- Prevents the service from being deleted. It is recommended to set this to truefor 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
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- components
Sequence[GetPg 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_spaceneeds to increment fromdisk_space_defaultby 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[GetPg 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-xandpremium-xwherexis (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,REBUILDINGorRUNNING
- 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[GetPg 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 truefor 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.
- additionalDisk 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.
- cloudName String
- The cloud provider and region the service is hosted in. The format is provider-region, for example:google-europe-west1. The available cloud regions can differ per project and service. Changing this value migrates the service to another cloud provider or region. The migration runs in the background and includes a DNS update to redirect traffic to the new region. Most services experience no downtime, but some databases may have a brief interruption during DNS propagation.
- components List<Property Map>
- Service component information objects
- diskSpace 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.
- diskSpace StringCap 
- The maximum disk space of the service, possible values depend on the service type, the cloud provider and the project.
- diskSpace 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
- diskSpace StringStep 
- The default disk space step of the service, possible values depend on the service type, the cloud provider and the project. disk_spaceneeds to increment fromdisk_space_defaultby increments of this size.
- diskSpace StringUsed 
- Disk space that service is currently using
- id String
- The provider-assigned unique ID for this managed resource.
- maintenanceWindow StringDow 
- Day of week when maintenance operations should be performed. One monday, tuesday, wednesday, etc.
- maintenanceWindow StringTime 
- Time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pgUser 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-xandpremium-xwherexis (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.
- projectVpc 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.
- serviceHost String
- The hostname of the service.
- serviceIntegrations List<Property Map>
- Service integrations to specify when creating a service. Not applied after initial service creation
- serviceName 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.
- servicePassword String
- Password used for connecting to the service, if applicable
- servicePort Number
- The port of the service
- serviceType String
- Aiven internal service type code
- serviceUri String
- URI for connecting to the service. Service specific info is under "kafka", "pg", etc.
- serviceUsername String
- Username used for connecting to the service, if applicable
- state String
- Service state. One of POWEROFF,REBALANCING,REBUILDINGorRUNNING
- staticIps 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.
- techEmails 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.
- terminationProtection Boolean
- Prevents the service from being deleted. It is recommended to set this to truefor 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
- ConnectionUri 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
- KafkaAuthentication 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
- ConnectionUri 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
- KafkaAuthentication 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
- connectionUri 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
- kafkaAuthentication 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
- connectionUri 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
- kafkaAuthentication 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
- connectionUri 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
- kafkaAuthentication 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.
- MaxConnections int
- The number of allowed connections. Varies based on the service plan.
- Params
List<GetPg Pg Param> 
- PostgreSQL connection parameters.
- Password string
- PostgreSQL admin user password.
- Port int
- PostgreSQL port.
- ReplicaUri string
- PostgreSQL replica URI for services with a replica.
- Sslmode string
- PostgreSQL SSL mode setting.
- StandbyUris List<string>
- PostgreSQL standby connection URIs.
- SyncingUris 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.
- MaxConnections int
- The number of allowed connections. Varies based on the service plan.
- Params
[]GetPg Pg Param 
- PostgreSQL connection parameters.
- Password string
- PostgreSQL admin user password.
- Port int
- PostgreSQL port.
- ReplicaUri string
- PostgreSQL replica URI for services with a replica.
- Sslmode string
- PostgreSQL SSL mode setting.
- StandbyUris []string
- PostgreSQL standby connection URIs.
- SyncingUris []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.
- maxConnections Integer
- The number of allowed connections. Varies based on the service plan.
- params
List<GetPg Pg Param> 
- PostgreSQL connection parameters.
- password String
- PostgreSQL admin user password.
- port Integer
- PostgreSQL port.
- replicaUri String
- PostgreSQL replica URI for services with a replica.
- sslmode String
- PostgreSQL SSL mode setting.
- standbyUris List<String>
- PostgreSQL standby connection URIs.
- syncingUris 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.
- maxConnections number
- The number of allowed connections. Varies based on the service plan.
- params
GetPg Pg Param[] 
- PostgreSQL connection parameters.
- password string
- PostgreSQL admin user password.
- port number
- PostgreSQL port.
- replicaUri string
- PostgreSQL replica URI for services with a replica.
- sslmode string
- PostgreSQL SSL mode setting.
- standbyUris string[]
- PostgreSQL standby connection URIs.
- syncingUris 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[GetPg 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.
- maxConnections 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.
- replicaUri String
- PostgreSQL replica URI for services with a replica.
- sslmode String
- PostgreSQL SSL mode setting.
- standbyUris List<String>
- PostgreSQL standby connection URIs.
- syncingUris 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    
- AdditionalBackup stringRegions 
- Additional Cloud Regions for Backup Replication.
- AdminPassword string
- Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- AdminUsername string
- Custom username for admin user. This must be set only when a new service is being created. Example: avnadmin.
- BackupHour 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.
- BackupMinute 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.
- EnableIpv6 bool
- Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- IpFilter List<GetObjects Pg Pg User Config Ip Filter Object> 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16
- IpFilter List<string>Strings 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- IpFilters List<string>
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- Migration
GetPg Pg User Config Migration 
- Migrate data from existing server
- Pg
GetPg Pg User Config Pg 
- postgresql.conf configuration values
- PgQualstats GetPg Pg User Config Pg Qualstats 
- System-wide settings for the pg_qualstats extension
- PgRead boolReplica 
- Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- PgService 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.
- PgStat 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.
- PgVersion string
- Enum: 10,11,12,13,14,15,16,17, and newer. PostgreSQL major version.
- Pgaudit
GetPg Pg User Config Pgaudit 
- System-wide settings for the pgaudit extension
- Pgbouncer
GetPg Pg User Config Pgbouncer 
- PGBouncer connection pooling settings
- Pglookout
GetPg Pg User Config Pglookout 
- System-wide settings for pglookout
- PrivateAccess GetPg Pg User Config Private Access 
- Allow access to selected service ports from private networks
- PrivatelinkAccess GetPg Pg User Config Privatelink Access 
- Allow access to selected service components through Privatelink
- ProjectTo stringFork From 
- Name of another project to fork a service from. This has effect only when a new service is being created. Example: anotherprojectname.
- PublicAccess GetPg Pg User Config Public Access 
- Allow access to selected service ports from the public Internet
- RecoveryTarget 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.
- ServiceLog bool
- Store logs for the service so that they are available in the HTTP API and console.
- ServiceTo 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.
- StaticIps bool
- Use static public IP addresses.
- SynchronousReplication string
- Enum: off,quorum. Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Timescaledb
GetPg 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.
- WorkMem 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.
- AdditionalBackup stringRegions 
- Additional Cloud Regions for Backup Replication.
- AdminPassword string
- Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- AdminUsername string
- Custom username for admin user. This must be set only when a new service is being created. Example: avnadmin.
- BackupHour 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.
- BackupMinute 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.
- EnableIpv6 bool
- Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- IpFilter []GetObjects Pg Pg User Config Ip Filter Object 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16
- IpFilter []stringStrings 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- IpFilters []string
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- Migration
GetPg Pg User Config Migration 
- Migrate data from existing server
- Pg
GetPg Pg User Config Pg 
- postgresql.conf configuration values
- PgQualstats GetPg Pg User Config Pg Qualstats 
- System-wide settings for the pg_qualstats extension
- PgRead boolReplica 
- Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- PgService 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.
- PgStat 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.
- PgVersion string
- Enum: 10,11,12,13,14,15,16,17, and newer. PostgreSQL major version.
- Pgaudit
GetPg Pg User Config Pgaudit 
- System-wide settings for the pgaudit extension
- Pgbouncer
GetPg Pg User Config Pgbouncer 
- PGBouncer connection pooling settings
- Pglookout
GetPg Pg User Config Pglookout 
- System-wide settings for pglookout
- PrivateAccess GetPg Pg User Config Private Access 
- Allow access to selected service ports from private networks
- PrivatelinkAccess GetPg Pg User Config Privatelink Access 
- Allow access to selected service components through Privatelink
- ProjectTo stringFork From 
- Name of another project to fork a service from. This has effect only when a new service is being created. Example: anotherprojectname.
- PublicAccess GetPg Pg User Config Public Access 
- Allow access to selected service ports from the public Internet
- RecoveryTarget 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.
- ServiceLog bool
- Store logs for the service so that they are available in the HTTP API and console.
- ServiceTo 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.
- StaticIps bool
- Use static public IP addresses.
- SynchronousReplication string
- Enum: off,quorum. Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Timescaledb
GetPg 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.
- WorkMem 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.
- additionalBackup StringRegions 
- Additional Cloud Regions for Backup Replication.
- adminPassword String
- Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- adminUsername String
- Custom username for admin user. This must be set only when a new service is being created. Example: avnadmin.
- backupHour 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.
- backupMinute 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.
- enableIpv6 Boolean
- Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ipFilter List<GetObjects Pg Pg User Config Ip Filter Object> 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16
- ipFilter List<String>Strings 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- ipFilters List<String>
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- migration
GetPg Pg User Config Migration 
- Migrate data from existing server
- pg
GetPg Pg User Config Pg 
- postgresql.conf configuration values
- pgQualstats GetPg Pg User Config Pg Qualstats 
- System-wide settings for the pg_qualstats extension
- pgRead BooleanReplica 
- Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pgService 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.
- pgStat 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.
- pgVersion String
- Enum: 10,11,12,13,14,15,16,17, and newer. PostgreSQL major version.
- pgaudit
GetPg Pg User Config Pgaudit 
- System-wide settings for the pgaudit extension
- pgbouncer
GetPg Pg User Config Pgbouncer 
- PGBouncer connection pooling settings
- pglookout
GetPg Pg User Config Pglookout 
- System-wide settings for pglookout
- privateAccess GetPg Pg User Config Private Access 
- Allow access to selected service ports from private networks
- privatelinkAccess GetPg Pg User Config Privatelink Access 
- Allow access to selected service components through Privatelink
- projectTo StringFork From 
- Name of another project to fork a service from. This has effect only when a new service is being created. Example: anotherprojectname.
- publicAccess GetPg Pg User Config Public Access 
- Allow access to selected service ports from the public Internet
- recoveryTarget 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.
- serviceLog Boolean
- Store logs for the service so that they are available in the HTTP API and console.
- serviceTo 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.
- staticIps Boolean
- Use static public IP addresses.
- synchronousReplication String
- Enum: off,quorum. Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- timescaledb
GetPg 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.
- workMem 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.
- additionalBackup stringRegions 
- Additional Cloud Regions for Backup Replication.
- adminPassword string
- Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- adminUsername string
- Custom username for admin user. This must be set only when a new service is being created. Example: avnadmin.
- backupHour 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.
- backupMinute 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.
- enableIpv6 boolean
- Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ipFilter GetObjects Pg Pg User Config Ip Filter Object[] 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16
- ipFilter string[]Strings 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- ipFilters string[]
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- migration
GetPg Pg User Config Migration 
- Migrate data from existing server
- pg
GetPg Pg User Config Pg 
- postgresql.conf configuration values
- pgQualstats GetPg Pg User Config Pg Qualstats 
- System-wide settings for the pg_qualstats extension
- pgRead booleanReplica 
- Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pgService 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.
- pgStat 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.
- pgVersion string
- Enum: 10,11,12,13,14,15,16,17, and newer. PostgreSQL major version.
- pgaudit
GetPg Pg User Config Pgaudit 
- System-wide settings for the pgaudit extension
- pgbouncer
GetPg Pg User Config Pgbouncer 
- PGBouncer connection pooling settings
- pglookout
GetPg Pg User Config Pglookout 
- System-wide settings for pglookout
- privateAccess GetPg Pg User Config Private Access 
- Allow access to selected service ports from private networks
- privatelinkAccess GetPg Pg User Config Privatelink Access 
- Allow access to selected service components through Privatelink
- projectTo stringFork From 
- Name of another project to fork a service from. This has effect only when a new service is being created. Example: anotherprojectname.
- publicAccess GetPg Pg User Config Public Access 
- Allow access to selected service ports from the public Internet
- recoveryTarget 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.
- serviceLog boolean
- Store logs for the service so that they are available in the HTTP API and console.
- serviceTo 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.
- staticIps boolean
- Use static public IP addresses.
- synchronousReplication string
- Enum: off,quorum. Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- timescaledb
GetPg 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.
- workMem 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
GetPg Pg User Config Migration 
- Migrate data from existing server
- pg
GetPg 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,17, and newer. PostgreSQL major version.
- pgaudit
GetPg Pg User Config Pgaudit 
- System-wide settings for the pgaudit extension
- pgbouncer
GetPg Pg User Config Pgbouncer 
- PGBouncer connection pooling settings
- pglookout
GetPg 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
GetPg 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.
- additionalBackup StringRegions 
- Additional Cloud Regions for Backup Replication.
- adminPassword String
- Custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- adminUsername String
- Custom username for admin user. This must be set only when a new service is being created. Example: avnadmin.
- backupHour 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.
- backupMinute 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.
- enableIpv6 Boolean
- Register AAAA DNS records for the service, and allow IPv6 packets to service ports.
- ipFilter List<Property Map>Objects 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16
- ipFilter List<String>Strings 
- Allow incoming connections from CIDR address block, e.g. 10.20.0.0/16.
- ipFilters 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
- pgQualstats Property Map
- System-wide settings for the pg_qualstats extension
- pgRead BooleanReplica 
- Should the service which is being forked be a read replica (deprecated, use read_replica service integration instead).
- pgService 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.
- pgStat 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.
- pgVersion String
- Enum: 10,11,12,13,14,15,16,17, 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
- privateAccess Property Map
- Allow access to selected service ports from private networks
- privatelinkAccess Property Map
- Allow access to selected service components through Privatelink
- projectTo StringFork From 
- Name of another project to fork a service from. This has effect only when a new service is being created. Example: anotherprojectname.
- publicAccess Property Map
- Allow access to selected service ports from the public Internet
- recoveryTarget 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.
- serviceLog Boolean
- Store logs for the service so that they are available in the HTTP API and console.
- serviceTo 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.
- staticIps Boolean
- Use static public IP addresses.
- synchronousReplication 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.
- workMem 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.
- IgnoreDbs string
- Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example: db1,db2.
- IgnoreRoles 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.
- IgnoreDbs string
- Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example: db1,db2.
- IgnoreRoles 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.
- ignoreDbs String
- Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example: db1,db2.
- ignoreRoles 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.
- ignoreDbs string
- Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example: db1,db2.
- ignoreRoles 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.
- ignoreDbs String
- Comma-separated list of databases, which should be ignored during migration (supported by MySQL and PostgreSQL only at the moment). Example: db1,db2.
- ignoreRoles 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     
- AutovacuumAnalyze 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).
- AutovacuumAnalyze 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.
- AutovacuumFreeze 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.
- AutovacuumMax 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.
- AutovacuumNaptime int
- Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- AutovacuumVacuum 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.
- AutovacuumVacuum 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.
- AutovacuumVacuum 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).
- AutovacuumVacuum intThreshold 
- Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- BgwriterDelay int
- Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example: 200.
- BgwriterFlush 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.
- BgwriterLru 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.
- BgwriterLru 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.
- DeadlockTimeout 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.
- DefaultToast stringCompression 
- Enum: lz4,pglz. Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- IdleIn 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).
- LogAutovacuum 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.
- LogError stringVerbosity 
- Enum: DEFAULT,TERSE,VERBOSE. Controls the amount of detail written in the server log for each message that is logged.
- LogLine 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.
- LogMin intDuration Statement 
- Log statements that take more than this number of milliseconds to run, -1 disables.
- LogTemp intFiles 
- Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- MaxFiles intPer Process 
- PostgreSQL maximum number of files that can be open per process.
- MaxLocks intPer Transaction 
- PostgreSQL maximum locks per transaction.
- MaxLogical intReplication Workers 
- PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- MaxParallel intWorkers 
- Sets the maximum number of workers that the system can support for parallel queries.
- MaxParallel intWorkers Per Gather 
- Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- MaxPred intLocks Per Transaction 
- PostgreSQL maximum predicate locks per transaction.
- MaxPrepared intTransactions 
- PostgreSQL maximum prepared transactions.
- MaxReplication intSlots 
- PostgreSQL maximum replication slots.
- MaxSlot 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.
- MaxStack intDepth 
- Maximum depth of the stack in bytes.
- MaxStandby intArchive Delay 
- Max standby archive delay in milliseconds.
- MaxStandby intStreaming Delay 
- Max standby streaming delay in milliseconds.
- MaxWal intSenders 
- PostgreSQL maximum WAL senders.
- MaxWorker intProcesses 
- Sets the maximum number of background processes that the system can support.
- PasswordEncryption string
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- PgPartman intBgw Dot Interval 
- Sets the time interval to run pg_partman's scheduled tasks. Example: 3600.
- PgPartman stringBgw Dot Role 
- Controls which role to use for pg_partman's scheduled background tasks. Example: myrolename.
- PgStat boolMonitor Dot Pgsm Enable Query Plan 
- Enables or disables query plan monitoring.
- PgStat intMonitor Dot Pgsm Max Buckets 
- Sets the maximum number of buckets. Example: 10.
- PgStat 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.
- TempFile intLimit 
- PostgreSQL temporary file limit in KiB, -1 for unlimited. Example: 5000000.
- Timezone string
- PostgreSQL service timezone. Example: Europe/Helsinki.
- TrackActivity intQuery Size 
- Specifies the number of bytes reserved to track the currently executing command for each active session. Example: 1024.
- TrackCommit stringTimestamp 
- Enum: off,on. Record commit time of transactions.
- TrackFunctions string
- Enum: all,none,pl. Enables tracking of function call counts and time used.
- TrackIo 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.
- WalSender 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.
- WalWriter intDelay 
- WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example: 50.
- AutovacuumAnalyze 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).
- AutovacuumAnalyze 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.
- AutovacuumFreeze 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.
- AutovacuumMax 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.
- AutovacuumNaptime int
- Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- AutovacuumVacuum 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.
- AutovacuumVacuum 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.
- AutovacuumVacuum 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).
- AutovacuumVacuum intThreshold 
- Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- BgwriterDelay int
- Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example: 200.
- BgwriterFlush 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.
- BgwriterLru 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.
- BgwriterLru 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.
- DeadlockTimeout 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.
- DefaultToast stringCompression 
- Enum: lz4,pglz. Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- IdleIn 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).
- LogAutovacuum 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.
- LogError stringVerbosity 
- Enum: DEFAULT,TERSE,VERBOSE. Controls the amount of detail written in the server log for each message that is logged.
- LogLine 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.
- LogMin intDuration Statement 
- Log statements that take more than this number of milliseconds to run, -1 disables.
- LogTemp intFiles 
- Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- MaxFiles intPer Process 
- PostgreSQL maximum number of files that can be open per process.
- MaxLocks intPer Transaction 
- PostgreSQL maximum locks per transaction.
- MaxLogical intReplication Workers 
- PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- MaxParallel intWorkers 
- Sets the maximum number of workers that the system can support for parallel queries.
- MaxParallel intWorkers Per Gather 
- Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- MaxPred intLocks Per Transaction 
- PostgreSQL maximum predicate locks per transaction.
- MaxPrepared intTransactions 
- PostgreSQL maximum prepared transactions.
- MaxReplication intSlots 
- PostgreSQL maximum replication slots.
- MaxSlot 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.
- MaxStack intDepth 
- Maximum depth of the stack in bytes.
- MaxStandby intArchive Delay 
- Max standby archive delay in milliseconds.
- MaxStandby intStreaming Delay 
- Max standby streaming delay in milliseconds.
- MaxWal intSenders 
- PostgreSQL maximum WAL senders.
- MaxWorker intProcesses 
- Sets the maximum number of background processes that the system can support.
- PasswordEncryption string
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- PgPartman intBgw Dot Interval 
- Sets the time interval to run pg_partman's scheduled tasks. Example: 3600.
- PgPartman stringBgw Dot Role 
- Controls which role to use for pg_partman's scheduled background tasks. Example: myrolename.
- PgStat boolMonitor Dot Pgsm Enable Query Plan 
- Enables or disables query plan monitoring.
- PgStat intMonitor Dot Pgsm Max Buckets 
- Sets the maximum number of buckets. Example: 10.
- PgStat 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.
- TempFile intLimit 
- PostgreSQL temporary file limit in KiB, -1 for unlimited. Example: 5000000.
- Timezone string
- PostgreSQL service timezone. Example: Europe/Helsinki.
- TrackActivity intQuery Size 
- Specifies the number of bytes reserved to track the currently executing command for each active session. Example: 1024.
- TrackCommit stringTimestamp 
- Enum: off,on. Record commit time of transactions.
- TrackFunctions string
- Enum: all,none,pl. Enables tracking of function call counts and time used.
- TrackIo 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.
- WalSender 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.
- WalWriter intDelay 
- WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example: 50.
- autovacuumAnalyze 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).
- autovacuumAnalyze 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.
- autovacuumFreeze 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.
- autovacuumMax 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.
- autovacuumNaptime Integer
- Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuumVacuum 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.
- autovacuumVacuum 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.
- autovacuumVacuum 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).
- autovacuumVacuum IntegerThreshold 
- Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriterDelay Integer
- Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example: 200.
- bgwriterFlush 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.
- bgwriterLru 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.
- bgwriterLru 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.
- deadlockTimeout 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.
- defaultToast StringCompression 
- Enum: lz4,pglz. Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- idleIn 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).
- logAutovacuum 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.
- logError StringVerbosity 
- Enum: DEFAULT,TERSE,VERBOSE. Controls the amount of detail written in the server log for each message that is logged.
- logLine 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.
- logMin IntegerDuration Statement 
- Log statements that take more than this number of milliseconds to run, -1 disables.
- logTemp IntegerFiles 
- Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- maxFiles IntegerPer Process 
- PostgreSQL maximum number of files that can be open per process.
- maxLocks IntegerPer Transaction 
- PostgreSQL maximum locks per transaction.
- maxLogical IntegerReplication Workers 
- PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- maxParallel IntegerWorkers 
- Sets the maximum number of workers that the system can support for parallel queries.
- maxParallel IntegerWorkers Per Gather 
- Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- maxPred IntegerLocks Per Transaction 
- PostgreSQL maximum predicate locks per transaction.
- maxPrepared IntegerTransactions 
- PostgreSQL maximum prepared transactions.
- maxReplication IntegerSlots 
- PostgreSQL maximum replication slots.
- maxSlot 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.
- maxStack IntegerDepth 
- Maximum depth of the stack in bytes.
- maxStandby IntegerArchive Delay 
- Max standby archive delay in milliseconds.
- maxStandby IntegerStreaming Delay 
- Max standby streaming delay in milliseconds.
- maxWal IntegerSenders 
- PostgreSQL maximum WAL senders.
- maxWorker IntegerProcesses 
- Sets the maximum number of background processes that the system can support.
- passwordEncryption String
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- pgPartman IntegerBgw Dot Interval 
- Sets the time interval to run pg_partman's scheduled tasks. Example: 3600.
- pgPartman StringBgw Dot Role 
- Controls which role to use for pg_partman's scheduled background tasks. Example: myrolename.
- pgStat BooleanMonitor Dot Pgsm Enable Query Plan 
- Enables or disables query plan monitoring.
- pgStat IntegerMonitor Dot Pgsm Max Buckets 
- Sets the maximum number of buckets. Example: 10.
- pgStat 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.
- tempFile IntegerLimit 
- PostgreSQL temporary file limit in KiB, -1 for unlimited. Example: 5000000.
- timezone String
- PostgreSQL service timezone. Example: Europe/Helsinki.
- trackActivity IntegerQuery Size 
- Specifies the number of bytes reserved to track the currently executing command for each active session. Example: 1024.
- trackCommit StringTimestamp 
- Enum: off,on. Record commit time of transactions.
- trackFunctions String
- Enum: all,none,pl. Enables tracking of function call counts and time used.
- trackIo 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.
- walSender 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.
- walWriter IntegerDelay 
- WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance. Example: 50.
- autovacuumAnalyze 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).
- autovacuumAnalyze 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.
- autovacuumFreeze 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.
- autovacuumMax 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.
- autovacuumNaptime number
- Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuumVacuum 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.
- autovacuumVacuum 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.
- autovacuumVacuum 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).
- autovacuumVacuum numberThreshold 
- Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriterDelay number
- Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example: 200.
- bgwriterFlush 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.
- bgwriterLru 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.
- bgwriterLru 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.
- deadlockTimeout 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.
- defaultToast stringCompression 
- Enum: lz4,pglz. Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- idleIn 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).
- logAutovacuum 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.
- logError stringVerbosity 
- Enum: DEFAULT,TERSE,VERBOSE. Controls the amount of detail written in the server log for each message that is logged.
- logLine 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.
- logMin numberDuration Statement 
- Log statements that take more than this number of milliseconds to run, -1 disables.
- logTemp numberFiles 
- Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- maxFiles numberPer Process 
- PostgreSQL maximum number of files that can be open per process.
- maxLocks numberPer Transaction 
- PostgreSQL maximum locks per transaction.
- maxLogical numberReplication Workers 
- PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- maxParallel numberWorkers 
- Sets the maximum number of workers that the system can support for parallel queries.
- maxParallel numberWorkers Per Gather 
- Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- maxPred numberLocks Per Transaction 
- PostgreSQL maximum predicate locks per transaction.
- maxPrepared numberTransactions 
- PostgreSQL maximum prepared transactions.
- maxReplication numberSlots 
- PostgreSQL maximum replication slots.
- maxSlot 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.
- maxStack numberDepth 
- Maximum depth of the stack in bytes.
- maxStandby numberArchive Delay 
- Max standby archive delay in milliseconds.
- maxStandby numberStreaming Delay 
- Max standby streaming delay in milliseconds.
- maxWal numberSenders 
- PostgreSQL maximum WAL senders.
- maxWorker numberProcesses 
- Sets the maximum number of background processes that the system can support.
- passwordEncryption string
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- pgPartman numberBgw Dot Interval 
- Sets the time interval to run pg_partman's scheduled tasks. Example: 3600.
- pgPartman stringBgw Dot Role 
- Controls which role to use for pg_partman's scheduled background tasks. Example: myrolename.
- pgStat booleanMonitor Dot Pgsm Enable Query Plan 
- Enables or disables query plan monitoring.
- pgStat numberMonitor Dot Pgsm Max Buckets 
- Sets the maximum number of buckets. Example: 10.
- pgStat 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.
- tempFile numberLimit 
- PostgreSQL temporary file limit in KiB, -1 for unlimited. Example: 5000000.
- timezone string
- PostgreSQL service timezone. Example: Europe/Helsinki.
- trackActivity numberQuery Size 
- Specifies the number of bytes reserved to track the currently executing command for each active session. Example: 1024.
- trackCommit stringTimestamp 
- Enum: off,on. Record commit time of transactions.
- trackFunctions string
- Enum: all,none,pl. Enables tracking of function call counts and time used.
- trackIo 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.
- walSender 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.
- walWriter 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.
- password_encryption str
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- 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.
- autovacuumAnalyze 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).
- autovacuumAnalyze 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.
- autovacuumFreeze 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.
- autovacuumMax 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.
- autovacuumNaptime Number
- Specifies the minimum delay between autovacuum runs on any given database. The delay is measured in seconds, and the default is one minute.
- autovacuumVacuum 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.
- autovacuumVacuum 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.
- autovacuumVacuum 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).
- autovacuumVacuum NumberThreshold 
- Specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples.
- bgwriterDelay Number
- Specifies the delay between activity rounds for the background writer in milliseconds. Default is 200. Example: 200.
- bgwriterFlush 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.
- bgwriterLru 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.
- bgwriterLru 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.
- deadlockTimeout 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.
- defaultToast StringCompression 
- Enum: lz4,pglz. Specifies the default TOAST compression method for values of compressible columns (the default is lz4).
- idleIn 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).
- logAutovacuum 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.
- logError StringVerbosity 
- Enum: DEFAULT,TERSE,VERBOSE. Controls the amount of detail written in the server log for each message that is logged.
- logLine 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.
- logMin NumberDuration Statement 
- Log statements that take more than this number of milliseconds to run, -1 disables.
- logTemp NumberFiles 
- Log statements for each temporary file created larger than this number of kilobytes, -1 disables.
- maxFiles NumberPer Process 
- PostgreSQL maximum number of files that can be open per process.
- maxLocks NumberPer Transaction 
- PostgreSQL maximum locks per transaction.
- maxLogical NumberReplication Workers 
- PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers).
- maxParallel NumberWorkers 
- Sets the maximum number of workers that the system can support for parallel queries.
- maxParallel NumberWorkers Per Gather 
- Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- maxPred NumberLocks Per Transaction 
- PostgreSQL maximum predicate locks per transaction.
- maxPrepared NumberTransactions 
- PostgreSQL maximum prepared transactions.
- maxReplication NumberSlots 
- PostgreSQL maximum replication slots.
- maxSlot 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.
- maxStack NumberDepth 
- Maximum depth of the stack in bytes.
- maxStandby NumberArchive Delay 
- Max standby archive delay in milliseconds.
- maxStandby NumberStreaming Delay 
- Max standby streaming delay in milliseconds.
- maxWal NumberSenders 
- PostgreSQL maximum WAL senders.
- maxWorker NumberProcesses 
- Sets the maximum number of background processes that the system can support.
- passwordEncryption String
- Enum: md5,scram-sha-256. Chooses the algorithm for encrypting passwords. Default:md5.
- pgPartman NumberBgw Dot Interval 
- Sets the time interval to run pg_partman's scheduled tasks. Example: 3600.
- pgPartman StringBgw Dot Role 
- Controls which role to use for pg_partman's scheduled background tasks. Example: myrolename.
- pgStat BooleanMonitor Dot Pgsm Enable Query Plan 
- Enables or disables query plan monitoring.
- pgStat NumberMonitor Dot Pgsm Max Buckets 
- Sets the maximum number of buckets. Example: 10.
- pgStat 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.
- tempFile NumberLimit 
- PostgreSQL temporary file limit in KiB, -1 for unlimited. Example: 5000000.
- timezone String
- PostgreSQL service timezone. Example: Europe/Helsinki.
- trackActivity NumberQuery Size 
- Specifies the number of bytes reserved to track the currently executing command for each active session. Example: 1024.
- trackCommit StringTimestamp 
- Enum: off,on. Record commit time of transactions.
- trackFunctions String
- Enum: all,none,pl. Enables tracking of function call counts and time used.
- trackIo 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.
- walSender 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.
- walWriter 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.
- MinErr intEstimate Num 
- Error estimation num threshold to save quals. Default: 0.
- MinErr intEstimate Ratio 
- Error estimation ratio threshold to save quals. Default: 0.
- TrackConstants bool
- Enable / Disable pg_qualstats constants tracking. Default: true.
- TrackPg boolCatalog 
- Track quals on system catalogs too. Default: false.
- Enabled bool
- Enable / Disable pg_qualstats. Default: false.
- MinErr intEstimate Num 
- Error estimation num threshold to save quals. Default: 0.
- MinErr intEstimate Ratio 
- Error estimation ratio threshold to save quals. Default: 0.
- TrackConstants bool
- Enable / Disable pg_qualstats constants tracking. Default: true.
- TrackPg boolCatalog 
- Track quals on system catalogs too. Default: false.
- enabled Boolean
- Enable / Disable pg_qualstats. Default: false.
- minErr IntegerEstimate Num 
- Error estimation num threshold to save quals. Default: 0.
- minErr IntegerEstimate Ratio 
- Error estimation ratio threshold to save quals. Default: 0.
- trackConstants Boolean
- Enable / Disable pg_qualstats constants tracking. Default: true.
- trackPg BooleanCatalog 
- Track quals on system catalogs too. Default: false.
- enabled boolean
- Enable / Disable pg_qualstats. Default: false.
- minErr numberEstimate Num 
- Error estimation num threshold to save quals. Default: 0.
- minErr numberEstimate Ratio 
- Error estimation ratio threshold to save quals. Default: 0.
- trackConstants boolean
- Enable / Disable pg_qualstats constants tracking. Default: true.
- trackPg 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.
- minErr NumberEstimate Num 
- Error estimation num threshold to save quals. Default: 0.
- minErr NumberEstimate Ratio 
- Error estimation ratio threshold to save quals. Default: 0.
- trackConstants Boolean
- Enable / Disable pg_qualstats constants tracking. Default: true.
- trackPg BooleanCatalog 
- Track quals on system catalogs too. Default: false.
GetPgPgUserConfigPgaudit     
- FeatureEnabled 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.
- LogCatalog bool
- Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default: true.
- LogClient bool
- Specifies whether log messages will be visible to a client process such as psql. Default: false.
- LogLevel string
- Enum: debug1,debug2,debug3,debug4,debug5,info,notice,warning,log. Specifies the log level that will be used for log entries. Default:log.
- LogMax intString Length 
- Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default: -1.
- LogNested boolStatements 
- This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default: true.
- LogParameter bool
- Specifies that audit logging should include the parameters that were passed with the statement. Default: false.
- LogParameter intMax Size 
- Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default: 0.
- LogRelation 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.
- LogRows 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.
- LogStatement bool
- Specifies whether logging will include the statement text and parameters (if enabled). Default: true.
- LogStatement 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.
- FeatureEnabled 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.
- LogCatalog bool
- Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default: true.
- LogClient bool
- Specifies whether log messages will be visible to a client process such as psql. Default: false.
- LogLevel string
- Enum: debug1,debug2,debug3,debug4,debug5,info,notice,warning,log. Specifies the log level that will be used for log entries. Default:log.
- LogMax intString Length 
- Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default: -1.
- LogNested boolStatements 
- This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default: true.
- LogParameter bool
- Specifies that audit logging should include the parameters that were passed with the statement. Default: false.
- LogParameter intMax Size 
- Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default: 0.
- LogRelation 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.
- LogRows 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.
- LogStatement bool
- Specifies whether logging will include the statement text and parameters (if enabled). Default: true.
- LogStatement 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.
- featureEnabled 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.
- logCatalog Boolean
- Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default: true.
- logClient Boolean
- Specifies whether log messages will be visible to a client process such as psql. Default: false.
- logLevel String
- Enum: debug1,debug2,debug3,debug4,debug5,info,notice,warning,log. Specifies the log level that will be used for log entries. Default:log.
- logMax IntegerString Length 
- Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default: -1.
- logNested BooleanStatements 
- This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default: true.
- logParameter Boolean
- Specifies that audit logging should include the parameters that were passed with the statement. Default: false.
- logParameter IntegerMax Size 
- Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default: 0.
- logRelation 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.
- logRows 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.
- logStatement Boolean
- Specifies whether logging will include the statement text and parameters (if enabled). Default: true.
- logStatement 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.
- featureEnabled 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.
- logCatalog boolean
- Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default: true.
- logClient boolean
- Specifies whether log messages will be visible to a client process such as psql. Default: false.
- logLevel string
- Enum: debug1,debug2,debug3,debug4,debug5,info,notice,warning,log. Specifies the log level that will be used for log entries. Default:log.
- logMax numberString Length 
- Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default: -1.
- logNested booleanStatements 
- This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default: true.
- logParameter boolean
- Specifies that audit logging should include the parameters that were passed with the statement. Default: false.
- logParameter numberMax Size 
- Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default: 0.
- logRelation 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.
- logRows 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.
- logStatement boolean
- Specifies whether logging will include the statement text and parameters (if enabled). Default: true.
- logStatement 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.
- featureEnabled 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.
- logCatalog Boolean
- Specifies that session logging should be enabled in the casewhere all relations in a statement are in pg_catalog. Default: true.
- logClient Boolean
- Specifies whether log messages will be visible to a client process such as psql. Default: false.
- logLevel String
- Enum: debug1,debug2,debug3,debug4,debug5,info,notice,warning,log. Specifies the log level that will be used for log entries. Default:log.
- logMax NumberString Length 
- Crop parameters representation and whole statements if they exceed this threshold. A (default) value of -1 disable the truncation. Default: -1.
- logNested BooleanStatements 
- This GUC allows to turn off logging nested statements, that is, statements that are executed as part of another ExecutorRun. Default: true.
- logParameter Boolean
- Specifies that audit logging should include the parameters that were passed with the statement. Default: false.
- logParameter NumberMax Size 
- Specifies that parameter values longer than this setting (in bytes) should not be logged, but replaced with . Default: 0.
- logRelation 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.
- logRows 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.
- logStatement Boolean
- Specifies whether logging will include the statement text and parameters (if enabled). Default: true.
- logStatement 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     
- AutodbIdle 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.
- AutodbMax intDb Connections 
- Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example: 0.
- AutodbPool stringMode 
- Enum: session,statement,transaction. PGBouncer pool mode. Default:transaction.
- AutodbPool intSize 
- If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default: 0.
- IgnoreStartup List<string>Parameters 
- List of parameters to ignore when given in startup packet.
- MaxPrepared 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.
- MinPool 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.
- ServerIdle 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.
- ServerLifetime int
- The pooler will close an unused server connection that has been connected longer than this. (seconds). Default: 3600.
- ServerReset boolQuery Always 
- Run server_reset_query (DISCARD ALL) in all pooling modes. Default: false.
- AutodbIdle 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.
- AutodbMax intDb Connections 
- Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example: 0.
- AutodbPool stringMode 
- Enum: session,statement,transaction. PGBouncer pool mode. Default:transaction.
- AutodbPool intSize 
- If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default: 0.
- IgnoreStartup []stringParameters 
- List of parameters to ignore when given in startup packet.
- MaxPrepared 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.
- MinPool 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.
- ServerIdle 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.
- ServerLifetime int
- The pooler will close an unused server connection that has been connected longer than this. (seconds). Default: 3600.
- ServerReset boolQuery Always 
- Run server_reset_query (DISCARD ALL) in all pooling modes. Default: false.
- autodbIdle 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.
- autodbMax IntegerDb Connections 
- Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example: 0.
- autodbPool StringMode 
- Enum: session,statement,transaction. PGBouncer pool mode. Default:transaction.
- autodbPool IntegerSize 
- If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default: 0.
- ignoreStartup List<String>Parameters 
- List of parameters to ignore when given in startup packet.
- maxPrepared 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.
- minPool 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.
- serverIdle 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.
- serverLifetime Integer
- The pooler will close an unused server connection that has been connected longer than this. (seconds). Default: 3600.
- serverReset BooleanQuery Always 
- Run server_reset_query (DISCARD ALL) in all pooling modes. Default: false.
- autodbIdle 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.
- autodbMax numberDb Connections 
- Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example: 0.
- autodbPool stringMode 
- Enum: session,statement,transaction. PGBouncer pool mode. Default:transaction.
- autodbPool numberSize 
- If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default: 0.
- ignoreStartup string[]Parameters 
- List of parameters to ignore when given in startup packet.
- maxPrepared 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.
- minPool 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.
- serverIdle 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.
- serverLifetime number
- The pooler will close an unused server connection that has been connected longer than this. (seconds). Default: 3600.
- serverReset 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.
- autodbIdle 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.
- autodbMax NumberDb Connections 
- Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited. Example: 0.
- autodbPool StringMode 
- Enum: session,statement,transaction. PGBouncer pool mode. Default:transaction.
- autodbPool NumberSize 
- If non-zero then create automatically a pool of that size per user when a pool doesn't exist. Default: 0.
- ignoreStartup List<String>Parameters 
- List of parameters to ignore when given in startup packet.
- maxPrepared 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.
- minPool 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.
- serverIdle 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.
- serverLifetime Number
- The pooler will close an unused server connection that has been connected longer than this. (seconds). Default: 3600.
- serverReset BooleanQuery Always 
- Run server_reset_query (DISCARD ALL) in all pooling modes. Default: false.
GetPgPgUserConfigPglookout     
- MaxFailover intReplication Time Lag 
- Number of seconds of master unavailability before triggering database failover to standby. Default: 60.
- MaxFailover intReplication Time Lag 
- Number of seconds of master unavailability before triggering database failover to standby. Default: 60.
- maxFailover IntegerReplication Time Lag 
- Number of seconds of master unavailability before triggering database failover to standby. Default: 60.
- maxFailover 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.
- maxFailover 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     
- MaxBackground 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.
- MaxBackground 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.
- maxBackground 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.
- maxBackground 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.
- maxBackground 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   
- IntegrationType string
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- SourceService stringName 
- Name of the source service
- IntegrationType string
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- SourceService stringName 
- Name of the source service
- integrationType String
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- sourceService StringName 
- Name of the source service
- integrationType string
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- sourceService stringName 
- Name of the source service
- integration_type str
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- source_service_ strname 
- Name of the source service
- integrationType String
- Type of the service integration. The possible values are read_replicaanddisaster_recovery.
- sourceService 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 aivenTerraform Provider.