Help Center/
GaussDB(DWS)/
More Documents/
Developer Guide (Paris Region)/
Data Migration/
Data Export/
Using GDS to Export Data to a Remote Server/
Exporting Data
Updated on 2022-07-29 GMT+08:00
Exporting Data
Prerequisites
Ensure that the IP addresses and ports of servers where CNs and DNs are deployed can connect to those of the GDS server.
Procedure
- Export data.
1
INSERT INTO [Foreign table name] SELECT * FROM [Source table name];
- Create batch processing scripts to export data in parallel. The degree of parallelism depends on the server resource usage. You can test several tables and monitor resource usage to determine whether to increase or reduce the amount. Common resource monitoring commands include top for memory and CPU usage, iostat for I/O usage, and sar for networks. For details about application cases, see Exporting Data Using Multiple Threads.
- Only a single internal table can be exported at a time. Multiple tables cannot be joined during export. Results of the aggregation, sort, subquery, and limit operations on a single table also cannot be exported.
Parent topic: Using GDS to Export Data to a Remote Server
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