getPg
# PG Data Source
The PG data source provides information about the existing Aiven PostgreSQL service.
Example Usage
using Pulumi;
using Aiven = Pulumi.Aiven;
class MyStack : Stack
{
public MyStack()
{
var pg = Output.Create(Aiven.GetPg.InvokeAsync(new Aiven.GetPgArgs
{
Project = data.Aiven_project.Pr1.Project,
ServiceName = "my-pg1",
}));
}
}
package main
import (
"github.com/pulumi/pulumi-aiven/sdk/v3/go/aiven"
"github.com/pulumi/pulumi/sdk/v2/go/pulumi"
)
func main() {
pulumi.Run(func(ctx *pulumi.Context) error {
_, err := aiven.LookupPg(ctx, &aiven.LookupPgArgs{
Project: data.Aiven_project.Pr1.Project,
ServiceName: "my-pg1",
}, nil)
if err != nil {
return err
}
return nil
})
}
import pulumi
import pulumi_aiven as aiven
pg = aiven.get_pg(project=data["aiven_project"]["pr1"]["project"],
service_name="my-pg1")
import * as pulumi from "@pulumi/pulumi";
import * as aiven from "@pulumi/aiven";
const pg = aiven.getPg({
project: data.aiven_project.pr1.project,
serviceName: "my-pg1",
});
Using getPg
function getPg(args: GetPgArgs, opts?: InvokeOptions): Promise<GetPgResult>
def get_pg(cloud_name: Optional[str] = None, components: Optional[Sequence[GetPgComponentArgs]] = None, maintenance_window_dow: Optional[str] = None, maintenance_window_time: Optional[str] = None, pg: Optional[GetPgPgArgs] = None, pg_user_config: Optional[GetPgPgUserConfigArgs] = None, plan: Optional[str] = None, project: Optional[str] = None, project_vpc_id: Optional[str] = None, service_host: Optional[str] = None, service_integrations: Optional[Sequence[GetPgServiceIntegrationArgs]] = None, service_name: Optional[str] = None, service_password: Optional[str] = None, service_port: Optional[int] = None, service_type: Optional[str] = None, service_uri: Optional[str] = None, service_username: Optional[str] = None, state: Optional[str] = None, termination_protection: Optional[bool] = None, opts: Optional[InvokeOptions] = None) -> GetPgResult
func LookupPg(ctx *Context, args *LookupPgArgs, opts ...InvokeOption) (*LookupPgResult, error)
Note: This function is named
LookupPg
in the Go SDK.
public static class GetPg {
public static Task<GetPgResult> InvokeAsync(GetPgArgs args, InvokeOptions? opts = null)
}
The following arguments are supported:
- Project string
identifies the project the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- Service
Name string specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- Components
List<Get
Pg Component Args> - Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
Get
Pg Pg Args PostgreSQL specific server provided values.
- Pg
User GetConfig Pg Pg User Config Args defines PostgreSQL specific additional configuration options. The following configuration options available:
- Plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string PostgreSQL hostname.
- Service
Integrations List<GetPg Service Integration Args> - Service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- Service
Port int PostgreSQL port.
- Service
Type string - Service
Uri string URI for connecting to the PostgreSQL service.
- Service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- State string
Service state.
- Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Project string
identifies the project the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- Service
Name string specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- Cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- Components
[]Get
Pg Component - Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
Get
Pg Pg PostgreSQL specific server provided values.
- Pg
User GetConfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- Plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- Service
Host string PostgreSQL hostname.
- Service
Integrations []GetPg Service Integration - Service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- Service
Port int PostgreSQL port.
- Service
Type string - Service
Uri string URI for connecting to the PostgreSQL service.
- Service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- State string
Service state.
- Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project string
identifies the project the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- service
Name string specifies the actual name of the service. The name cannot be changed later without destroying and re-creating the service so name should be picked based on intended service usage rather than current attributes.
- cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- components
Get
Pg Component[] - maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
Get
Pg Pg PostgreSQL specific server provided values.
- pg
User GetConfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- project
Vpc stringId optionally 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 as shown above to set up dependencies correctly and the VPC must be in the same cloud and region as the service itself. Project can be freely moved to and from VPC after creation but doing so triggers migration to new servers so the operation can take significant amount of time to complete if the service has a lot of data.
- service
Host string PostgreSQL hostname.
- service
Integrations GetPg Service Integration[] - service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- service
Port number PostgreSQL port.
- service
Type string - service
Uri string URI for connecting to the PostgreSQL service.
- service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- state string
Service state.
- termination
Protection boolean prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- project str
identifies the project the service belongs to. To set up proper dependency between the project and the service, refer to the project as shown in the above example. Project cannot be changed later without destroying and re-creating the service.
- 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.
- cloud_
name str defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- components
Sequence[Get
Pg Component Args] - maintenance_
window_ strdow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- maintenance_
window_ strtime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
Get
Pg Pg Args PostgreSQL specific server provided values.
- pg_
user_ Getconfig Pg Pg User Config Args defines PostgreSQL specific additional configuration options. The following configuration options available:
- plan str
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- project_
vpc_ strid optionally 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 as shown above 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 PostgreSQL hostname.
- service_
integrations Sequence[GetPg Service Integration Args] - service_
password str Password used for connecting to the PostgreSQL service, if applicable.
- service_
port int PostgreSQL port.
- service_
type str - service_
uri str URI for connecting to the PostgreSQL service.
- service_
username str Username used for connecting to the PostgreSQL service, if applicable.
- state str
Service state.
- termination_
protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
getPg Result
The following output properties are available:
- Components
List<Get
Pg Component> - Id string
The provider-assigned unique ID for this managed resource.
- Pg
Get
Pg Pg PostgreSQL specific server provided values.
- Project string
- Service
Host string PostgreSQL hostname.
- Service
Name string - Service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- Service
Port int PostgreSQL port.
- Service
Type string - Service
Uri string URI for connecting to the PostgreSQL service.
- Service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- State string
Service state.
- Cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User GetConfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- Plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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
Integrations List<GetPg Service Integration> - Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- Components
[]Get
Pg Component - Id string
The provider-assigned unique ID for this managed resource.
- Pg
Get
Pg Pg PostgreSQL specific server provided values.
- Project string
- Service
Host string PostgreSQL hostname.
- Service
Name string - Service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- Service
Port int PostgreSQL port.
- Service
Type string - Service
Uri string URI for connecting to the PostgreSQL service.
- Service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- State string
Service state.
- Cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- Maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- Maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- Pg
User GetConfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- Plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- Project
Vpc stringId optionally 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 as shown above 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
Integrations []GetPg Service Integration - Termination
Protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- components
Get
Pg Component[] - id string
The provider-assigned unique ID for this managed resource.
- pg
Get
Pg Pg PostgreSQL specific server provided values.
- project string
- service
Host string PostgreSQL hostname.
- service
Name string - service
Password string Password used for connecting to the PostgreSQL service, if applicable.
- service
Port number PostgreSQL port.
- service
Type string - service
Uri string URI for connecting to the PostgreSQL service.
- service
Username string Username used for connecting to the PostgreSQL service, if applicable.
- state string
Service state.
- cloud
Name string defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- maintenance
Window stringDow day of week when maintenance operations should be performed. On monday, tuesday, wednesday, etc.
- maintenance
Window stringTime time of day when maintenance operations should be performed. UTC time in HH:mm:ss format.
- pg
User GetConfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- plan string
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- project
Vpc stringId optionally 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 as shown above 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
Integrations GetPg Service Integration[] - termination
Protection boolean prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
- components
Sequence[Get
Pg Component] - id str
The provider-assigned unique ID for this managed resource.
- pg
Get
Pg Pg PostgreSQL specific server provided values.
- project str
- service_
host str PostgreSQL hostname.
- service_
name str - service_
password str Password used for connecting to the PostgreSQL service, if applicable.
- service_
port int PostgreSQL port.
- service_
type str - service_
uri str URI for connecting to the PostgreSQL service.
- service_
username str Username used for connecting to the PostgreSQL service, if applicable.
- state str
Service state.
- cloud_
name str defines where the cloud provider and region where the service is hosted in. This can be changed freely after service is created. Changing the value will trigger a potentially lengthy migration process for the service. Format is cloud provider name (
aws
,azure
,do
google
,upcloud
, etc.), dash, and the cloud provider specific region name. These are documented on each Cloud provider’s own support articles, like here for Google and here for AWS.- maintenance_
window_ strdow day of week when maintenance operations should be performed. On 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_ Getconfig Pg Pg User Config defines PostgreSQL specific additional configuration options. The following configuration options available:
- plan str
defines what kind of computing resources are allocated for the service. It can be changed after creation, though there are some restrictions when going to a smaller plan such as the new plan must have sufficient amount of disk space to store all current data and switching to a plan with fewer nodes might not be supported. The basic plan names are
hobbyist
,startup-x
,business-x
andpremium-x
wherex
is (roughly) the amount of memory on each node (also other attributes like number of CPUs and amount of disk space varies but naming is based on memory). The exact options can be seen from the Aiven web console’s Create Service dialog.- project_
vpc_ strid optionally 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 as shown above 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_
integrations Sequence[GetPg Service Integration] - termination_
protection bool prevents the service from being deleted. It is recommended to set this to
true
for all production services to prevent unintentional service deletion. This does not shield against deleting databases or topics but for services with backups much of the content can at least be restored from backup in case accidental deletion is done.
Supporting Types
GetPgComponent
GetPgPg
- Dbname string
Primary PostgreSQL database name
- Host string
PostgreSQL master node host IP or name
- Password string
PostgreSQL admin user password
- Port int
PostgreSQL port
- Replica
Uri string PostgreSQL replica URI for services with a replica
- Sslmode string
PostgreSQL sslmode setting (currently always
require
)- Uri string
PostgreSQL master connection URI
- User string
PostgreSQL admin user name
- Dbname string
Primary PostgreSQL database name
- Host string
PostgreSQL master node host IP or name
- Password string
PostgreSQL admin user password
- Port int
PostgreSQL port
- Replica
Uri string PostgreSQL replica URI for services with a replica
- Sslmode string
PostgreSQL sslmode setting (currently always
require
)- Uri string
PostgreSQL master connection URI
- User string
PostgreSQL admin user name
- dbname string
Primary PostgreSQL database name
- host string
PostgreSQL master node host IP or name
- password string
PostgreSQL admin user password
- port number
PostgreSQL port
- replica
Uri string PostgreSQL replica URI for services with a replica
- sslmode string
PostgreSQL sslmode setting (currently always
require
)- uri string
PostgreSQL master connection URI
- user string
PostgreSQL admin user name
- dbname str
Primary PostgreSQL database name
- host str
PostgreSQL master node host IP or name
- password str
PostgreSQL admin user password
- port int
PostgreSQL port
- replica_
uri str PostgreSQL replica URI for services with a replica
- sslmode str
PostgreSQL sslmode setting (currently always
require
)- uri str
PostgreSQL master connection URI
- user str
PostgreSQL admin user name
GetPgPgUserConfig
- Admin
Password string custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string custom username for admin user. This must be set only when a new service is being created.
- Backup
Hour string the hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- Backup
Minute string the minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- Ip
Filters List<string> allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Migration
Get
Pg Pg User Config Migration Args migrate data from existing server, has the following options:
- Pg
Get
Pg Pg User Config Pg Args PostgreSQL specific server provided values.
- Pg
Read stringReplica This setting is deprecated. Use read-replica service integration instead.
- Pg
Service stringTo Fork From Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created.
- Pg
Version string PostgreSQL major version.
- Pgbouncer
Get
Pg Pg User Config Pgbouncer Args Enable pgbouncer.
- Pglookout
Get
Pg Pg User Config Pglookout Args PGLookout settings.
- Private
Access GetPg Pg User Config Private Access Args Allow access to selected service ports from private networks.
- Privatelink
Access GetPg Pg User Config Privatelink Access Args Allow access to selected service components through Privatelink.
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access GetPg Pg User Config Public Access Args Allow access to selected service ports from the public Internet
- Recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- string
Percentage of total RAM that the database server uses for memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. The absolute maximum is 12 GB.
- Synchronous
Replication string Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Timescaledb
Get
Pg Pg User Config Timescaledb Args TimescaleDB extension configuration values.
- Variant string
Variant of the PostgreSQL service, may affect the features that are exposed by default. Options:
aiven
ortimescale
.- Work
Mem string 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).
- Admin
Password string custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- Admin
Username string custom username for admin user. This must be set only when a new service is being created.
- Backup
Hour string the hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- Backup
Minute string the minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- Ip
Filters []string allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- Migration
Get
Pg Pg User Config Migration migrate data from existing server, has the following options:
- Pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values.
- Pg
Read stringReplica This setting is deprecated. Use read-replica service integration instead.
- Pg
Service stringTo Fork From Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created.
- Pg
Version string PostgreSQL major version.
- Pgbouncer
Get
Pg Pg User Config Pgbouncer Enable pgbouncer.
- Pglookout
Get
Pg Pg User Config Pglookout PGLookout settings.
- Private
Access GetPg Pg User Config Private Access Allow access to selected service ports from private networks.
- Privatelink
Access GetPg Pg User Config Privatelink Access Allow access to selected service components through Privatelink.
- Project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- Public
Access GetPg Pg User Config Public Access Allow access to selected service ports from the public Internet
- Recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- Service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- string
Percentage of total RAM that the database server uses for memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. The absolute maximum is 12 GB.
- Synchronous
Replication string Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- Timescaledb
Get
Pg Pg User Config Timescaledb TimescaleDB extension configuration values.
- Variant string
Variant of the PostgreSQL service, may affect the features that are exposed by default. Options:
aiven
ortimescale
.- Work
Mem string 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).
- admin
Password string custom password for admin user. Defaults to random string. This must be set only when a new service is being created.
- admin
Username string custom username for admin user. This must be set only when a new service is being created.
- backup
Hour string the hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- backup
Minute string the minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- ip
Filters string[] allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- migration
Get
Pg Pg User Config Migration migrate data from existing server, has the following options:
- pg
Get
Pg Pg User Config Pg PostgreSQL specific server provided values.
- pg
Read stringReplica This setting is deprecated. Use read-replica service integration instead.
- pg
Service stringTo Fork From Name of the PG Service from which to fork (deprecated, use service_to_fork_from). This has effect only when a new service is being created.
- pg
Version string PostgreSQL major version.
- pgbouncer
Get
Pg Pg User Config Pgbouncer Enable pgbouncer.
- pglookout
Get
Pg Pg User Config Pglookout PGLookout settings.
- private
Access GetPg Pg User Config Private Access Allow access to selected service ports from private networks.
- privatelink
Access GetPg Pg User Config Privatelink Access Allow access to selected service components through Privatelink.
- project
To stringFork From Name of another project to fork a service from. This has effect only when a new service is being created.
- public
Access GetPg Pg User Config Public Access Allow access to selected service ports from the public Internet
- recovery
Target stringTime Recovery target time when forking a service. This has effect only when a new service is being created.
- service
To stringFork From Name of another service to fork from. This has effect only when a new service is being created.
- string
Percentage of total RAM that the database server uses for memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. The absolute maximum is 12 GB.
- synchronous
Replication string Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- timescaledb
Get
Pg Pg User Config Timescaledb TimescaleDB extension configuration values.
- variant string
Variant of the PostgreSQL service, may affect the features that are exposed by default. Options:
aiven
ortimescale
.- work
Mem string 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).
- 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.
- backup_
hour str the hour of day (in UTC) when backup for the service is started. New backup is only started if previous backup has already completed.
- backup_
minute str the minute of an hour when backup for the service is started. New backup is only started if previous backup has already completed.
- ip_
filters Sequence[str] allow incoming connections from CIDR address block, e.g.
10.20.0.0/16
- migration
Get
Pg Pg User Config Migration Args migrate data from existing server, has the following options:
- pg
Get
Pg Pg User Config Pg Args PostgreSQL specific server provided values.
- pg_
read_ strreplica This setting is 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.
- pg_
version str PostgreSQL major version.
- pgbouncer
Get
Pg Pg User Config Pgbouncer Args Enable pgbouncer.
- pglookout
Get
Pg Pg User Config Pglookout Args PGLookout settings.
- private_
access GetPg Pg User Config Private Access Args Allow access to selected service ports from private networks.
- privatelink_
access GetPg Pg User Config Privatelink Access Args 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.
- public_
access GetPg Pg User Config Public Access Args 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.
- service_
to_ strfork_ from Name of another service to fork from. This has effect only when a new service is being created.
- str
Percentage of total RAM that the database server uses for memory buffers. Valid range is 20-60 (float), which corresponds to 20% - 60%. This setting adjusts the shared_buffers configuration value. The absolute maximum is 12 GB.
- synchronous_
replication str Synchronous replication type. Note that the service plan also needs to support synchronous replication.
- timescaledb
Get
Pg Pg User Config Timescaledb Args TimescaleDB extension configuration values.
- variant str
Variant of the PostgreSQL service, may affect the features that are exposed by default. Options:
aiven
ortimescale
.- work_
mem str 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).
GetPgPgUserConfigMigration
- Dbname string
Primary PostgreSQL database name
- Host string
PostgreSQL master node host IP or name
- Password string
PostgreSQL admin user password
- Port string
PostgreSQL port
- Ssl string
the server where to migrate data from is secured with SSL.
- Username string
user name for authentication with the server where to migrate data from.
- Dbname string
Primary PostgreSQL database name
- Host string
PostgreSQL master node host IP or name
- Password string
PostgreSQL admin user password
- Port string
PostgreSQL port
- Ssl string
the server where to migrate data from is secured with SSL.
- Username string
user name for authentication with the server where to migrate data from.
- dbname string
Primary PostgreSQL database name
- host string
PostgreSQL master node host IP or name
- password string
PostgreSQL admin user password
- port string
PostgreSQL port
- ssl string
the server where to migrate data from is secured with SSL.
- username string
user name for authentication with the server where to migrate data from.
- dbname str
Primary PostgreSQL database name
- host str
PostgreSQL master node host IP or name
- password str
PostgreSQL admin user password
- port str
PostgreSQL port
- ssl str
the server where to migrate data from is secured with SSL.
- username str
user name for authentication with the server where to migrate data from.
GetPgPgUserConfigPg
- Autovacuum
Analyze stringScale 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 stringThreshold 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 stringMax 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.
- Autovacuum
Max stringWorkers 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 string 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 stringCost 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 stringCost 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 stringScale 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 stringThreshold specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
- Deadlock
Timeout string this is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- Idle
In stringTransaction Session Timeout Time out sessions with open transactions after this number of milliseconds.
- Jit string
Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum stringMin Duration Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- Log
Error stringVerbosity Controls the amount of detail written in the server log for each message that is logged. Possible values:
TERSE
,DEFAULT
andVERBOSE
.- Log
Min stringDuration Statement Log statements that take more than this number of milliseconds to run, -1 disables
- Max
Files stringPer Process PostgreSQL maximum number of files that can be open per process
- Max
Locks stringPer Transaction PostgreSQL maximum locks per transaction
- Max
Logical stringReplication Workers PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
- Max
Parallel stringWorkers Sets the maximum number of workers that the system can support for parallel queries.
- Max
Parallel stringWorkers Per Gather Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Max
Pred stringLocks Per Transaction PostgreSQL maximum predicate locks per transaction
- Max
Prepared stringTransactions PostgreSQL maximum prepared transactions
- Max
Replication stringSlots PostgreSQL maximum replication slots
- Max
Stack stringDepth Maximum depth of the stack in bytes
- Max
Standby stringArchive Delay Max standby archive delay in milliseconds
- Max
Standby stringStreaming Delay Max standby streaming delay in milliseconds
- Max
Wal stringSenders PostgreSQL maximum WAL senders
- Max
Worker stringProcesses Sets the maximum number of background processes that the system can support *
pg_partman_bgw.interval
- Sets the time interval to run pg_partman’s scheduled tasks *pg_partman_bgw.role
- Controls which role to use for pg_partman’s scheduled background tasks. *pg_stat_statements.track
- 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.- Pg
Partman stringBgw Dot Interval - Pg
Partman stringBgw Dot Role - Pg
Stat stringStatements Dot Track - Temp
File stringLimit PostgreSQL temporary file limit in KiB, -1 for unlimited
- Timezone string
PostgreSQL service timezone
- Track
Activity stringQuery Size Specifies the number of bytes reserved to track the currently executing command for each active session.
- Track
Commit stringTimestamp Record commit time of transactions
- Track
Functions string Enables tracking of function call counts and time used.
- Wal
Sender stringTimeout Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.
- Wal
Writer stringDelay WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
- Autovacuum
Analyze stringScale 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 stringThreshold 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 stringMax 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.
- Autovacuum
Max stringWorkers 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 string 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 stringCost 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 stringCost 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 stringScale 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 stringThreshold specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
- Deadlock
Timeout string this is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- Idle
In stringTransaction Session Timeout Time out sessions with open transactions after this number of milliseconds.
- Jit string
Controls system-wide use of Just-in-Time Compilation (JIT).
- Log
Autovacuum stringMin Duration Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- Log
Error stringVerbosity Controls the amount of detail written in the server log for each message that is logged. Possible values:
TERSE
,DEFAULT
andVERBOSE
.- Log
Min stringDuration Statement Log statements that take more than this number of milliseconds to run, -1 disables
- Max
Files stringPer Process PostgreSQL maximum number of files that can be open per process
- Max
Locks stringPer Transaction PostgreSQL maximum locks per transaction
- Max
Logical stringReplication Workers PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
- Max
Parallel stringWorkers Sets the maximum number of workers that the system can support for parallel queries.
- Max
Parallel stringWorkers Per Gather Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- Max
Pred stringLocks Per Transaction PostgreSQL maximum predicate locks per transaction
- Max
Prepared stringTransactions PostgreSQL maximum prepared transactions
- Max
Replication stringSlots PostgreSQL maximum replication slots
- Max
Stack stringDepth Maximum depth of the stack in bytes
- Max
Standby stringArchive Delay Max standby archive delay in milliseconds
- Max
Standby stringStreaming Delay Max standby streaming delay in milliseconds
- Max
Wal stringSenders PostgreSQL maximum WAL senders
- Max
Worker stringProcesses Sets the maximum number of background processes that the system can support *
pg_partman_bgw.interval
- Sets the time interval to run pg_partman’s scheduled tasks *pg_partman_bgw.role
- Controls which role to use for pg_partman’s scheduled background tasks. *pg_stat_statements.track
- 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.- Pg
Partman stringBgw Dot Interval - Pg
Partman stringBgw Dot Role - Pg
Stat stringStatements Dot Track - Temp
File stringLimit PostgreSQL temporary file limit in KiB, -1 for unlimited
- Timezone string
PostgreSQL service timezone
- Track
Activity stringQuery Size Specifies the number of bytes reserved to track the currently executing command for each active session.
- Track
Commit stringTimestamp Record commit time of transactions
- Track
Functions string Enables tracking of function call counts and time used.
- Wal
Sender stringTimeout Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.
- Wal
Writer stringDelay WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
- autovacuum
Analyze stringScale 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 stringThreshold 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 stringMax 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.
- autovacuum
Max stringWorkers 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 string 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 stringCost 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 stringCost 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 stringScale 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 stringThreshold specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
- deadlock
Timeout string this is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- idle
In stringTransaction Session Timeout Time out sessions with open transactions after this number of milliseconds.
- jit string
Controls system-wide use of Just-in-Time Compilation (JIT).
- log
Autovacuum stringMin Duration Causes each action executed by autovacuum to be logged if it ran for at least the specified number of milliseconds. Setting this to zero logs all autovacuum actions. Minus-one (the default) disables logging autovacuum actions.
- log
Error stringVerbosity Controls the amount of detail written in the server log for each message that is logged. Possible values:
TERSE
,DEFAULT
andVERBOSE
.- log
Min stringDuration Statement Log statements that take more than this number of milliseconds to run, -1 disables
- max
Files stringPer Process PostgreSQL maximum number of files that can be open per process
- max
Locks stringPer Transaction PostgreSQL maximum locks per transaction
- max
Logical stringReplication Workers PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
- max
Parallel stringWorkers Sets the maximum number of workers that the system can support for parallel queries.
- max
Parallel stringWorkers Per Gather Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max
Pred stringLocks Per Transaction PostgreSQL maximum predicate locks per transaction
- max
Prepared stringTransactions PostgreSQL maximum prepared transactions
- max
Replication stringSlots PostgreSQL maximum replication slots
- max
Stack stringDepth Maximum depth of the stack in bytes
- max
Standby stringArchive Delay Max standby archive delay in milliseconds
- max
Standby stringStreaming Delay Max standby streaming delay in milliseconds
- max
Wal stringSenders PostgreSQL maximum WAL senders
- max
Worker stringProcesses Sets the maximum number of background processes that the system can support *
pg_partman_bgw.interval
- Sets the time interval to run pg_partman’s scheduled tasks *pg_partman_bgw.role
- Controls which role to use for pg_partman’s scheduled background tasks. *pg_stat_statements.track
- 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.- pg
Partman stringBgw Dot Interval - pg
Partman stringBgw Dot Role - pg
Stat stringStatements Dot Track - temp
File stringLimit PostgreSQL temporary file limit in KiB, -1 for unlimited
- timezone string
PostgreSQL service timezone
- track
Activity stringQuery Size Specifies the number of bytes reserved to track the currently executing command for each active session.
- track
Commit stringTimestamp Record commit time of transactions
- track
Functions string Enables tracking of function call counts and time used.
- wal
Sender stringTimeout Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.
- wal
Writer stringDelay WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
- autovacuum_
analyze_ strscale_ 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_ strthreshold 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_ strmax_ 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.
- autovacuum_
max_ strworkers 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 str 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_ strcost_ 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_ strcost_ 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_ strscale_ 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_ strthreshold specifies the minimum number of updated or deleted tuples needed to trigger a VACUUM in any one table. The default is 50 tuples
- deadlock_
timeout str this is the amount of time, in milliseconds, to wait on a lock before checking to see if there is a deadlock condition.
- idle_
in_ strtransaction_ session_ timeout Time out sessions with open transactions after this number of milliseconds.
- jit str
Controls system-wide use of Just-in-Time Compilation (JIT).
- log_
autovacuum_ strmin_ 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 Controls the amount of detail written in the server log for each message that is logged. Possible values:
TERSE
,DEFAULT
andVERBOSE
.- log_
min_ strduration_ statement Log statements that take more than this number of milliseconds to run, -1 disables
- max_
files_ strper_ process PostgreSQL maximum number of files that can be open per process
- max_
locks_ strper_ transaction PostgreSQL maximum locks per transaction
- max_
logical_ strreplication_ workers PostgreSQL maximum logical replication workers (taken from the pool of max_parallel_workers)
- max_
parallel_ strworkers Sets the maximum number of workers that the system can support for parallel queries.
- max_
parallel_ strworkers_ per_ gather Sets the maximum number of workers that can be started by a single Gather or Gather Merge node.
- max_
pred_ strlocks_ per_ transaction PostgreSQL maximum predicate locks per transaction
- max_
prepared_ strtransactions PostgreSQL maximum prepared transactions
- max_
replication_ strslots PostgreSQL maximum replication slots
- max_
stack_ strdepth Maximum depth of the stack in bytes
- max_
standby_ strarchive_ delay Max standby archive delay in milliseconds
- max_
standby_ strstreaming_ delay Max standby streaming delay in milliseconds
- max_
wal_ strsenders PostgreSQL maximum WAL senders
- max_
worker_ strprocesses Sets the maximum number of background processes that the system can support *
pg_partman_bgw.interval
- Sets the time interval to run pg_partman’s scheduled tasks *pg_partman_bgw.role
- Controls which role to use for pg_partman’s scheduled background tasks. *pg_stat_statements.track
- 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.- pg_
partman_ strbgw_ dot_ interval - pg_
partman_ strbgw_ dot_ role - pg_
stat_ strstatements_ dot_ track - temp_
file_ strlimit PostgreSQL temporary file limit in KiB, -1 for unlimited
- timezone str
PostgreSQL service timezone
- track_
activity_ strquery_ size Specifies the number of bytes reserved to track the currently executing command for each active session.
- track_
commit_ strtimestamp Record commit time of transactions
- track_
functions str Enables tracking of function call counts and time used.
- wal_
sender_ strtimeout Terminate replication connections that are inactive for longer than this amount of time, in milliseconds.
- wal_
writer_ strdelay WAL flush interval in milliseconds. Note that setting this value to lower than the default 200ms may negatively impact performance
GetPgPgUserConfigPgbouncer
- Autodb
Idle stringTimeout If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled.
- Autodb
Max stringDb Connections Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- Autodb
Pool stringMode PGBouncer pool mode
- Autodb
Pool stringSize If non-zero then create automatically a pool of that size per user when a pool doesn’t exist.
- Ignore
Startup List<string>Parameters Enum of parameters to ignore when given in startup packet.
- Min
Pool stringSize 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.
- Server
Idle stringTimeout If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled.
- Server
Lifetime string The pooler will close an unused server connection that has been connected longer than this.
- Server
Reset stringQuery Always Run server_reset_query (DISCARD ALL) in all pooling modes.
- Autodb
Idle stringTimeout If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled.
- Autodb
Max stringDb Connections Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- Autodb
Pool stringMode PGBouncer pool mode
- Autodb
Pool stringSize If non-zero then create automatically a pool of that size per user when a pool doesn’t exist.
- Ignore
Startup []stringParameters Enum of parameters to ignore when given in startup packet.
- Min
Pool stringSize 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.
- Server
Idle stringTimeout If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled.
- Server
Lifetime string The pooler will close an unused server connection that has been connected longer than this.
- Server
Reset stringQuery Always Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb
Idle stringTimeout If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled.
- autodb
Max stringDb Connections Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb
Pool stringMode PGBouncer pool mode
- autodb
Pool stringSize If non-zero then create automatically a pool of that size per user when a pool doesn’t exist.
- ignore
Startup string[]Parameters Enum of parameters to ignore when given in startup packet.
- min
Pool stringSize 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.
- server
Idle stringTimeout If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled.
- server
Lifetime string The pooler will close an unused server connection that has been connected longer than this.
- server
Reset stringQuery Always Run server_reset_query (DISCARD ALL) in all pooling modes.
- autodb_
idle_ strtimeout If the automatically created database pools have been unused this many seconds, they are freed. If 0 then timeout is disabled.
- autodb_
max_ strdb_ connections Do not allow more than this many server connections per database (regardless of user). Setting it to 0 means unlimited.
- autodb_
pool_ strmode PGBouncer pool mode
- autodb_
pool_ strsize If non-zero then create automatically a pool of that size per user when a pool doesn’t exist.
- ignore_
startup_ Sequence[str]parameters Enum of parameters to ignore when given in startup packet.
- min_
pool_ strsize 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.
- server_
idle_ strtimeout If a server connection has been idle more than this many seconds it will be dropped. If 0 then timeout is disabled.
- server_
lifetime str The pooler will close an unused server connection that has been connected longer than this.
- server_
reset_ strquery_ always Run server_reset_query (DISCARD ALL) in all pooling modes.
GetPgPgUserConfigPglookout
- Max
Failover stringReplication Time Lag Number of seconds of master unavailability before triggering database failover to standby
- Max
Failover stringReplication Time Lag Number of seconds of master unavailability before triggering database failover to standby
- max
Failover stringReplication Time Lag Number of seconds of master unavailability before triggering database failover to standby
- max_
failover_ strreplication_ time_ lag Number of seconds of master unavailability before triggering database failover to standby
GetPgPgUserConfigPrivateAccess
- Pg string
PostgreSQL specific server provided values.
- Pgbouncer string
Enable pgbouncer.
- Prometheus string
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 string
PostgreSQL specific server provided values.
- Pgbouncer string
Enable pgbouncer.
- Prometheus string
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 string
PostgreSQL specific server provided values.
- pgbouncer string
Enable pgbouncer.
- prometheus string
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 str
PostgreSQL specific server provided values.
- pgbouncer str
Enable pgbouncer.
- prometheus str
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
GetPgPgUserConfigPrivatelinkAccess
GetPgPgUserConfigPublicAccess
- Pg string
PostgreSQL specific server provided values.
- Pgbouncer string
Enable pgbouncer.
- Prometheus string
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 string
PostgreSQL specific server provided values.
- Pgbouncer string
Enable pgbouncer.
- Prometheus string
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 string
PostgreSQL specific server provided values.
- pgbouncer string
Enable pgbouncer.
- prometheus string
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 str
PostgreSQL specific server provided values.
- pgbouncer str
Enable pgbouncer.
- prometheus str
Allow clients to connect to prometheus from the public internet for service nodes that are in a project VPC or another type of private network
GetPgPgUserConfigTimescaledb
- Max
Background stringWorkers 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.
- Max
Background stringWorkers 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.
- max
Background stringWorkers 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.
- max_
background_ strworkers 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.
GetPgServiceIntegration
- Integration
Type string - Source
Service stringName
- Integration
Type string - Source
Service stringName
- integration
Type string - source
Service stringName
Package Details
- Repository
- https://github.com/pulumi/pulumi-aiven
- License
- Apache-2.0
- Notes
- This Pulumi package is based on the
aiven
Terraform Provider.