Oracle12c命令行创建PDB

1、登陆cdb创建pdb

公司主营业务:网站建设、成都网站制作、移动网站开发等业务。帮助企业客户真正实现互联网宣传,提高企业的竞争能力。创新互联是一支青春激扬、勤奋敬业、活力青春激扬、勤奋敬业、活力澎湃、和谐高效的团队。公司秉承以“开放、自由、严谨、自律”为核心的企业文化,感谢他们对我们的高要求,感谢他们从不同领域给我们带来的挑战,让我们激情的团队有机会用头脑与智慧不断的给客户带来惊喜。创新互联推出临城免费做网站回馈大家。

sqlplus / as sysdba

create pluggable database pdb4
admin user pdb4 identified by pdb4
file_name_convert=('/u01/app/oracle/oradata/cdb/pdbseed','/u01/app/oracle/oradata/cdb/pdb4');

2、具体步骤

$sqlplus / as sysdba

SQL*Plus: Release 12.1.0.2.0 Production on Sat Jan 20 12:07:32 2018

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> show con_name

CON_NAME
------------------------------
CDB$ROOT
SQL> create pluggable database pdb4
  2  admin user pdb4 identified by pdb4
  3  file_name_convert=('/u01/app/oracle/oradata/cdb/pdbseed','/u01/app/oracle/oradata/cdb/pdb4');

Pluggable database created.

SQL> show pdbs

    CON_ID CON_NAME                       OPEN MODE  RESTRICTED
---------- ------------------------------ ---------- ----------
         2 PDB$SEED                       READ ONLY  NO
         3 PDB1                           READ WRITE NO
         4 PDB2                           READ WRITE NO
         5 PDB3                           READ WRITE NO
         6 PDB4                           MOUNTED
SQL> alter pluggable database all open;

Pluggable database altered.

$sqlplus pdb4/pdb4@192.168.1.243:1521/pdb4

SQL*Plus: Release 12.1.0.2.0 Production on Sat Jan 20 12:11:50 2018

Copyright (c) 1982, 2014, Oracle.  All rights reserved.

Connected to:
Oracle Database 12c Enterprise Edition Release 12.1.0.2.0 - 64bit Production
With the Partitioning, OLAP, Advanced Analytics and Real Application Testing options

SQL> show con_name

CON_NAME
------------------------------
PDB4
SQL> 

当前题目:Oracle12c命令行创建PDB
文章分享:http://bzwzjz.com/article/pipjhd.html

其他资讯

Copyright © 2007-2020 广东宝晨空调科技有限公司 All Rights Reserved 粤ICP备2022107769号
友情链接: 网站设计 定制网站设计 app网站建设 公司网站建设 企业网站设计 成都网站设计 成都网站建设公司 成都定制网站建设 成都网站设计 古蔺网站建设 LED网站设计方案 成都网站制作 四川成都网站设计 宜宾网站设计 成都网站建设 成都营销网站建设 成都网站制作公司 成都企业网站建设 网站建设 成都网站建设公司 四川成都网站制作 成都商城网站建设