Deze pagina is nog niet beschikbaar in uw eigen taal. We werken er hard aan om meer taalversies toe te voegen. Bedankt voor uw steun.

On this page

Show all

Viewing GUC Parameters

Updated on 2024-12-18 GMT+08:00

GaussDB(DWS) GUC parameters can control database system behaviors. You can check and adjust the GUC parameters based on your business scenario and data volume.

  • After a cluster is installed, you can check database parameters on the GaussDB(DWS) management console.

  • You can also connect to a cluster and run SQL commands to check the GUC parameters.
    • Run the SHOW command.
      NOTE:

      Method 2 can only be used to check the GUC parameter values of CNs, while the GUC parameter values of DNs can be viewed through Method 1: by using the management console.

      To view a certain parameter, run the following command:
      1
      SHOW server_version;
      

      server_version indicates the database version.

      Run the following command to view values of all parameters:
      1
      SHOW ALL;
      
    • Use the pg_settings view.
      To view a certain parameter, run the following command:
      1
      SELECT * FROM pg_settings WHERE NAME='server_version';
      
      Run the following command to view values of all parameters:
      1
      SELECT * FROM pg_settings;
      
Feedback

Feedback

Feedback

0/500

Selected Content

Submit selected content with the feedback