Viewing Parameter Values
GaussDB(DWS) uses a set of default GUC parameters after it is installed. You can modify the parameters to better fit your service scenario and data volume.
Procedure
- View the parameter values of a database.
- Use the SHOW command.
- 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;
- To view a certain parameter, run the following command:
- 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;
- To view a certain parameter, run the following command:
- Use the SHOW command.
Example
Run the following command to view the server version:
1 2 3 4 5 | SHOW server_version;
server_version
----------------
9.2.4
(1 row)
|
Last Article: Setting GUC Parameters
Next Article: Resetting Parameters
Did this article solve your problem?
Thank you for your score!Your feedback would help us improve the website.