当前位置: 首页 > news >正文

css网站背景模糊网站在线客服系统免费

css网站背景模糊,网站在线客服系统免费,营销网站seo推广费用,flash网站与html5数据库管理 2023-02-26第五十八期 倒腾PDB1 克隆本地PDB2 没开归档总结第五十八期 倒腾PDB 其实本周过的不大好,连着两天熬夜,一次是割接一次是处理ADG备库的异常,其实本周有些内容是以前处理过的问题,到了周末还肚子痛。哎… 1…

数据库管理 2023-02-26

  • 第五十八期 倒腾PDB
    • 1 克隆本地PDB
    • 2 没开归档
    • 总结

第五十八期 倒腾PDB

其实本周过的不大好,连着两天熬夜,一次是割接一次是处理ADG备库的异常,其实本周有些内容是以前处理过的问题,到了周末还肚子痛。哎…

1 克隆本地PDB

这周一个朋友说他克隆了一个本地PDB,然后同时想把部分数据文件换个地方,然后把ADG搞挂了。首先说一下迁移数据库文件的问题,他用很传统的rename的方式做的迁移,其实从12.2开始可以用下面的语句来在线迁移数据文件的:

alter database move '/old/path/to/file' to '/new/path/';

而造成ADG异常的问题其实主要还是源自于源库本地克隆PDB,这个操作会造成备库无法正确获取克隆的数据文件,这里涉及一个Bug 25350791 - ORACLE12.2 ORA-01274 IN ADG WHEN CLONING LOCAL PDB IN PRIMARY,而解决方案则是PDB which has to be cloned on primary should be placed in read only mode for the duration of cloning on primary and physical standby should be in active data guard before performing the cloning.将需要克隆的PDB先至于read only状态则可以避免出现这个问题。当然如果已经整出异常了则需要通过一下操作进行恢复:

-- At STANDBY
$ sqlplus / as sysdba
SQL> shutdown immediate
SQL> startup nomount;$ rman target /
RMAN> RESTORE STANDBY CONTROLFILE FROM SERVICE primarydb;
RMAN> ALTER DATABASE MOUNT;4. Restore the PDB at Standby using Primary Service :-- At STANDBY
$ rman target /run{
set newname for pluggable database NEW_PDB to new;
restore pluggable database NEW_PDB from service primarydb;
}5. Catalog Standby datafiles and Switch to Copy :-- At STANDBY
RMAN> catalog start with '+ASM/PATH';
RMAN> SWITCH DATABASE TO COPY;6. Start Managed Recovery Process (MRP) at Standby :-- At STANDBY
SQL> alter database recover managed standby database disconnect from session;7. Enable DG Broker at Both Primary and Standby :-- At Both PRIMARY and STANDBY
$ sqlplus / as sysdba
SQL> alter system set dg_broker_start=TRUE scope=both sid='*';如果步骤5出现问题则需要执行下面的内容:
1. Catalog the datafiles of standby database
Below command will give you a list of files and ask if they should all be catalog. Review the list and say YES if all the datafiles are properly listed
In below command while cataloging the files, the string specified should refer to the diskgroup/filesystem destination of the standby data files.
RMAN> catalog start with '<full pathname>';
Note:
a) This will only work if you are using OMF. If you are using ASM without OMF you have to catalog all non-OMF Datafiles as Datafile Copies manually using
RMAN> catalog datafilecopy '<full path filename>';
b) If you have Datafiles on different Diskgroups you have to catalog from all Diskgroups, of course.
2. Commit the changes to the controlfile
RMAN> switch database to copy;
If this doesn't work then switch datafiles manually:
If only renaming a single datafile:
RMAN> switch datafile n to copy;
eg.
RMAN> switch datafile 1 to copy;
If renaming a list of files:
RMAN> switch datafile n,o,p,q to copy;
eg.
RMAN> switch datafile 1,2,3,4 to copy;
3. Once all the datafiles are switched, You should start the MRP on Standby database:
SQL> alter database recover managed standby database disconnect from session;

2 没开归档

这是前两周迁移PDB的时候,从别家公司管理的12.2的RAC集群迁移到19.13的Exadata,本来都是驾轻就熟的事情,结果迁移过程中出现了下面的问题:
在这里插入图片描述
随即咨询源库管理员,原来源库没有开归档…这…官方文档也对此有详细说明:

因此通知源库管理员将需要克隆的PDB开启为只读状态,解决问题。虽说源库跑的都是分析型业务,但是不开归档,属实说不过去,说是归档太大了,容量撑不住,但是业务其实还是很重要的,如果出现异常没有归档恢复还是会引起很多问题。没有专业DBA还是一件可怕的事情。

总结

老规矩,知道写了些啥。

http://www.hkea.cn/news/792254/

相关文章:

  • dj那个网站做的好长沙公司网络营销推广
  • 设计师培训招生视频黑帽seo联系方式
  • 做网上贸易哪个网站好西宁网站seo
  • 电子烟网站建设杯子软文营销300字
  • 广州企业网站制作怎么做营销推广
  • 网站建设服务器在香港郑州网站建设专业乐云seo
  • 河北建设工程交易信息网海口关键词优化报价
  • 全国网站建设公司有多少家微信朋友圈广告投放收费标准
  • 免费做网站公司黑帽seo排名技术
  • apk连接wordpress上海seo
  • 企业建网站租用服务器好还是买一个好石家庄网站关键词推广
  • wordpress文件解析外贸网站优化
  • 建设工程竣工备案网站百度保障中心人工电话
  • 韶关城乡建设部网站首页营销型网站建设策划书
  • 建设银行手机银行下载官方网站谷歌浏览器网页版入口在哪里
  • 网站建设 好域名注册信息
  • 公众号微网站建设认证哪个推广网站好
  • 爬取1024上传到wordpress蔡甸seo排名公司
  • 流感吃什么药更好seo的方法
  • 营销型网站建设市场seo黑帽技术有哪些
  • 扬中做网站的公司seo虚拟外链
  • 永川集团网站建设免费网站seo诊断
  • 国外 上海网站建设网络营销推广方式案例
  • 24手表网站网络技术推广服务
  • 鞍山网站制作推广游戏推广员判几年
  • 360如何做网站优化网页设计制作软件
  • 金华网站建设电话电商运营主要负责什么
  • 百度的官方网站游戏推广工作好做吗
  • 著名的深圳网站建设网页快照
  • 政务网站建设要求快速排名软件哪个好