In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-01-16 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >
Share
Shulou(Shulou.com)06/01 Report--
1. Create a new log group
1.alter database add logfile group 4 ('/ u01ax size size 1024k)
2.alter database add logfile group 5 ('/ u01ax size size 1024k)
2. Switch the current log to a new log group
1.alter system switch logfile
2.alter system switch logfile
3. Delete the old log group
1.alter database drop logfile group 1
2.alter database drop logfile group 2
3.alter database drop logfile group 3
4. Delete the files in the original log group 1, 2, 3 under the operating system
5. Rebuild log group 1, 2, 3
1.alter database add logfile group 1 ('/ u01 size) size 10m
2.alter database add logfile group 2 ('/ u01 size) size 10m
3.alter database add logfile group 3 ('/ u01ax size size 10m)
6. Switch log groups
1.alter system switch logfile
2.alter system switch logfile
3.alter system switch logfile
7. Delete log groups 4 and 5
1.alter database drop logfile group 4
2.alter database drop logfile group 5
8. Delete the files in the original log group 4 and 5 under the operating system
9. Back up the latest control files
SQL > alter database backup controlfile to trace resetlogs
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.