Oracle 创建表空间和用户备份的秘密之toad发现
利用toad发现oracle自动为你干了什么(表空间建立和用户建立) Oracle:10.2.0.1Windows2003 一、表空间SQL> Create tablespace dba datafile ‘D:\dba.dbf’size 1M autoextend on maxsize ...
Oracle 优化之大表truncate,列删除,shrink回收高水位
大数据表的truncate,列删除,shrink回收高水位 一、truncate 大数据表的操作1、 truncate相关表,truncate先删除数据字典中的该表所占用的空间记录2、 将表所占用的数据块全部释放3、&n...
Oracle 运维之开发 plsql没有64bit的,只有32位
报错:Attempt to load Oracle client libraries threwBadImageFormatException. This problem will occur when running in 64 bit modewith the 32 bit Oracle client components installed 环境:...
Oracle 10g rac asm+raw for centos5.6 on vm
RAC实验报告(vm server asm+raw+oracle10g)首先感谢:以下笔者,没有你们就没有我这个实验的结果。http://blog.csdn.net/tianlesoftware/article/details/5872593(tianlesofeware)http://hi.baidu.com/woshi1...
Oracle RAC网络配置信息操作
RAC网络配置信息操作 首先感谢笔者。谢谢老师!http://space.itpub.net/519536/viewspace-678398(secooler)http://space.itpub.net/12020513/viewspace-630224(Blessed) 如果Oracle RAC...
Oracle rac 命令 srvctl 报错
使用srvctl报错及解决方法首先感谢,以下笔者http://blog.csdn.net/tianlesoftware/article/details/6269150(tianlesoftware)1、解决目录问题 [ora@rac1-21 bin]$ srvctl/u01/oracle/product/10.2.0/db...
Oracle rac on vm--共享磁盘
创建共享磁盘:添加共享磁盘,你应该shutdown关闭。 选择Hard Disk ,Add ,OK 直接下一步 &n...
Oracle rac on vm --补丁
准备补丁和ASM包系统包下载地址:http://oss.oracle.com/projects/compat-oracle/files/Enterprise_Linux/ASM包下载地址:[root@rac1-21 u01]# uname -aLinux rac1-21 2.6.18-238.el5 #1 SMP Thu Jan 13 16:24:...
Oracle rac on vm --IP 地址
下面是/etc/hosts 的配置。 抛开分析: # Do not remove the following line, or various programs# that require network functionality will fail.#12...
开机自动启动Oracle 10g on centos5.6
Centos5.6 oracle 10g 开机启动数据库配置 系统数据库版本实现功能开机自动启动ORACLECentos5.610.2.0.1很复杂,今天来学习 1、 修改 /etc/oratab ...
Oracle 10g DG 可以仅开启1521端口么?
Primary database IP: 192.168.0.11 主库:目前的状态是我们没有关闭任何端口, 没有切换的时候,我们没有发现备库连接主库的动作。但是备库有主库连接的动作,表明主...
跟踪SESSION 与 trace 文件解析
跟踪SESSION 与 trace 文件解析 我这里是通过学习Eygle的BLOG 中使用DBMS_SUPPORT包跟踪SESSION来生成跟踪文件,然后分析问题。怎么用利用DBMS_SUPPORT跟踪session,这里有Eygle的连接很详细了。http://www.e...
Oracle 优化之SQL学习 20120505--20120508 文档
警示自己:允许我仅仅是每天翻译一点文档,但是让我了解了更多的正确的信息。值得!! 11.1 Introduction to SQL TuningAn important facet of database system performance tuning is the tuning of SQL st...
Mysql date_format 与 Oracle to_char(date,’format’)
Mysql date_format 与 Oracle to_char(date,’format’) 以上2种方法均属于把事件类型的列,转换成你所需要的时间格式的函数。Oracle: select to_char(zatime,'yyyymmdd hh24:mi:ss...
Excel编辑时每页都显示标题
Excel编辑时每页都显示标题 1.在打印时让每页都显示标题在Excel中制作一个长表格时,默认打印时,并不是每页都会显示出顶端标题行和左侧标题列,它只会在第一页上显示,但简单设置一下即可让表格打...
Oracle 运维之开发 查询一个表插入数据的时间,按BLOCK时间
用sql语句查看oracle表每条记录的创建时间(ora_rowscn) 有时要查看表中的那条记录是什么时候创建的,有的会去用logminer去查看,有的会用闪回查询,其实很简单,不用那么麻烦,ora...
Oracle 运维之开发 按小时,分钟,秒;统计之 round和trunc区别
按小时,分钟,秒;统计之 round和trunc区别 时间分割统计: Trunc 时间段To_char 时间段Round 时间段 下面举例按小时统计: 以下2种方式的统计结果是一样的。...
Oracle 10g DG 主库丢失归档
DG 主库丢失归档 主要原因就是备库没有APP呢,主库就误把归档删除了。常见的这种情况都是主库RMAN做备份的时候把归档删除了。 丢失归档解决方法:用RMAN 增量备份恢复,还有恢复控制文件。&n...
Oracle ALTER PACKAGE "p_b" COMPILE and ora-07445
ALTER PACKAGE "PROC_BUSINESS" COMPILE REUSE 和 ORA-07445: exception encountered: core dump IMP-00017: following statement failed with ORACLE error 3113: "ALTER PACKAGE "PRO...
Oracle temporary table
Creating a Temporary TableIt is also possible to create a temporary table. The definition of a temporary table is visible to all sessions, but the data in a temporary table is visible only to...