
Oracle
文章平均质量分 81
iteye_542
这个作者很懒,什么都没留下…
展开
-
分析表 查看表说明
--分析表analyze table COMPETITORITEMPRICE_partition compute statistics;--查看表大小 条数 占表空间大小 最后分析时间select segment_name,bytes/1024/1024||'MB' from user_segments SELECT * FROM User_Tables;--分表 ...原创 2011-09-02 11:00:22 · 132 阅读 · 0 评论 -
Oracle性能监控脚本
转载http://www.cnblogs.com/invinboy/archive/2011/08/23/2150139.html1. 监控事例的等待select event,sum(decode(wait_Time,0,0,1)) "Prev", sum(decode(wait_Time,0,1,0)) "Curr",count(*) "Tot" from v$session...原创 2011-09-05 13:23:24 · 106 阅读 · 0 评论 -
to_Date
to_Date 格式化 Year: yy two digits 两位年 显示值:07yyy three digits 三位年 显示值:007yyyy four digits 四位年 显示值:2007Month: mm number 两位月 ...原创 2011-01-26 11:06:44 · 117 阅读 · 0 评论 -
Oracle 10g java.lang.Exception: Exception in sending Request :: null
进行em后,界面出来了,但报了一个错: java.lang.Exception: IOException in sending Request :: Connection refused: connect java.lang.Exception: Exception in sending Request :: null 很多功能不能用,提示重新登录 解...原创 2011-04-11 15:44:13 · 147 阅读 · 0 评论 -
本机不安装Oracle客户端,使用PL/SQL Developer和 Instant Client 工具包连接
1,先到Oracle网站下载Instant Client :http://www.oracle.com/technology/global/cn/software/tech/oci/instantclient/index.html根据你的操作系统选择不同的Instant Client版本下载回是一个压缩文件,解压之后的文件夹叫:D:\instantclient_11_2.放在你喜欢的目...原创 2011-05-04 15:29:57 · 501 阅读 · 0 评论 -
oracle 创建 操作 表空间SQL语句
创建永久表空间create tablespace psdatafile 'H:\oracle\product\10.2.0\oradata\orcl\ps.dbf' size 50M;创建临时表空间create temporary tablespace temppstempfile 'H:\oracle\product\10.2.0\oradata\orcl\tempps.dbf' siz...原创 2011-05-06 11:08:15 · 319 阅读 · 0 评论 -
window 命令启动停止 oracle服务
设置SET ORACLE_SID=ORCLORCL--实例名称 --停止oracle实例服务C:\Users\Administrator>net stop oracleserviceORClOracleServiceORCL 服务正在停止.........OracleServiceORCL 服务已成功停止。 --启动oracle实例服务C:\Us...原创 2011-05-06 11:29:22 · 146 阅读 · 0 评论