Help Center/
GaussDB/
Developer Guide(Distributed_2.x)/
Importing Data/
Importing Data in Parallel Using Foreign Tables/
Stopping GDS
Updated on 2023-10-23 GMT+08:00
Stopping GDS
Scenarios
Stop GDS after data is imported successfully.
Procedure
- Log in as user gds_user to the data server where GDS is installed.
- Select the mode of stopping GDS based on the GDS start mode.
- If GDS is started using the gds command, perform the following operations to stop GDS:
- Query the GDS process ID.
ps -ef|grep gds
For example, the GDS process ID is 128954.
ps -ef|grep gds gds_user 128954 1 0 15:03 ? 00:00:00 gds -d /input_data/ -p 192.168.0.90:5000 -l /log/gds_log.txt -D gds_user 129003 118723 0 15:04 pts/0 00:00:00 grep gds
- Run the kill command to stop GDS. 128954 in the command is the GDS process ID.
kill -9 128954
- Query the GDS process ID.
- If GDS is started using the gds_ctl.py command, run the following commands to stop GDS:
cd /opt/bin/gds python3 gds_ctl.py stop
- If GDS is started using the gds command, perform the following operations to stop GDS:
Parent topic: Importing Data in Parallel Using Foreign Tables
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