脚踏实地、勇往直前!
全部博文(1005)
12c cdb/pdb(2)
GoldenGate(15)
SQL&PL/SQL(8)
Data Guard(24)
RAC&Failsafe(52)
Server Utilities(17)
Security(1)
Performance Tuni(27)
Server Admin(80)
Backup&Recovery(38)
发布时间:2019-05-10 10:39:50
安装好oracle 12c后,通过工具PLSQL Developer连接报如下错误:解决办法,添加红色部分:[oracle@localhost admin]$ more sqlnet.ora # sqlnet.ora Network Configuration File: /u01/app/oracle/product/12.2.0.1/db_1/network/admin/sqlnet.ora# Generated by Oracle configuration tools.NAMES.DIRECTORY_P.........【阅读全文】
发布时间:2019-01-04 16:54:25
1.数据库开启审计alter system set audit_trail=db,extended scope=spfile;shutdown immediatestartup2.对某个表进行审计connect / as sysdbaSQL> show user;USER is "SYS"SQL> audit select table by hxl by session;Audit succeeded.以上语句执行后在 dba_stmt_audit_opt 视图会有相应的记录SQL> set line.........【阅读全文】
发布时间:2018-05-11 08:51:01
1.停掉主从相应进程主:GGSCI (host01) 14> stop extract EORA_1GGSCI (host01) 15> stop extract PORA_1从:GGSCI (host02) 11> stop replicat rora_13.删除从库库的表数据Delete From BONUS t;Delete From emp;Delete From salgrade;Delete From dept;2.主库创建expdmp导出目录create directory backdir as.........【阅读全文】
发布时间:2018-05-11 07:58:53
1.删除备库的表数据2.主库导出exp查看scnselect dbms_flashback.get_system_change_number from dual;---------------------1206679exp userid=system/oracle file=/u01/app/scott02.dmp tables=scott.DEPT,scott.EMP,scott.BONUS,scott.SALGRADE FLASHBACK_SCN=1206679 CONSTRAINTS=N GRANTS=N TRIGGERS=N LOG=/u.........【阅读全文】
发布时间:2014-02-28 14:32:33
以前一直在服务器上的使用oracle用户操作数据库,今天切换了另外一个用户,已经将该用户添加到dba组里,但是无法登录[etl@node1 shell]$ whoamietl[etl@node1 shell]$ sqlplus /nologSQL*Plus: Release 11.2.0.1.0 Production on Fri Feb 28 14:10:09 2014Copyright (c) 1982, 2009, Oracle. All right.........【阅读全文】