太懒
发布时间:2014-09-10 18:01:03
Oracle 查看统计信息SCRIPT - Select to show Optimizer Statistics for CBO (Doc ID 31412.1)https://support.oracle.com/epmos/faces/DocumentDisplay?_afrLoop=1638430201757426&id=31412.1&_adf.ctrl-state=17ud5ixo9v_65 [oracle@my2950 admin]$ cd /u01/app/oracle/product/11.2.4/db_1/rdbms/admin[oracle@my2950 ad.........【阅读全文】
发布时间:2014-09-10 15:00:38
使用DBMS_XPLAN查看执行计划SQL> show user;USER is "SCOTT"SQL>SQL> select count(*) from dba_objects; COUNT(*)---------- 87091SQL> create table t2 as select * from dba_objects;Table created.SQL>SQL> create index idx_t2 on t2(OBJECT_ID);Index created.SQL> SQL> exec dbms_sta.........【阅读全文】
发布时间:2014-08-01 17:20:34
[oracle@my2950 ~]$ mkdir expdp[oracle@my2950 ~]$ pwd/home/oracle[oracle@my2950 ~]$ cd expdp/[oracle@my2950 expdp]$ pwd/home/oracle/expdp[oracle@my2950 expdp]$ lltotal 0[oracle@my2950 expdp]$[oracle@my2950 expdp]$ sqlplus / as sysdbaSQL*Plus: Release 11.2.0.3.0 Production on Mon Jun 16 15:28:33 2014C.........【阅读全文】
发布时间:2014-08-01 17:18:44
测试Active Database Duplicationsource databaseIPSQL> select INST_ID,FILE#,STATUS,NAME from gv$datafile; INST_ID FILE# STATUS NAME---------- ---------- ------- -------------------------------------------------- 1 .........【阅读全文】
发布时间:2014-08-01 17:14:13
意外故障重建控制文件索引快速增长导致盘空间占满,最后发现两个控制文件不一致,有一个貌似直接坏了修改了一下,直接宕机启动发现15:08:53 SYS@mydb1>startupORACLE instance started.Total System Global Area 1286066176 bytesFixed Size 2228024 bytesVari.........【阅读全文】