In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-17 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
Oracle Mobility Control File
OS:Windows
Oracle:10g
The mobile control file migrates the current control file from the current location to another new location.
Complete the control of file movement in six steps:
1. Get the control file name:
SQL > select status,name from v$controlfile
two。 Modify the control file name in SPFILE:
SQL > alter system set control_files=
'd:\ oracle\ new\ CONTROL01.CTL'
'd:\ oracle\ new\ CONTROL02.CTL'
'd:\ oracle\ new\ CONTROL03.CTL' scope=spfile
3. Shut down the database
SQL > shutdown immediate
4. Move the control file to a new directory
SQL > host move D:\ oradata\ old\ CONTROL01.CTL D:\ oracle\ new\ CONTROL01.CTL
SQL > host move D:\ oradata\ old\ CONTROL02.CTL D:\ oracle\ new\ CONTROL02.CTL
SQL > host move D:\ oradata\ old\ CONTROL03.CTL D:\ oracle\ new\ CONTROL03.CTL
5. Restart the database
SQL > startup
6. Verify the modification result
SQL > select status,name from v$controlfile
Thank you: I have made a summary after referring to a number of articles, and I would like to thank all the network sharers!
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.