recovery

ORA-21561: 生成 OID 失败

自作多情 提交于 2020-01-22 07:49:31
问题描述 [oracle@new-rac1 ~]$ rman target / Recovery Manager: Release 11.2.0.4.0 - Production on 星期二 12月 3 09:19:54 2019 Copyright (c) 1982, 2011, Oracle and/or its affiliates. All rights reserved. RMAN-00571: =========================================================== RMAN-00569: =============== ERROR MESSAGE STACK FOLLOWS =============== RMAN-00571: =========================================================== RMAN-00554: initialization of internal recovery manager package failed RMAN-04005: error from target database: ORA-21561: 生成 OID 失败 问题解决 原因是修改了 /etc/hosts 文件的 public IP 的name后,和 hostname 不一致

浅析PCIe链路LTSSM状态机

╄→尐↘猪︶ㄣ 提交于 2020-01-18 11:30:36
版权声明:本文为CSDN博主「古猫先生」的原创文章,遵循 CC 4.0 BY-SA 版权协议,转载请附上原文出处链接及本声明。 https://blog.csdn.net/zhuzongpeng/article/details/78995340 我们知道,在PCIe链路可以正常工作之前,需要对PCIe链路进行链路训练,在这个过程中,就会用LTSSM状态机。LTSSM全称是Link Training and Status State Machine。这个状态机在哪里呢?它就在PCIe总线的物理层之中。 LTSSM状态机涵盖了11个状态,包括Detect, Polling, Configuration, Recovery, L0, L0s, L1, L2, Hot Reset, Loopback, Disable。这11个状态之间转换的逻辑,如下图, 这11个状态大致可以分为4大类: (1) PCIe链路训练相关。正常的PCIe链路训练状态转换流程依次是,Detect->Polling->Configuration->L0. L0是PCIe链路可以正常工作的电源状态。 (2) PCIe链路重新训练相关。这个状态也称为Recovery。Recovery是一个非常重要的链路状态,进入这个状态的因素也很多,比如电源状态的变化,PCIe链路速率的变化等。 (3) 电源状态相关

Oracle恢复手册

我怕爱的太早我们不能终老 提交于 2020-01-11 13:01:57
一、前言 常言道-“有备无患”,备份对于一套数据库来说十分重要,当遇到天灾人祸的时候有效的备份是数据库最后的希望,也是DBA从业人员自救的最后手段。一款不错的备份软件,一个适用的备份策略,对于数据保护来说是十分必要的,对于数据库系统要定时做有效的全备,以便随时恢复到任意时间点。在不同环境下有多种恢复环境,不同环境也会使用不同的方式来恢复,有时候方式不止一种。总之,有效的备份和不同环境下的恢复手段对于DBA从业人员来说是十分重要的。 二、Oracle备份 1、Oracle冷备 冷备是指Oracle数据库处于冷状态(即停机状态)的备份,此类型的备份操作简单,但是不能恢复到任意时间点、每次备份需要停机且数据量大的话停机时间长,恢复不灵活不适用核心7*24小时的生产Oracle数据库。备份只需将数据库停机复制数据文件、控制文件和参数文件即可,生产环境使用罕见此处不再讨论。 [oracle@edsir4p1-PROD1 ~]$ sqlplus / as sysdba SQL*Plus: Release 11.2.0.1.0 Production on Sat Dec 14 08:39:25 2019 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g

Oracle RMAN 恢复数据库到不同主机(一)

随声附和 提交于 2020-01-11 07:12:23
一、RMAN 备份的内容 RMAN做数据库全备时包含了 数据文件、归档日志、控制文件和参数文件和备份日志,如下: arch_20160223_08qukp2t_1_1 arch_20160223_0bqukp92_1_1 ctl_c- 3234695588-20160223-01 rmanbak-20160223-0852.log scp_20160223_09qukp2u_1_1 scp_20160223_0aqukp2u_1_1 二、测试环境 OS:CentOS release 6.4 (Final) Database:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production 原平台与当前平台环境一致,但是oracle数据库目录结构不一致。 三、开始恢复 1、 确认原数据库的DBID(通过RMAN的备份日志,或者通过RMAN备份的控制文件名来识别),同时确认一下原数据库的实例名; 2、 将 RMAN备份的内容拷贝到目标数据库上; 3、 设置好环境变量: [oracle@dg1 ~]$ export NLS_DATA_FORMAT='YYYY-MM-DD HH24:MI:SS' [oracle@dg1 ~]$ export ORACLE_SID=scp [oracle@dg1 ~]$

How do I restore from a drop database command using a mysql binary log?

安稳与你 提交于 2020-01-11 04:54:04
问题 How can I restore a mysql database that was dropped using a "drop database" command? I have access to binary logs which should make this type of rollback possible. 回答1: Documentation Sucks. It alludes to DROP DATABASE being recoverable, but only in odd conditions i'm not familiar with http://dev.mysql.com/doc/refman/5.0/en/binary-log.html According to Docs, binlogs are just a sequence of commands executed based on a given reference point. So that when you did "DROP DATABASE", instead of going

Eclipse project was deleted how to undo it? or recover it [closed]

五迷三道 提交于 2020-01-09 19:30:24
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have to recover a deleted Eclipse blackberry project. 回答1: If you deleted the project with "delete from disk" checked then Eclipse will have deleted the project files. You might get lucky ... Check your file system backups. If the backups are recent, the missing files may be there. If you are using a version

Eclipse project was deleted how to undo it? or recover it [closed]

半腔热情 提交于 2020-01-09 19:28:36
问题 Closed. This question is off-topic. It is not currently accepting answers. Want to improve this question? Update the question so it's on-topic for Stack Overflow. Closed 6 years ago . I have to recover a deleted Eclipse blackberry project. 回答1: If you deleted the project with "delete from disk" checked then Eclipse will have deleted the project files. You might get lucky ... Check your file system backups. If the backups are recent, the missing files may be there. If you are using a version

无法进入recovery模式?fastboot来拯救

妖精的绣舞 提交于 2020-01-09 14:44:15
【推荐】2019 Java 开发者跳槽指南.pdf(吐血整理) >>> 这篇文章针对刷机小白,大神请绕道。 有些机友由于刷机不当、误删等等原因导致手机无法进入recovery模式,整理情绪不要着急,这时你还可以试试进入fastboot(不过如果手机连fastboot都不能进入的时候,那基本就可以断定手机变砖了,比较悲催,这时我建议大家不要浪费时间自己折腾了,直接送厂维修吧)。 在安卓手机中fastboot是一种比recovery更底层(接近硬件)的刷机模式。简单来说,fastboot就是使用USB数据线连接手机的一种刷机模式,相对于某些系统(如ios)卡刷来说,线刷更可靠,安全;而recovery是一种卡刷,就是将刷机包放在sd卡上,然后在recovery中刷机的模式。 进入 Fastboot 的方式: 不同型号的手机进入fastboot的方式有所差异,建议大家在百度上搜索自己手机进入fastboot的方法。介绍一种多数手机都支持的方式,仅供参考。 方法1: 1)手机开机状态,确定adb可以打开。 2)adb rebootbootloader 方法2: 1)将手机关机 2)同时按住返回键和电源键开机 3)当看到界面上有fastboot选项时,按电源键点击进入fastboot模式。 为大家介绍一款采用 fastboot 方式烧录的刷机工具 : 下载助手_V2.2.4(Mini_AD

Recovering file from the Visual Studio document cache?

天涯浪子 提交于 2020-01-09 07:42:09
问题 I've just lost some code. I needed to move a couple of methods from one class to another so i hit save, cut the methods and VS crashed. Now it seems that the save happened after the cut since the code has been saved without those methods but the code isn't on my clipboard. So I'm left without the code and no easy way to get it back! I know that Visual Studio keeps a document cache which it uses when the recover files dialog is shown but it wasn't shown when VS started back up. I'm hoping that

Recovering file from the Visual Studio document cache?

a 夏天 提交于 2020-01-09 07:41:06
问题 I've just lost some code. I needed to move a couple of methods from one class to another so i hit save, cut the methods and VS crashed. Now it seems that the save happened after the cut since the code has been saved without those methods but the code isn't on my clipboard. So I'm left without the code and no easy way to get it back! I know that Visual Studio keeps a document cache which it uses when the recover files dialog is shown but it wasn't shown when VS started back up. I'm hoping that