Network Security Internet Technology Development Database Servers Mobile Phone Android Software Apple Software Computer Software News IT Information

In addition to Weibo, there is also WeChat

Please pay attention

WeChat public account

Shulou

OMF management automatically add data file script add_datafile.sh

2025-04-02 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Database >

Share

Shulou(Shulou.com)06/01 Report--

Oracle_ray.sh script can be found in my blog. If you need it, please find it yourself.

Modification item:

1 sqlplus cannot be found without reading the profile file in crontab. If it is linux, please read the bash_profile file

2 filter out temp and undo2 tablespaces in egrep-v to prevent errors

Digression: I have no choice but to change 4 versions of such a simple script. The main reason is carelessness. Careful is very important, careful is very important. Say important things three times!

#! / bin/bash#by raysuen#v04. ~ / .profileAddDataFile () {sqlplus-s / nolog

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.

Share To

Wechat

© 2024 shulou.com SLNews company. All rights reserved.

12
Report