(3)以oracle user role crontab -e 35 2 * * * /home/oracle/dbbackup/backupdb.sh 9. restore oracle backup (1) 先创建gedb用户和授权: su - oracle sqlplus / as sysdba @createUser.sql (2)imp USERID=gedb/gegedb file=110.dmp fromuser=gedb touser=gedb 如果要第二次IMP操作要先删除用户gedb,再新建用户gedb,这样imp才不会出错. DROP USER gedb CASCADE; CREATE USER gedb IDENTIFIED BY gegedb; GRANT UNLIMITED TABLESPACE TO gedb; GRANT CONNECT TO gedb; GRANT RESOURCE TO gedb; GRANT DBA TO gedb;
10. oracle优化 SQL> alter system set "_kgl_large_heap_warning_threshold"=8388608 scope=spfile ; (ONLY FOR 10.2.0.1.0 ) SQL> shutdown immediate SQL> startup