问题描述
下午好,
在我与Oracle合作的20年中,我很高兴地说我不必处理许多数据库损坏。我在虚拟机上运行Oracle 11g的数据库损坏大约3-4次。然后,运行RMAN备份的nonprod 9i数据库关闭了文件系统,导致多个数据库文件损坏。那很奇怪。
现在开始看起来数据库损坏很少见。我希望你们通过告诉我当今导致数据库损坏的原因最终使我放心?在这些新的Oracle版本中,数据库损坏的更常见原因是什么?
另外,当我在Oracle 19c中阅读类似的消息时,它并没有给我一个温暖的模糊,即Oracle 19c数据库具有弹性:
备份数据库。在对数据库进行任何重大更改之前,请始终备份数据库以防止出现任何问题。这将是您在NOARCHIVELOG模式下对数据库的最终备份,并且可以在更改为ARCHIVELOG模式期间出现问题时使用。
为什么像将数据库从noarchivelog模式更改为archivelog模式这样简单的事情会有损坏数据库的机会?
谢谢,
约翰
在我与Oracle合作的20年中,我很高兴地说我不必处理许多数据库损坏。我在虚拟机上运行Oracle 11g的数据库损坏大约3-4次。然后,运行RMAN备份的nonprod 9i数据库关闭了文件系统,导致多个数据库文件损坏。那很奇怪。
现在开始看起来数据库损坏很少见。我希望你们通过告诉我当今导致数据库损坏的原因最终使我放心?在这些新的Oracle版本中,数据库损坏的更常见原因是什么?
另外,当我在Oracle 19c中阅读类似的消息时,它并没有给我一个温暖的模糊,即Oracle 19c数据库具有弹性:
备份数据库。在对数据库进行任何重大更改之前,请始终备份数据库以防止出现任何问题。这将是您在NOARCHIVELOG模式下对数据库的最终备份,并且可以在更改为ARCHIVELOG模式期间出现问题时使用。
为什么像将数据库从noarchivelog模式更改为archivelog模式这样简单的事情会有损坏数据库的机会?
谢谢,
约翰
专家解答
正如医生所说:
A data corruption occurs when a hardware, software, or network component causes corrupt data to be read or written.
An example of a data corruption is a volume manager error that causes bad disk read or writes. Data corruptions are rare but can have a catastrophic effect on a database, and therefore a business.
正如您和文档所指出的那样,很少会遇到这些问题。Oracle数据库具有帮助您防止这些故障的功能。
Why would something as simple as changing a database from noarchivelog mode to archivelog mode have a chance of corrupting the database?
这里有几件事要记住:
首先,总是有与硬件相关的数据库损坏的机会。关键是IF切换到archivelog模式有问题AND你DON'T有一个 (最近的) noarchivelog备份...你有麻烦了!
Secondly - and more importantly - a person has to make this change somehow. The most likely reason for "corruption" in the switch to archivelog mode is basic human error. If whoever is doing this gets it wrong你could be left with an unusable database. This is really the prime reason你want a backup before making significant changes to the database; everyone makes mistakes sometimes.
A data corruption occurs when a hardware, software, or network component causes corrupt data to be read or written.
An example of a data corruption is a volume manager error that causes bad disk read or writes. Data corruptions are rare but can have a catastrophic effect on a database, and therefore a business.
正如您和文档所指出的那样,很少会遇到这些问题。Oracle数据库具有帮助您防止这些故障的功能。
Why would something as simple as changing a database from noarchivelog mode to archivelog mode have a chance of corrupting the database?
这里有几件事要记住:
首先,总是有与硬件相关的数据库损坏的机会。关键是IF切换到archivelog模式有问题AND你DON'T有一个 (最近的) noarchivelog备份...你有麻烦了!
Secondly - and more importantly - a person has to make this change somehow. The most likely reason for "corruption" in the switch to archivelog mode is basic human error. If whoever is doing this gets it wrong你could be left with an unusable database. This is really the prime reason你want a backup before making significant changes to the database; everyone makes mistakes sometimes.
文章转载自ASKTOM,如果涉嫌侵权,请发送邮件至:contact@modb.pro进行举报,并提供相关证据,一经查实,墨天轮将立刻删除相关内容。




