In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-19 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
When parfile solves the problem of too many parameters in exp, reprinting ▼ parfile is actually a parameter file used in EXP or EXPDP, and the parameters in the export process can be placed in the PARFILE file.
When using the exp command to export data against an oracle database, if there are too many parameters in EXP or too many tables followed by tables=, the command line will not fit and cannot be exported. It is found that the problem can be solved by using the parfile command. The first step is to create a file e:\ exp.txt (with a random file name) with the following content
Userid=system/manager1
Tables= (scott.tab1,scott.tab2) file=e:\ exp.dmp
Log=e:\ exp.log full=y
INDEXES=y
Grants=y
Rows=y
Constraints=y
Compress=y
Add the query conditions of the corresponding table
Query=
(
Scott.tab1: "where UA_SERIAL_ID in ('96 years, June 26')"
Scott.tab2: "where FILESIZE=273899"
)
Finally, execute the following command
Exp system/manager1 file=e:\ 1.dmp parfile=e:\ exp.txt log=e:\ 1.log
In this way, the data can be exported.
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.