Process: PLSQL -> Database links -> Create a dblink
New dblink specific steps:
1, the database connection
Owner: XXX (for example: EAPS)
Name: XXX (name recognition and high points, such as: EAPS_LINK)
2, connected to
Username: XXX (the target database user name)
Password: XXX (the target database password)
database:
(DESCRIPTION =
(ADDRESS_LIST =
(ADDRESS = (PROTOCOL = TCP) (HOST = IP address) (PORT = port number))
)
(CONNECT_DATA =
(SERVICE_NAME = service name)
)
)
3. Click "Apply" and you're done!
Start across servers for data import:
INSERT INTO XXX (SELECT * FROM XXX@EAPS_LINK );
ps: the original sql statement to insert 60000, statements about the size of 50M, PLSQL reported memory overflow
Inserting batches, a batch of 5000, approximately around 300s Processed
above-described manner only Processed: 6S !!!!!!
-------------------- -
author: qsl_qsl
source: CSDN
original: https: //blog.csdn.net/qsl_qsl/article/details/81178196
copyright: This article is a blogger original article, reproduced, please attach Bowen link!