Help Center/
GaussDB/
Developer Guide(Distributed_2.x)/
Configuring Running Parameters/
Viewing Parameter Values
Updated on 2024-10-14 GMT+08:00
Viewing Parameter Values
GaussDB uses a set of default running parameters after it is installed. You can modify the parameters to better fit your application scenarios and data volume.
Procedure
- Connect to a database. For details, see Connecting to a Database.
- View the parameter values in the database.
- Method 1: Run the SHOW command.
- Run the following command to view the value of a certain parameter:
1
openGauss=# SHOW server_version;
server_version indicates the database version.
- Run the following command to view values of all parameters:
1
openGauss=# SHOW ALL;
- Run the following command to view the value of a certain parameter:
- Method 2: Query the pg_settings view.
- Run the following command to view the value of a certain parameter:
1
openGauss=# SELECT * FROM pg_settings WHERE NAME='server_version';
- Run the following command to view values of all parameters:
1
openGauss=# SELECT * FROM pg_settings;
- Run the following command to view the value of a certain parameter:
- Method 1: Run the SHOW command.
Example
View the server version.
1 2 3 4 5 |
openGauss=# SHOW server_version; server_version ---------------- 9.2.4 (1 row) |
Parent topic: Configuring Running Parameters
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.See the reply and handling status in My Cloud VOC.
The system is busy. Please try again later.
For any further questions, feel free to contact us through the chatbot.
Chatbot