摘要: bitmap index说明:set echo ondrop table t purge;create table t ( processed_flag varchar2(1) );create bitmap indext_idx on t(processed_flag);insert into t... 阅读全文
posted @ 2015-01-05 23:45 gtool 阅读(146) 评论(0) 推荐(0) 编辑
摘要: big_table练习数据表create table big_tableasselect rownum id, a.* from all_objects a where 1=0/alter table big_table nologging;declare l_cnt number; ... 阅读全文
posted @ 2015-01-05 23:42 gtool 阅读(209) 评论(0) 推荐(0) 编辑
摘要: package说明:package是一个“包”,其中包括过程、方法、视图、类型等等。 阅读全文
posted @ 2015-01-05 23:40 gtool 阅读(185) 评论(0) 推荐(0) 编辑
摘要: drop table xx purge;说明:所有删除的表都会在回收站里面,只有后面加上purge才是彻底的清空表。(一般用于测试、练习数据表,所以最好不要带purge,要不误删就找不到了。) 阅读全文
posted @ 2015-01-05 23:36 gtool 阅读(231) 评论(0) 推荐(0) 编辑
摘要: 配置Statspack配置前需要了解3个内容。1.创建Statspack模式使用的密码。2.Statspack使用的默认表空间。3.Statspack使用的临时表空间。Create Tablespace SPWORKDatafile 'E:\OracleDB\SPWORK.DBF' Size ... 阅读全文
posted @ 2015-01-04 23:30 gtool 阅读(156) 评论(0) 推荐(0) 编辑
摘要: 1.cdD:\Oracle11gR2\product\11.2.0\dbhome_1\rdbms\admin; --[ORACLE_HOME]/rdbms/admin2.sqlplus system/system@orcl -- 作为system登录3.@utlxplan;4.create publ... 阅读全文
posted @ 2015-01-04 22:57 gtool 阅读(258) 评论(0) 推荐(0) 编辑
摘要: 在window系统下配置login.sql他的位置是登录用户的文件夹,我的win7系统位置是:C:\Users\Administrator我的login.sql下载地址:http://files.cnblogs.com/gtool/login.rar 阅读全文
posted @ 2015-01-04 22:25 gtool 阅读(226) 评论(0) 推荐(0) 编辑
摘要: Hello Word! 阅读全文
posted @ 2015-01-04 14:09 gtool 阅读(103) 评论(0) 推荐(0) 编辑