Given a string containing only digits, restore it by returning all possible valid IP address combinations.
For example:
Given "25525511135",
return ["255.255.11.135", "255.255.111.35"]. (Order ...
分类:
其他好文 时间:
2014-10-08 10:45:25
阅读次数:
195
模拟数据文件丢失恢复,redolog、archivelog、controlfile文件未丢失的情况恢复。1、创建一个表空间、用户、分配权限、建表。a)createtablespaceHXW_WENdatafile‘D:\ORACLE\ORADATA\HXW168\HXW_WEN_D01.DBF‘size5Mautoextendonnext1Mmaxsize20M;b)createuserwenidentifiedbyzer..
分类:
数据库 时间:
2014-10-01 21:43:01
阅读次数:
358
问题现象:
我在执行开启归档命令后报错误ORA-00265
SQL> alter database archivelog;
alter database archivelog
*
ERROR at line 1:
ORA-00265: instance recovery required, cannot set ARCHIVELOG mode
...
分类:
其他好文 时间:
2014-09-29 14:25:10
阅读次数:
214
增量备份的应用在recovery阶段,不再restore阶段
了解数据库设置表:
SQLdesc">>desc database_properties
Name Null? Type
----------------------------------------- -------- -----------...
分类:
数据库 时间:
2014-09-29 11:41:59
阅读次数:
237
方法 1、 restore labelonly方法 2、 restore headeronly方法 3、 restore filelistonly方法 4、 restore verifyonly-----------------------------------------------------...
分类:
数据库 时间:
2014-09-28 22:34:16
阅读次数:
296
sometimes, we need backup content database about sharepoint site, then restore it one day. of course, we can backup the contetn database in SQL, then restore it in Sharepoint Central Admin, but it oft...
分类:
数据库 时间:
2014-09-28 21:51:25
阅读次数:
274
这题乍一看有点像Decode Ways ,实际上是一个深搜+剪枝的题目
也可以通过三个for循环寻找可行的‘.’的位置
递归方法如下:
vector restoreIpAddresses(string s) {
vector res;
restore(s, 0, 0, res, "");
return res;
}
...
分类:
其他好文 时间:
2014-09-27 02:11:09
阅读次数:
199
Given a string containing only digits, restore it by returning all possible valid IP address combinations.For example:Given"25525511135",return["255.2...
分类:
其他好文 时间:
2014-09-24 21:14:07
阅读次数:
234
昨天去某客户部署RMAN备份,在跑shell脚本的时候,提示找不到归档日志,因为客户那里之前只对数据库做EXPDP逻辑导出备份,并且每天都自动删除前一天的归档,每个归档的生成量大概在200M左右,因为考虑磁盘空间比较紧张,不得已而为之。
在我的脚本中,是采用backup database format 'xxx' plus archivelog format 'xxx'的方式进行备份的,...
分类:
其他好文 时间:
2014-09-24 17:44:17
阅读次数:
215
Leetcode 经典题 Restore IP Addresses...
分类:
其他好文 时间:
2014-09-23 18:22:45
阅读次数:
128