Yandex Cloud
Documentation
PresentationContact UsTry it for free
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for PostgreSQL
  • Getting started
  • Access management
  • Inspections and recommendations
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes
    • General questions
    • Connection
    • Updating a cluster
    • Cluster configuration
    • Moving and restoring a cluster
    • Upgrading the PostgreSQL major version
    • Users and roles
    • High availability and load balancing
    • Monitoring and logs
    • Error messages
    • All questions on one page
  1. FAQ
  2. Cluster configuration

PostgreSQL cluster parameter settings

Written by
Yandex Cloud
Updated at November 12, 2026
View in Markdown
  • Is autovacuum enabled for all tables by default?

  • What are the default values for LC_COLLATE and LC_CTYPE database settings?

  • Can I change the LC_COLLATE and LC_CTYPE values?

  • Can I change the database owner?

Is enabled for all tables by default?Is autovacuum enabled for all tables by default?

Yes, AUTOVACUUM is enabled for all tables by default.

Autovacuuming does not run at a specific time. Instead, it runs when a certain value specified in the settings is reached, for example, when the share of updated or deleted table records becomes equal to the Autovacuum vacuum scale factor.

For more information, see this PostgreSQL guide.

What are the default values for LC_COLLATE and LC_CTYPE database settings?What are the default values for LC_COLLATE and LC_CTYPE database settings?

The default settings for new databases are LC_CTYPE=C and LC_COLLATE=C. You cannot change these settings for the database created alongside the cluster. However, you can create a new database and specify the required values for it.

Can I change the LC_COLLATE and LC_CTYPE values?Can I change the LC_COLLATE and LC_CTYPE values?

Once a database is created, you cannot change its locale settings. However, you can:

  • Create a new database with the required settings.
  • Specify the collation locale (LC_COLLATE) for the database objects:
    • When calling a function:
      SELECT lower(t1 COLLATE "ru_RU.utf8") FROM test;
      
    • When creating or altering a table:
      CREATE TABLE test (t1 text COLLATE "ru_RU.utf8");
      

Can I change the database owner?Can I change the database owner?

Yes, you can change the owner of an existing database without having to recreate it or lose any data. The database name, cluster FQDN, port, and other connection parameters remain unchanged.

It is possible to change the owner only of the database itself. The owners of objects existing within the database (tables, sequences, views, functions, charts, including public ones) are not automatically reassigned. As a rule, the users on whose behalf an object was created remain its owners. To provide ownership of existing objects to a new user, see this PostgreSQL guide.

Was the article helpful?

Previous
Updating a cluster
Next
Moving and restoring a cluster
© 2026 Direct Cursus Technology L.L.C.