In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-02-24 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Create a folder where the exported files are stored
Create directory dir_dump as'/ home/oracle'
Authorize the user
Grant read, write on directory dir_dump to user
Export data
Expdp user/password directory=dir_dump dumpfile=expdp.dmp schemas=user
Expdp user/password directory=dir_dump dumpfile=dir_dump:exp%U.dmp filesize=2m; # exports to multiple files, using filesize to control the size of a single file
Import data
Impdp user/password directory=dir_dump dumpfile=expdp.dmp table_exists_action=replace logfile=xxx.log
Special note: the table_exists_action parameter is used to control how to handle existing tables on import.
Table_exists_action options:
1.skip skips and processes the next object if the table already exists (this is the default option)
2.append is to add data to the table. If the only key conflicts, an error will be reported.
3.truncate is to truncate the table and then add new data to it.
4.replace is to delete existing tables, rebuild tables, and append data
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.