查询rman备份信息常用指令
----登陆到rman
$rman target /
----以精简的格式查看备份信息
RMAN> list backup of database summary;
List of Backups
===============
Key TY LV S Device Type Completion Time#Pieces #Copies Co...
分类:
其他好文 时间:
2014-06-05 01:06:36
阅读次数:
383
缺少libz.dylib库的时候引起的一个链接错误
Undefined symbols for architecture armv7s:
"_inflate", referenced from:
-[ASIDataDecompressor uncompressBytes:length:error:] in ASIDataDecompressor.o
"_deflate", refere...
分类:
其他好文 时间:
2014-06-05 00:09:02
阅读次数:
267
现场故障小结——非当前日志组损坏情况
【环境】AIX(5300-08)、oracle10g(10.2.0.1.0-64bit)
【情况一】非当前日志组成员被误删除
方法一:使用clear将损坏日志组内容清除
----数据库宕机
----告警日志报错:无法找到日志组
----启库到nomount状态
----清理日志组
SQL>alter database clear l...
分类:
其他好文 时间:
2014-06-04 21:14:44
阅读次数:
421
建索引时,我们为了建索引快,会加上并行,加上并行之后,此列索引就会是并行了。访问有并行度的索引时,CBO可能可能会考虑并行执行,这可能会引发一些问题,如在服务器资源紧张的时候用并行会引起更加严重的争用。当使用并行后,需要把并行度改回来。
SQL> drop table test purge;
SQL> create table test as select * from dba_objects...
分类:
数据库 时间:
2014-06-03 05:48:26
阅读次数:
375
【题目】
Given a sorted linked list, delete all duplicates such that each element appear only once.
For example,
Given 1->1->2, return 1->2.
Given 1->1->2->3->3, return 1->2->3.
【题意】
给定一个已排序的链表,删除其中的重复元素
【思路】
维护两个指针prev和cur, cur指针负责扫描链表,prev指向cur的前一...
分类:
其他好文 时间:
2014-06-03 04:05:39
阅读次数:
231
1、
??
Construct Binary Tree from Inorder and Postorder Traversal
Given inorder and postorder traversal of a tree, construct the binary tree.
Note:
You may assume that duplicates do not exist in...
分类:
其他好文 时间:
2014-06-03 03:13:59
阅读次数:
195
Perl中一个很重要的模块就是DBI模块(Perl Database Interface,数据库接口)。DBI模块为很多不同的数据库提供了一个统一的接口。Perl通过此接口可以很容易对数据库进行操作。
下面说下Perl如何对MySQL数据库进行操作。
1. 首先要确保Perl及MySQL数据库已经安装。然后用cpan或者是ppm图形化界面来安装.
cpan> install...
分类:
数据库 时间:
2014-06-03 02:37:21
阅读次数:
284
【题目】
Given a sorted linked list, delete all nodes that have duplicate numbers, leaving only distinct numbers from the original list.
For example,
Given 1->2->3->3->4->4->5, return 1->2->5.
Given 1->1->1->2->3, return 2->3.
【题意】
给定一个有序链表,删出其中重复出现的值...
分类:
其他好文 时间:
2014-05-31 21:14:11
阅读次数:
333
Configuring Oracle Database for Shared
ServerStepsInitialization Parameters for Shared ServerMemory Management for
Shared ServerEnabling Shared Server...
分类:
其他好文 时间:
2014-05-31 20:54:21
阅读次数:
277
1 >>> from configparser import
ConfigParser, ExtendedInterpolation 2 >>> parser =
ConfigParser(interpolation=ExtendedInterpolation()) 3 >>> # the def....
分类:
编程语言 时间:
2014-05-31 20:01:47
阅读次数:
237