Help Center/
GaussDB(DWS)/
Data Migration and Synchronization/
Importing Data/
Using GDS to Import Data from a Remote Server/
Stopping GDS
Updated on 2024-03-08 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 mode of starting it.
- 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/dws/gds/bin python3 gds_ctl.py stop
- If GDS is started using the gds command, perform the following operations to stop GDS:
Parent topic: Using GDS to Import Data from a Remote Server
Feedback
Was this page helpful?
Provide feedbackThank you very much for your feedback. We will continue working to improve the documentation.
The system is busy. Please try again later.