摘要:
表真实占用的空间 如果datafile加错到表空间,执行删除 查看临时表空间 添加临时表空间文件 修改用户默认表空间 查看数据文件是否有数据: 只需查看数据文件中是否包含extent段。如果有extent(索引段,数据段)段,则说明数据文件中有数据。使用dba_extents视图和dba_data_
阅读全文
posted @ 2015-04-13 13:58
凌度
阅读(4134)
推荐(0)
摘要:
普通插入方式:insert into t select * from t2;append插入方式:insert /*+append*/ into t select * from t2;Append+nologing插入方式:insert /*+append*/ into t nologging se...
阅读全文
posted @ 2015-04-09 15:58
凌度
阅读(270)
推荐(0)
摘要:
编辑/etc/fstab 不挂载 查看硬盘文件系统类型
阅读全文
posted @ 2015-03-26 15:07
凌度
阅读(220)
推荐(0)
摘要:
安装gcc编译器:yum -y install gcc安装wget:yum -y install wget安装python-setuptools:wgethttp://peak.telecommunity.com/dist/ez_setup.pypython ez_setup.py安装https:y...
阅读全文
posted @ 2015-03-26 13:53
凌度
阅读(376)
推荐(0)
摘要:
wget http://python.org/ftp/python/2.7.8/Python-2.7.8.tgztar zxvf Python-2.7.8.tgz cd Python-2.7.8./configure --prefix=/usr/local/python27make & make i...
阅读全文
posted @ 2015-03-23 16:24
凌度
阅读(286)
推荐(0)
摘要:
CREATE OR REPLACE PROCEDURE SP_ERROR_LOGS_PRO(v_pro_name VARCHAR2, v_step_name VARCHAR2, ...
阅读全文
posted @ 2015-03-18 10:44
凌度
阅读(434)
推荐(0)
摘要:
declare v_date date; v_part_name varchar(50);begin v_date := date'2015-2-4'; while v_date >= date'2014-10-20' LOOP v_...
阅读全文
posted @ 2015-03-06 14:59
凌度
阅读(5987)
推荐(0)
摘要:
特别提示:oracle是执行完任务,才按照interval去计算下次执行时间!!!为精确每个5分钟执行一个任务,必须自己计算时间。如:trunc_minute(sysdate)+5/1440create or replace function trunc_minute(v_date date) re...
阅读全文
posted @ 2015-03-06 10:39
凌度
阅读(8869)
推荐(0)
摘要:
ctl文件加入固定值region CONSTANT '31',加入默认时间RECORD_DATE "sysdate"最好数据也设置RECORD_DATE的默认值为sysdate
阅读全文
posted @ 2015-03-05 17:12
凌度
阅读(6072)
推荐(0)
摘要:
阿里研究院(http://www.aliresearch.com/)腾讯CDC(http://cdc.tencent.com/)淘宝UED(http://ued.taobao.com/blog/)网易UEDC(http://uedc.163.com/)统计之都(http://cos.name/)GR...
阅读全文
posted @ 2015-03-02 15:01
凌度
阅读(187)
推荐(0)