Get the App
SLTechnology News&Howtos  ›  Database  › 

OMF management automatically add data file script add_datafile.sh

Shulou Source: shulou.com Published: 2022-06-01 07:44:20 11月26日 Update

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

Tags: Careful important files scripts things internal energy blog reason helplessness version space or error extraneous data management Apple Docker Huawei Linux macOS MariaDB Microsoft MySQL NVidia OPPO Reno Docker Linux MariaDB Huawei Shulou Information