The page has been translated by Gen AI.

Managing DB Services

Users can manage PostgreSQL (DBaaS) through the Samsung Cloud Platform Console.

Managing Parameters

Provides a feature that allows you to easily view and modify database configuration parameters.

Query Parameter

To view configuration parameters, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL(DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource whose parameters you want to view or modify. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the Parameter Management button. 4. Parameter Management The popup window opens.
  5. Parameter Management In the popup window, click the Search button. 5. View Notification popup opens.
  6. When the View Notification popup appears, click the Confirm button. 6. Retrieving may take a short amount of time.

Modify Parameter

To modify the configuration parameters, follow the steps below.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List Click the resource on the page for which you want to view or modify parameters. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the Parameter Management button. 4. Parameter Management The popup window opens.
  5. Parameter Management In the popup window, click the Search button. 5. Lookup Notification A popup window opens.
  6. When the View Notification popup appears, click the Confirm button. 6. Retrieving may take a short amount of time.
  7. If editing is required, click the Edit button and enter the changes in the custom value field of the Parameter to be edited.
  8. When the input is complete, click the Done button.

Manage DB Users

Provides administrative features to view DB user information and modify status information.

Query DB Users

To look up DB users, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource you want to use to view DB users. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB User Management button. 4. Go to the DB User Management page.
  5. On the DB User Management page, click the Search button. 5. Retrieving may take a short amount of time.

Changing DB User Status

To change the status of the retrieved DB user, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List On the page, click the resource for which you want to edit the DB user. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB User Management button. 4. Navigate to the DB User Management page.
  5. On the DB User Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. If modification is required, click the Edit button, and change the status area value or enter remarks.
  7. When the input is complete, click the Complete button.

Managing DB Access Control

Provides IP-based DB user access control management functionality. Users can directly specify the IP addresses that can access the database, configuring it so that only authorized IPs are allowed access.

안내
Perform a DB user lookup before setting DB access control. For DB user lookup, please refer to DB 사용자 관리하기.

View DB Access Control

To view DB users with IP access control enabled, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource you want to manage access control for. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB Access Control Management button. 4. Go to the DB Access Control Management page.
  5. On the DB Access Control Management page, click the Search button. 5. Retrieving may take a short amount of time.

Add DB access control

Follow these steps to add IP access control.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Go to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource for which you want to add IP access control. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB Access Control Management button. 4. Go to the DB Access Control Management page.
  5. On the DB Access Control Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. When the query is complete, click the Add button. 6. Add DB Access Control The popup window opens.
  7. Add DB Access Control In the popup window, select the DB username and enter the IP address.
  8. When the input is complete, click the Complete button.

Delete DB access control

To delete IP access control, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List Click the resource you want to delete IP access control for. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the More button, then click the DB Access Control Management button. 4. Go to the DB Access Control Management page.
  5. On the DB Access Control Management page, click the Search button. 5. Retrieving may take a short amount of time.
  6. When the query is complete, click the Delete button. 6. Delete popup window opens.
  7. Delete popup window: click the Confirm button.

Manage Archive

Provides the ability to configure Archive mode and set the retention period for Archive logs, allowing users to flexibly configure Archive log management policies to suit their operational environment. Additionally, it provides a feature to manually delete archive logs, allowing you to clean up unnecessary log data and manage system resources effectively.

안내
When creating a service, the default setting uses Archive mode, and the retention period is 3 days.

Configure Archive mode

To set the Archive mode, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).

  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.

  3. PostgreSQL (DBaaS) List page, click the resource you want to set Archive mode for. 3. PostgreSQL(DBaaS) Details Navigate to the page.

  4. Archive Settings Management Navigate to the page.

  5. On the Archive Settings Management page, click the Search button. 5. Retrieving may take a short amount of time.

  6. Click the Edit button and select usage status and retention period.

  7. When the edit is complete, click the Done button.

Delete archive file

To delete the Archive file, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource for which you want to set Archive mode. 3. Go to the PostgreSQL(DBaaS) Details page.
  4. Click the More button, then click the Archive Settings Management button. 4. Go to the Archive Settings Management page.
  5. On the Archive Settings Management page, if you want to delete all Archive files, click the Delete All Archives button; if you want to delete only backed-up Archive files, click the Delete Backed-up Archives button.

Modify Audit Settings

You can change the Audit log storage settings of PostgreSQL (DBaaS).

To change the Audit log storage settings of PostgreSQL (DBaaS), follow the steps below.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Go to the page.
  3. PostgreSQL(DBaaS) List Click the resource on the page to view the service status. 3. PostgreSQL(DBaaS) Details Go to the page.
  4. Click the Edit icon of Audit Settings at the bottom of the detailed information. 4. Modify Audit Settings A popup window opens.
  5. Audit 설정 수정 팝업창에서 사용 여부를 수정한 후, 확인 버튼을 클릭하세요.
    • When Use is selected, the Audit log feature is enabled. * Enabling audit logging may degrade database performance.
    • If you disable use, the Audit log storage file will be deleted. * Back up the Audit log file separately before disabling.

Export DB Log

Supports exporting log data that requires long-term retention among audit (Audit) logs to Object Storage. Users can directly configure the log types that need to be stored, the destination Bucket for export, and the log export interval. Copies logs to the designated Object Storage for retention according to the configured criteria. Additionally, to efficiently manage disk space, we also provide an option that exports logs to Object Storage while automatically deleting the original log files.

안내
  • To use the DB Log export feature, you need to create an Object Storage. * For Object Storage creation, please refer to the Object Storage 사용자 가이드.
  • Please be sure to verify the expiration date and time of the authentication key. * If the authentication key expires, logs will not be stored in the bucket.
  • Please ensure that authentication key information is not exposed to external parties.

Setting DB Log Export Mode

To set the DB Log export mode, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List On the page, click the resource whose DB Log you want to export. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button and then click the DB Log Export button. 4. Export DB Log Go to the page.
  5. On the DB Log Export page, click the Register button. 5. Go to the Register DB Log Export page.
  6. DB Log Export Registration page, after entering the required information, click the Complete button.
    CategoryRequired
    Detailed description
    Log typeRequiredLog type to be saved
    Save bucket nameRequiredName of the Object Storage bucket to be saved
    Authentication key > Access keyRequiredAccess key for accessing the Object Storage you want to store
    Authentication key > Secret keyRequiredSecret key for accessing the Object Storage you want to store
    File creation cycleRequiredFile creation frequency in Object Storage
    Whether to delete the original logSelectionWhether to delete the original logs when exporting to Object Storage
    Table. PostgreSQL(DBaaS) DB Log Export Configuration Items

Managing DB Log Export

To modify, cancel, or immediately export the DB Log export settings, follow the steps below.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List page, click the resource you want to manage DB Log export for. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the DB Log Export button. 4. Go to the Export DB Log page.
  5. On the DB Log Export page, click the More button according to the log type you want to manage, then click the Export Now, Edit, or Cancel button.
    • Export Immediately: The selected logs are exported to the bucket of the previously configured Object Storage.
    • Edit: Modify the DB Log export mode settings.
    • Cancel: Cancel the DB Log export mode setting.

Minor version upgrade

If a latest patch that includes security enhancements and feature improvements is available, it can be applied via the version upgrade feature. Only minor version upgrades are supported within the same major version.

Caution
  • First retrieve the service status via service status synchronization, then proceed with the version upgrade.
  • It is recommended to perform an immediate backup in advance to prepare for any issues that may arise during the upgrade process. * If not, a failure may occur, and some data may not be recoverable.
  • In a DB with a Replica configured, the Master DB version cannot be higher than the Replica version. *
  • The backed-up data is automatically deleted after the version upgrade is completed.

To perform a minor version upgrade, follow the steps below.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to upgrade the Minor version. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the Edit icon of the Image version item. 4. Version Upgrade A popup window opens.
  5. In the Version Upgrade popup, after selecting the updated version, click the Confirm button.
  6. Version Upgrade Notification In the popup window, click the OK button.

Configure Migration

Provides a Migration feature that synchronizes in real time with the operational database and replicates using a Replication method without any service interruption.

안내
For a detailed Migration configuration guide, please refer to Architecture Center > 마이그레이션 가이드.

To configure Migration, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Go to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to migrate. 3. Go to the PostgreSQL(DBaaS) Details page.
  4. Click the More button, then click the Migration configuration button. 4. Migration Configuration The popup window opens.
  5. Migration configuration In the popup window, review the instructions and click the Confirm button. 5. Go to the Migration configuration page.
  6. Migration configuration on the page, after entering the required information, click the Check Connection button.
  7. When the connection is complete, click the Complete button.
    CategoryRequired
    Detailed description
    Source DB Database nameRequiredDatabase name of the source DB to be migrated
    Source DB IPRequiredIP of the Source DB that is the migration target
    Source DB PortRequiredPort of the Source DB to be migrated
    Source DB usernameRequiredUsername of the Source DB to be migrated
    Source DB passwordRequiredPassword of the source DB that is the migration target
    Table. PostgreSQL (DBaaS) migration configuration items

Promote Migration Cluster to Master Cluster

You can promote a fully configured Migration Cluster to a Master Cluster.

Caution
When the master is promoted, synchronization with the source DB that is the migration target is stopped.

To promote the Migration Cluster to Master, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to promote to Master. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the Master promotion button. 4. Master Promotion Notification The popup window opens.
  5. Master Promotion Notification in the popup window, click the Confirm button.

Managing Block Storage Usage

You can view the usage of Block Storage by type allocated to the DB instance.

To view Block Storage usage, follow these steps.

  1. All Services > Database > PostgreSQL(DBaaS) Click the menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. On the PostgreSQL(DBaaS) List page, click the resource to view Block Storage usage. 3. PostgreSQL(DBaaS) Details Navigate to the page.
  4. Click the More button, then click the Block Storage Usage Management button. 4. Go to the Block Storage Usage Management page.
  5. On the Block Storage Usage Management page, click the View button. 5. Block Storage Usage Management The page displays usage by Block Storage type.
    • Retrieving usage by Block Storage type takes a little time.

OS Kernel Upgrade

You can upgrade the OS kernel to improve the functionality of the running database and apply security patches.

Caution
  • The service will be unavailable while the OS upgrade is in progress.
  • The upgrade duration may vary depending on the version, and if the upgrade fails, it will be rolled back to the previous configuration.
  • After the upgrade is complete, you cannot restore to the previous OS.

To upgrade the OS Kernel, follow these steps.

  1. Click the All Services > Database > PostgreSQL(DBaaS) menu. 1. Navigate to the Service Home page of PostgreSQL (DBaaS).
  2. On the Service Home page, click the PostgreSQL(DBaaS) menu. 2. PostgreSQL(DBaaS) List Navigate to the page.
  3. PostgreSQL(DBaaS) List page, click the resource to upgrade the OS Kernel. 3. Go to the PostgreSQL(DBaaS) Details page.
  4. Click the More button, then click the OS(Kernel) Upgrade button. 4. OS(Kernel) Upgrade Notification A popup window opens.
  5. OS(Kernel) Upgrade Notification In the popup window, review the instructions and click the Confirm button.
How-to guides
Backing up and restoring the DB