CDB or PDB打开归档
发表于:2025-11-15 作者:千家信息网编辑
千家信息网最后更新 2025年11月15日,11g 怎么开归档,多租户就怎么打开归档就好了。APPLIES TO:Oracle Database - Enterprise Edition - Version 12.1.0.1 and later
千家信息网最后更新 2025年11月15日CDB or PDB打开归档
11g 怎么开归档,多租户就怎么打开归档就好了。
APPLIES TO:Oracle Database - Enterprise Edition - Version 12.1.0.1 and laterInformation in this document applies to any platform.GOALRunning 12c database and need to configure archive log, shall we configure it in PDB or CDB?SOLUTIONAll PDBs share the same redo log files, so it's not possible to enable archivelog mode only for a specific PDB. All PDBs share the archivelog mode of CDB.Remember that PDBs themselves don't have a dedicated instance (processes and memory areas) so they share CDB's ones.Configuring of archivelog mode should be implemented in CDB.For more details on how to configure this feature, please refer to below doc:测试$sqlplus / as sysdbaSQL*Plus: Release 12.1.0.2.0 Production on Sat Mar 10 12:34:59 2018Copyright (c) 1982, 2014, Oracle. All rights reserved.Connected to:Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit ProductionWith the Partitioning, OLAP, Advanced Analytics and Real Application Testing optionsSQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB11 READ WRITE NOSQL> SQL> archive log list;Database log mode No Archive ModeAutomatic archival DisabledArchive destination /u01/app/oracle/product/12.1.0/dbhome_1/dbs/archOldest online log sequence 32Current log sequence 34SQL> SQL> alter system set log_archive_dest_1='location=/u01/app/oracle/product/12.1.0/dbhome_1/dbs/arch';System altered.SQL> archive log list;Database log mode No Archive ModeAutomatic archival DisabledArchive destination /u01/app/oracle/product/12.1.0/dbhome_1/dbs/archOldest online log sequence 32Current log sequence 34SQL> SQL> shutdown immediate;Database closed.Database dismounted.ORACLE instance shut down.SQL> startup mount;ORACLE instance started.Total System Global Area 1174405120 bytesFixed Size 2923680 bytesVariable Size 436208480 bytesDatabase Buffers 721420288 bytesRedo Buffers 13852672 bytesDatabase mounted.SQL> alter database archivelog ;Database altered.SQL> alter database open;Database altered.SQL> SQL> alter system switch logfile;System altered.SQL> !ls -l /u01/app/oracle/product/12.1.0/dbhome_1/dbs/archtotal 4-rw-r----- 1 oracle oinstall 1024 Mar 10 17:37 1_35_965910550.dbfSQL> SQL> show pdbs CON_ID CON_NAME OPEN MODE RESTRICTED---------- ------------------------------ ---------- ---------- 2 PDB$SEED READ ONLY NO 3 PDB11 MOUNTEDSQL> alter session set container=PDB11;Session altered.SQL> archive log list;Database log mode Archive ModeAutomatic archival EnabledArchive destination /u01/app/oracle/product/12.1.0/dbhome_1/dbs/archOldest online log sequence 34Next log sequence to archive 36Current log sequence 36SQL> alter system switch logfile;alter system switch logfile*ERROR at line 1:ORA-65040: operation not allowed from within a pluggable database
租户
测试
数据库的安全要保护哪些东西
数据库安全各自的含义是什么
生产安全数据库录入
数据库的安全性及管理
数据库安全策略包含哪些
海淀数据库安全审计系统
建立农村房屋安全信息数据库
易用的数据库客户端支持安全管理
连接数据库失败ssl安全错误
数据库的锁怎样保障安全
数据库插入语句怎么找
长春软件开发荐 官网了解
俄乌的网络安全案例
软件开发工具自考教材
hp服务器硬盘灯常亮
数据库为表加外键约束
徐州服务器机房搭建报价
数据库正在使用的表可以重命名吗
服务器燃气热水器原理
链接服务器访问
做数据库的框架有哪些
网络信息安全法 境外服务器
光明租房网络安全
疫情中用到的网络技术
华为h22m-03服务器多少钱
服务器m2插槽
长宁区智能化软件开发常见问题
戴尔服务器阵列管理
无锡sever服务器散热器厂家
抗量子密码 信息网络安全
多源异构数据库的设计
中国互联网科技媒体
高稳定性的应用软件开发
网络安全培训 讲话稿
java和网络技术
杭州牛网络技术有限公司
网络安全文明上网语
使命召唤1未开启服务器作弊功能
steam怎么选服务器
网络安全是怎么收费