Yandex Cloud
Search
Contact UsTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex MPP Analytics for PostgreSQL
  • Getting started
    • All guides
      • Information about existing clusters
      • Creating a cluster
      • Expanding a cluster
      • Editing the cluster configuration
      • Updating cluster settings
      • Stopping and starting a cluster
      • Managing backups
      • Managing cluster access
      • Maintenance
      • Deleting a cluster
    • Connecting to an external file server (gpfdist)
    • Auxiliary utilities
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Public materials
  • Release notes

In this article:

  • Getting a list of maintenance jobs
  • Getting cluster maintenance logs
  • Postponing scheduled maintenance
  • Starting scheduled maintenance immediately
  • Configuring a maintenance window
  1. Step-by-step guides
  2. Clusters
  3. Maintenance

Yandex MPP Analytics for PostgreSQL cluster maintenance

Written by
Yandex Cloud
Updated at April 20, 2026
  • Getting a list of maintenance jobs
  • Getting cluster maintenance logs
  • Postponing scheduled maintenance
  • Starting scheduled maintenance immediately
  • Configuring a maintenance window

You can manage maintenance of a Yandex MPP Analytics for PostgreSQL cluster.

Getting a list of maintenance jobsGetting a list of maintenance jobs

Management console
  1. Open the folder dashboard.
  2. Navigate to Yandex MPP Analytics for PostgreSQL.
  3. Click the cluster name and open the  Maintenance tab.
  4. Optionally, select a maintenance status above the maintenance list.

Getting cluster maintenance logsGetting cluster maintenance logs

Management console
  1. Open the folder dashboard.
  2. Navigate to Yandex MPP Analytics for PostgreSQL.
  3. Click the cluster name and open the  Maintenance tab.
  4. Select the maintenance. The maintenance page will open.
  5. Click Task logs.

Postponing scheduled maintenancePostponing scheduled maintenance

Management console
CLI
REST API
gRPC API
  1. Open the folder dashboard.

  2. Navigate to Yandex MPP Analytics for PostgreSQL.

  3. Click the cluster name and open the  Maintenance tab.

  4. Click next to the maintenance with the Planned status and select Postpone.

  5. Select the reschedule type for the planned maintenance:

    • Next window: Reschedule to the next maintenance window.

    • Choose date (UTC): Reschedule to a specific date and time interval (UTC).

      For this option, select the date and UTC time interval.

      Maintenance can be postponed for a maximum of two weeks from the original scheduled date.

  6. Click Reschedule.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id options.

To postpone scheduled maintenance:

  1. View the description of the CLI command for rescheduling maintenance:

    yc managed-greenplum cluster reschedule-maintenance --help
    
  2. Reschedule the maintenance:

    yc managed-greenplum cluster reschedule-maintenance <cluster_name_or_ID> \
      --reschedule-type <reschedule_type>
    

    Where reschedule_type is reschedule type:

    • next-available-window: Next available maintenance window.

    • specific-time: Specific date and time, UTC.

      For this value, also use the --delayed-until parameter to provide a timestamp in one of these formats:

      • RFC 3339.
      • HH:MM:SS.
      • Relative time to postpone maintenance for.

      Here are some examples: 2006-01-02T15:04:05Z, 15:04:05, 2h, 3h30m ago.

      Maintenance can be postponed for a maximum of two weeks from the original scheduled date.

    You can get the cluster name and ID with the list of clusters in the folder.

  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Call the Cluster.RescheduleMaintenance method, e.g., via the following cURL request:

    curl \
      --request POST \
      --header "Authorization: Bearer $IAM_TOKEN" \
      --header "Content-Type: application/json" \
      --url 'https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/<cluster_ID>:rescheduleMaintenance' \
      --data '{
               "rescheduleType": "<reschedule_type>"
             }'
    

    Where reschedule_type is reschedule type:

    • NEXT_AVAILABLE_WINDOW: Next available maintenance window.

    • SPECIFIC_TIME: Specific date and time, UTC.

      For this value, also use the delayedUntil parameter to provide a timestamp in RFC 3339 format. Here is an example:

      2006-01-02T15:04:05Z

      Maintenance can be postponed for a maximum of two weeks from the original scheduled date.

    You can get the cluster ID with the list of clusters in the folder.

  3. Check the server response to make sure your request was successful.

  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Clone the cloudapi repository:

    cd ~/ && git clone --depth=1 https://github.com/yandex-cloud/cloudapi
    

    Below, we assume that the repository contents reside in the ~/cloudapi/ directory.

  3. Call the ClusterService.RescheduleMaintenance method, e.g., via the following gRPCurl request:

    grpcurl \
      -format json \
      -import-path ~/cloudapi/ \
      -import-path ~/cloudapi/third_party/googleapis/ \
      -proto ~/cloudapi/yandex/cloud/mdb/greenplum/v1/cluster_service.proto \
      -rpc-header "Authorization: Bearer $IAM_TOKEN" \
      -d '{
           "cluster_id": "<cluster_ID>",
           "reschedule_type": "<reschedule_type>"
          }' \
      mdb.api.cloud.yandex.net:443 \
      yandex.cloud.mdb.greenplum.v1.ClusterService.RescheduleMaintenance
    

    Where reschedule_type is reschedule type:

    • NEXT_AVAILABLE_WINDOW: Next available maintenance window.

    • SPECIFIC_TIME: Specific date and time, UTC.

      For this value, also use the delayed_until parameter to provide a timestamp in RFC 3339 format. Here is an example:

      2006-01-02T15:04:05Z

      Maintenance can be postponed for a maximum of two weeks from the original scheduled date.

    You can get the cluster ID with the list of clusters in the folder.

  4. Check the server response to make sure your request was successful.

Starting scheduled maintenance immediatelyStarting scheduled maintenance immediately

Management console
CLI
REST API
gRPC API
  1. Open the folder dashboard.
  2. Navigate to Yandex MPP Analytics for PostgreSQL.
  3. Click the cluster name and open the  Maintenance tab.
  4. In the maintenance row, click and select Carry out now.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id options.

To start scheduled maintenance immediately, do the following:

  1. View the description of the CLI command for rescheduling maintenance:

    yc managed-greenplum cluster reschedule-maintenance --help
    
  2. Start scheduled maintenance immediately:

    yc managed-greenplum cluster reschedule-maintenance <cluster_name_or_ID> \
      --reschedule-type immediate
    

    You can get the cluster name and ID with the list of clusters in the folder.

  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Call the Cluster.RescheduleMaintenance method, e.g., via the following cURL request:

    curl \
      --request POST \
      --header "Authorization: Bearer $IAM_TOKEN" \
      --header "Content-Type: application/json" \
      --url 'https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/<cluster_ID>:rescheduleMaintenance' \
      --data '{
               "rescheduleType": "IMMEDIATE"
             }'
    

    You can get the cluster ID with the list of clusters in the folder.

  3. Check the server response to make sure your request was successful.

  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Clone the cloudapi repository:

    cd ~/ && git clone --depth=1 https://github.com/yandex-cloud/cloudapi
    

    Below, we assume that the repository contents reside in the ~/cloudapi/ directory.

  3. Call the ClusterService.RescheduleMaintenance method, e.g., via the following gRPCurl request:

    grpcurl \
      -format json \
      -import-path ~/cloudapi/ \
      -import-path ~/cloudapi/third_party/googleapis/ \
      -proto ~/cloudapi/yandex/cloud/mdb/greenplum/v1/cluster_service.proto \
      -rpc-header "Authorization: Bearer $IAM_TOKEN" \
      -d '{
           "cluster_id": "<cluster_ID>",
           "reschedule_type": "IMMEDIATE"
         }' \
      mdb.api.cloud.yandex.net:443 \
      yandex.cloud.mdb.greenplum.v1.ClusterService.RescheduleMaintenance
    

    You can get the cluster ID with the list of clusters in the folder.

  4. Check the server response to make sure your request was successful.

Configuring a maintenance windowConfiguring a maintenance window

Management console
CLI
Terraform
REST API
gRPC API
  1. Open the folder dashboard.

  2. Navigate to Yandex MPP Analytics for PostgreSQL.

  3. Click the cluster name and open the  Maintenance tab.

  4. Click Configure the maintenance window in the top-right corner of the page.

  5. Select a maintenance window:

    • arbitrary: Maintenance takes place at any time.

    • by schedule: Maintenance is scheduled for the selected day of the week and UTC time interval.

      For this type of maintenance, define the start of the maintenance window: select the day of the week and UTC time interval.

  6. Click Save.

If you do not have the Yandex Cloud CLI yet, install and initialize it.

The folder used by default is the one specified when creating the CLI profile. To change the default folder, use the yc config set folder-id <folder_ID> command. You can also set a different folder for any specific command using the --folder-name or --folder-id options.

To set a maintenance window:

  1. See the description of the CLI command for updating cluster settings:

    yc managed-greenplum cluster update --help
    
  2. Set up a maintenance window:

    yc managed-greenplum cluster update <cluster_name_or_ID> \
      --maintenance-window type=<maintenance_type>,`
                          `day=<day_of_week>,`
                          `hour=<hour>
    

    Where type is the maintenance type:

    • anytime: At any time (default).
    • weekly: On a schedule. For this value, also specify the following:
      • day: Day of week, i.e., MON, TUE, WED, THU, FRI, SAT, or SUN.
      • hour: Hour of day (UTC), from 1 to 24.

    You can get the cluster name and ID with the list of clusters in the folder.

  1. Open the current Terraform configuration file describing your infrastructure.

    For more on how to create this file, see Creating a cluster.

    For a complete list of configurable Greenplum® cluster fields, see this Terraform provider guide.

  2. To set up a maintenance window, add the maintenance_window section to the cluster description:

    resource "yandex_mdb_greenplum_cluster" "<local_cluster_name>" {
      ...
      maintenance_window {
        type = "<maintenance_type>"
      }
      ...
    }
    

    Where type is the maintenance type:

    • ANYTIME: Any time (default).

    • WEEKLY: On a schedule. For this value, also specify the following:

      • day: Day of week, i.e., MON, TUE, WED, THU, FRI, SAT, or SUN.
      • hour: Hour of day (UTC), from 1 to 24.
  3. Validate your configuration.

    1. In the command line, navigate to the directory that contains the current Terraform configuration files defining the infrastructure.

    2. Run this command:

      terraform validate
      

      Terraform will show any errors found in your configuration files.

  4. Confirm updating the resources.

    1. Run this command to view the planned changes:

      terraform plan
      

      If you described the configuration correctly, the terminal will display a list of the resources to update and their parameters. This is a verification step that does not apply changes to your resources.

    2. If everything looks correct, apply the changes:

      1. Run this command:

        terraform apply
        
      2. Confirm updating the resources.

      3. Wait for the operation to complete.

    Warning

    The Terraform provider limits the amount of time for all Yandex MPP Analytics for PostgreSQL cluster operations to complete to 120 minutes.

    Operations exceeding the set timeout are interrupted.

    How do I change these limits?

    Add the timeouts block to the cluster description, for example:

    resource "yandex_mdb_greenplum_cluster" "<cluster name>" {
      ...
      timeouts {
        create = "1h30m" # 1 hour 30 minutes
        update = "2h"    # 2 hours
        delete = "30m"   # 30 minutes
      }
    }
    
  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Call the Cluster.Update method, e.g., via the following cURL request:

    curl \
      --request PATCH \
      --header "Authorization: Bearer $IAM_TOKEN" \
      --header "Content-Type: application/json" \
      --url 'https://mdb.api.cloud.yandex.net/managed-greenplum/v1/clusters/<cluster_ID>' \
      --data '{
               "updateMask": "maintenanceWindow",
               "maintenanceWindow": {
                 "weeklyMaintenanceWindow": {
                   "day": "<day_of_week>",
                   "hour": "<hour>"
                 }
               }
             }'
    

    Where:

    • updateMask: Comma-separated string of settings to update.

      In this example, only the maintenanceWindow setting is provided.

      Warning

      When you update a cluster, all parameters of the object you are modifying will take their defaults unless explicitly provided in the request. To avoid this, list the settings you want to change in the updateMask parameter.

    • maintenanceWindow: Maintenance window settings. Provide one of the values:

      • anytime: Allows performing maintenance at any time; default option.

        This parameter is provided as an empty object: "anytime": {}.

      • weekly_maintenance_window: Maintenance takes place once a week at the specified time:

        • day: Day of week in DDD format, i.e., MON, TUE, WED, THU, FRI, SAT, or SUN.
        • hour: Time of day (UTC), from 1 to 24.

    You can get the cluster ID with the list of clusters in the folder.

  3. Check the server response to make sure your request was successful.

  1. Get an IAM token for API authentication and put it into an environment variable:

    export IAM_TOKEN="<IAM_token>"
    
  2. Clone the cloudapi repository:

    cd ~/ && git clone --depth=1 https://github.com/yandex-cloud/cloudapi
    

    Below, we assume that the repository contents reside in the ~/cloudapi/ directory.

  3. Call the ClusterService.Update method, e.g., via the following gRPCurl request:

    grpcurl \
      -format json \
      -import-path ~/cloudapi/ \
      -import-path ~/cloudapi/third_party/googleapis/ \
      -proto ~/cloudapi/yandex/cloud/mdb/greenplum/v1/cluster_service.proto \
      -rpc-header "Authorization: Bearer $IAM_TOKEN" \
      -d '{
           "cluster_id": "<cluster_ID>",
           "update_mask": {
             "paths": [
               "maintenance_window"
             ]
           },
           "maintenance_window": {
             "weekly_maintenance_window": {
               "day": "<day_of_week>",
               "hour": "<hour>"
             }
           }
         }' \
      mdb.api.cloud.yandex.net:443 \
      yandex.cloud.mdb.greenplum.v1.ClusterService.Update
    

    Where:

    • update_mask: List of settings to update as an array of strings (paths[]).

      Format for listing settings
      "update_mask": {
        "paths": [
          "<setting_1>",
          "<setting_2>",
          ...
          "<setting_N>"
        ]
      }
      

      In this example, only the maintenance_window setting is provided.

      Warning

      When you update a cluster, all parameters of the object you are modifying will take their defaults unless explicitly provided in the request. To avoid this, list the settings you want to change in the update_mask parameter.

    • maintenance_window: Maintenance window settings. Provide one of the values:

      • anytime: Allows performing maintenance at any time; default option.

        This parameter is provided as an empty object: "anytime": {}.

      • weekly_maintenance_window: Maintenance takes place once a week at the specified time:

        • day: Day of week in DDD format, i.e., MON, TUE, WED, THU, FRI, SAT, or SUN.
        • hour: Time of day (UTC), from 1 to 24.

    You can get the cluster ID with the list of clusters in the folder.

  4. Check the server response to make sure your request was successful.

Was the article helpful?

Previous
Managing cluster access
Next
Deleting a cluster
© 2026 Direct Cursus Technology L.L.C.