linux sed命令详解
原文地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856901.html简介sed 是一种在线编辑器,它一次处理一行内容。处理时,把当前处理的行存储在...
linux grep命令详解
原文地址:http://www.cnblogs.com/ggjucheng/archive/2013/01/13/2856896.html简介grep (global search regular expression(RE) and print out the line,全面...
oracle小知识点3--有保证的复原点guaranteed restore point
<span style="font-size:14px;">复原点(restore point)是和闪回数据库(flashback database)相关的一个功能.对于闪回数据库,很少用,因为在生产库中是</span><br /><span style="font-size:14px;">不太可能把整个库直接回退到过去某个时间点的.但在10g上模仿11g的snapshot standby时用到这个功能,发现有保证的复原点可以在st...
在oracle 10g中实现oracle 11g的snapshot standby特性
<span style="font-size:16px;">oracle 11g中的snapshot standby可参考:</span><a target="_blank" href="http://blog.itpub.net/28539951/viewspace-1767427/"><span style="font-size:16px;">http://blog.itpub.net/28539951/viewspace-1767427/</span></a><br /><span style="font-size:16px;">snapshot standby是在ora...
oracle 11g中的snapshot standby特性
<span style="font-size:16px;"><span style="font-size:16px;"> </span><span style="font-size:16px;">在oracle 11g中,data guard最吸引人的,除了active data guard的实时查询特性(即可以以只读方式打开物理standby数据库的同时MRP进程能继续做recover),</span></span><span style="font-s...
通过跳板机上设置ssh端口映射实现外网客户端连接内网oracle数据库
<span style="font-size:16px;"><strong>问题描述:</strong></span><br /><span style="font-size:16px;">客户的一个需求,想要在外网访问公司内网的数据库,但数据库只有内网IP,不通直接连接.目前的方法是先登陆</span><br /><span style="font-size:16px;">到公司有外网IP的跳板机,然后再在跳板机上通过sqlplus访问数据库...
cent os 6.6 x64 自动源码安装mysql 5.6脚本
<br /><span style="font-size:16px;"><span style="font-size:16px;">前提:centos 6.6已经做了basic安装,ip和主机名已设置,mysql</span><span style="font-size:16px;">源码文件</span><span style="font-size:16px;"> mysql-5.6.23.tar.gz</span></span><span style="font-size:16px;">放在/root下,<br />cmake-2....
cent os 6.6 x64 自动配置oracle 11gr2物理standby脚本
<span style="font-size:16px;"></span><span style="font-size:16px;"><strong><br />前提:</strong>测试脚本是根据上一篇<a target="_blank" href="http://blog.itpub.net/28539951/viewspace-1764034/"><u><strong>cent os 6.6 x64 自动静默安装oracle 11gr2</strong></u><span style="font-size:16px;"><u><strong>脚...
cent os 6.6 x64 自动静默安装oracle 11gr2脚本
前提:centos 6.6已经做了basic安装,ip和主机名已设置.oracle安装文件p13390677_112040_Linux-x86-64_1of7.zip,p13390677_112040_Linux-x86-64_2of7.zip放在/root下,pdksh-5.2.14-30.x86_64.rpm包...
11gr2简单安装后的一些参数调整
--修改密码有效期及屏蔽密码延迟验证alter profile default limit password_life_time unlimited;ALTER SYSTEM SET EVENT = '28401 TRACE NAME CONTEXT FOREVER, LEVEL 1' SCOPE...
create database link中的identified by values
<span style="font-size:16px;"><strong>问题描述:</strong></span><br /><span style="font-size:16px;">客户数据库11.2.0.4(db01)要建一个db link去连接远程的数据库10.2.0.4(db02),用于连接远程数据库上的中间用户的密码忘记了,而且中间用户的密码</span><br /><span style="font-size:16px;">又不方便改,因为还有...
ORA-12505,TNS:listener does not currently know of SID given in connect
ORA-12505,TNS:listener does not currently know of SID given in connect descriptor12505, 00000, "TNS:listener does not currently know of SID given in connect descriptor"// *Cause:&nbs...
ORA-13516: AWR Operation failed: CATPROC not valid
<span style="font-size:14px;">一台测试机上安装11.2.0.4数据库进度到80%多的时候报ORA-13516: AWR Operation failed: CATPROC not valid.</span><br /><span style="font-size:14px;">当时在设置密码的时含有@符号,和以下文档相符:</span><br /><span style="font-size:14px;">DBCA fails in the middle of database cr...
oracle 11g 扩展统计信息extended_stats
<span style="font-size:16px;"><strong>oracle 11g在统计信息收集方面增加了扩展统计信息的特性,它可以收集一个表中相关列上的统计信息,也可以收集函数表达式上的</strong></span><br /><span style="font-size:16px;"><strong>统计信息.使选择率,成本的估计更加准确,也更容易走正确的执行计划.在相关列上收集统计信息,好...
无redo情况下11.2.0.2数据文件迁移到11.2.0.4后ORA-39700的异常处理
11.2.0.2的数据文件迁移到另一台11.2.0.4的测试环境,无redo log--os:centos 6.5 64位--db: 11.2.0.4----情况一:正确的处理流程,要同时resetlogs upgrade[oracle@cent6501 ~]$ cd $ORACLE_HOME/dbs[oracle@cent6501 dbs]$ lshc_ct6501.dat init.ora lkCT6501 ...
mysql goldengate同步 简单配置
----主机信息os:cent os 6.5host: ct6505/192.108.56.115 ct6506/192.108.56.116 MySQL:5.6.24Goldengate:12.1.2 ----安装MySQL--ct6505,ct6506[root@ct6505/6 ~]# yum remove mysql-libs-5.1.71-1.el6.x86_64[root@ct6505/6 ~]# yum install libaio[root@ct6...
mysql cluster 简单配置
----主机信息os:cent os 6.5host: ct6505/192.108.56.115 管理节点,SQL节点,NDB存储节点 ct6506/192.108.56.116 SQL节点,NDB存储节点MySQL-Cluster:7.4.6----安装MySQL-Cluster--ct6505,ct6506[root@ct6505/6 ~]# yum remove mysql-libs-5.1.71-1.el6.x86_64[root@ct65...
mysql with keepalived
----主机信息os:cent os 6.5 host: ct6505/192.108.56.115 ct6506/192.108.56.116 mysql:5.6.24keepalived:1.2.17----安装mysql--ct6505,ct6506[root@ct6505/6 ~]# ls My*MySQL-client-advanced-5.6.24-1.el6.x86_64.rpmMySQL-server-advanced-5.6.24-1.el6.x86_64.rpm[root@ct6505/6 ~]# yum remove mysql-lib...
oracle小知识点2--一致性读中的重启动更新
以下三个问题,个人觉得很有趣,如果没有了解oracle的重启动更新,可能会对查询结果感到怀疑~--oracle version:11.2.0.2.0--问题一:----建测试表create table scott.test01as select 1 a from dualunion all select 2 from dualunion all select 3 from dual;----查询结果select * from scott.test01;/*A123*/...
centos 6.5 x64最小化安装后需要安装的包 for oracle 11g r2
--数据库依赖的包yum install -y compat-libstdc++* elfutils-libelf-* glibc-* gcc-* kernel-headers-* libgcc-* libaio-* libstdc++-* unixODBC-* sysstat-* binutils-* make-* libXp-devel readline*rpm -ivh pdksh-5.2.14-30.x86_641.rpm--使用vnc图形界面安装数据库时相关的包,使用silen...