简体   繁体   English

如何在Linux上创建其他Oracle 11g数据库?

[英]How to create additional Oracle 11g database on Linux?

I have already created a database XE on my linux desktop.Please find the below information about the database. 我已经在Linux桌面上创建了数据库XE。请找到有关该数据库的以下信息。

ORACLE_SID=XE ORACLE_BASE=/u01/app/oracle ORACLE_HOME=/u01/app/oracle/product/11.2.0/xe

I have to create another database,eg: database name is DB1. 我必须创建另一个数据库,例如:数据库名称是DB1。 My question is how canI set ORACLE_HOME for DB1 and other parameters in pfile ? 我的问题是如何为pfile中的DB1和其他参数设置ORACLE_HOME?

Also how can I avoid the error ORA-45301: XE Edition single instance violation error ? 另外,如何避免错误ORA-45301: XE Edition single instance violation error

Oracle Express Edition is a free (as in "free beer") version of the Oracle database. Oracle Express Edition是Oracle数据库的免费版本(如“免费啤酒”)。 As such it comes with various limitations compared to the paid for versions. 因此,与付费版本相比,它具有各种限制。 These are covered in the documentation . 这些都包含在文档中

"I have to create another database" “我必须创建另一个数据库”

You cannot do this with XE. 您无法使用XE执行此操作。 From the Installation guide : 安装指南中

"Only one installation of Oracle Database XE can be performed on a single computer..... In addition, users can run only one instance of the Oracle Database XE database on each individual computer. " “只能在一台计算机上执行一次Oracle Database XE安装.....此外,用户只能在每台计算机上运行Oracle Database XE数据库的一个实例。”

This is why you get the ORA-45301 error. 这就是为什么您会收到ORA-45301错误的原因。 If you need a second XE database you need a second computer. 如果需要第二个XE数据库,则需要第二台计算机。 Or upgrade to Standard Edition. 或升级到标准版。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM