duplicate database的时候,rman连接 auxiliary database的后状态不正确auxiliary database 已经被startup nomount,但是rman连接后显示状态是not started$ export ORACLE_SID=dupdb$ sqlplu...
分类:
数据库 时间:
2015-06-26 00:24:52
阅读次数:
200
使用duplicate target database ... from active database复制数据库source db:ora11auxiliary db:dupdb1.修改监听文件,静态注册监听SID_LIST_ORA11 = (SID_LIST = ...
分类:
数据库 时间:
2015-06-26 00:22:23
阅读次数:
209
在相同的主机上创建一个duplicate数据库source db:dbtestauxiliary db:dupdbduplicate database会自动分配一个新的DBID要确保auxiliary channel能访问到所需的备份以及归档日志1.备份source db$ rman target ...
分类:
数据库 时间:
2015-06-25 17:06:14
阅读次数:
178
Given an array of integers, find out whether there are two distinct indicesiandjin the array such that the difference betweennums[i]andnums[j]is at mo...
分类:
其他好文 时间:
2015-06-25 16:51:29
阅读次数:
142
1. 问题描述 给定一个整数数组nums[],查找是否存在两个下标i和j,满足numsi=numsjnums_i = nums_j 且|i?j|≤k|i-j| \le k。2. 思路与方法 这个问题比Contains Duplicate III要简单一些,思路方面可以参考上一篇文章Contains Duplicate III。采用“滑动窗口”+哈希的方法。不同的是,在窗口范围内只要找到满足has...
分类:
其他好文 时间:
2015-06-25 09:04:22
阅读次数:
198
Given an array of integers and an integer k,
find out whether there there are two distinct indices i and j in
the array such that nums[i] = nums[j] and
the difference between iand j is
at most...
分类:
其他好文 时间:
2015-06-25 09:00:59
阅读次数:
82
1. 问题描述 给定一个整数数组nums[],查找是否存在两个下标i和j,满足|numsi?numsj|≤t|nums_i-nums_j| \le t 且 |i?j|≤k|i-j| \le k。2. 方法与思路 总得思路就是:“滑动窗口”+unordered_map。
推理过程如下:
|numsi?numsj|≤t?|numsi/t?numsj/t|≤1|nums_i-nums_j|...
分类:
其他好文 时间:
2015-06-24 22:41:57
阅读次数:
328
You want to duplicate the behavior of an old HP calculator, there are two options:You write new program that draws the calculator's display and keys, ...
分类:
其他好文 时间:
2015-06-24 10:37:03
阅读次数:
148
今天这篇文章我想谈下堆表上特有的性能问题:转发记录(Forwarding Records)。首先我们要澄清下什么是堆表:堆表就是没有聚集索引定义的表。它对插入新记录非常快,但当你读取数据时非常慢。读取数据会在你的存储子系统上引入随机存取(random I/O),有时候当你碰到转发记录,它会进一步降低...
分类:
其他好文 时间:
2015-06-24 10:34:05
阅读次数:
162
今天对原来项目文件进行重新整理,根据文件内容进行分类,结果复制粘贴时没注意把一个文件复制了两遍编译的时候就出现Duplicate Symbol Error在网上搜素了一圈发现也有人遇到过这个问题,看了下问题的答案后找到了问题所在http://stackoverflow.com/questions/2...
分类:
移动开发 时间:
2015-06-23 17:39:17
阅读次数:
131