12C CLONE PDB and config service_listener】的更多相关文章

Clone PDB PtestDEV to Ptestuat in testuat 1)       Clone PtestDEV to Ptestuat C:\Windows\system32>sqlplus / as sysdba SQL*Plus: Release 12.1.0.2.0 Production on 星期五 12月 23 13:12:42 2016 Copyright (c) 1982, 2016, Oracle.  All rights reserved. 连接到: Ora…
Oracle 12C用户创建与表空间分配  数据库安装完成后,首先用系统用户链接数据库容器(CDB), 在数据库容器(CDB)中创建表空间‘imei’ SQL>create tablespace iemi datafile'E:\Oracle_DB\ cdb_iemi.dbf'size 10240m autoextend on next 200m; 表空间已创建. 接下来在Oracle 12C数据库中创建用户时会报ORA-65096错误. SQL> create user imei ident…
Clone PDB 用途: 1.用于测试,从生产系统clone数据来进行测试 2.诊断性能问题   Clone PDB Using OMF from same CDB 环境信息: DB Version:12.0.1   1 创建必要的目录 oracle*cdbtest*/u01/app/oracle/oradata/cdbtest>$mkdir pdb_clone 2 查看现有pdbs信息 SYS@cdbtest> select pdb_name,status from cdb_pdbs ;…
1. 创建PDB的存放路径,举例: 2. 设置 数据库创建数据文件的目录 alter system set db_Create_file_dest='C:\app\Administrator\oradata\ORA12CR2\PDBORA12CR201'; 3. 关闭需要克隆的PDB 并且修改为 只读 开启 alter pluggable database all close immediate; alter pluggable database all open read only; 我只有一…
1. 1.Tnsnames when connecting to either Container or Pluggable instance The tnsnames.ora should be configured , for eg to add a tns entry for pluggable database PDB_OMF_1PDB_OMF_1 =  (DESCRIPTION =    (ADDRESS_LIST =      (ADDRESS = (PROTOCOL = TCP)(…
Connect to the remote CDB and prepare the remote PDB for cloning. SQL> select con_id,dbid,name,open_mode from v$pdbs; CON_ID DBID NAME OPEN_MODE ---------- ---------- ------------------------------ ---------- PDB$SEED READ ONLY PDB1 READ ONLY P4 MOUN…
将non-CDB置为只读模式: $ sqlplus '/as sysdba' SQL> select name, decode(cdb, 'YES', 'Multitenant Option enabled', 'Regular 12c Database: ') "Multitenant Option" , open_mode, con_id from v$database; NAME Multitenant Option OPEN_MODE CON_ID --------- -…
12c中,如何连接pluggable database: 使用默认的service连接pdb,创建pdb之后,在监听中自动添加以pdb为名的service: 用户在cluster中创建service,用户使用srvctl命令创建一个service并且关系到pdb上: 使用命令alter session set container=pdb: 使用Enterprise Manager Express.  1. 使用默认service连接pdb: 当创建pdb之后,使用lsnrctl status命令…
今天初次使用java连接Oracle 12c,遇到各种问题,为方便后续查询,在汇总了问题记录及解决方案如下. ORA-28040: No matching authentication protocol 需要在 ...\product\12.1.0\dbhome_1\NETWORK\ADMIN\sqlnet.ora 文件中加入 SQLNET.ALLOWED_LOGON_VERSION=8 ORA-12505: TNS:listener does not currently know of SID…
. PDB is not an instance, so using SID in the connection string will not work. When the database is an Oracle Database 12c container database, the client must specify a service name in order to connect to it. Listener status shows TEST as only a serv…