使用 Oracle 数据库配置助手创建空数据库 [英] Create Empty database using Oracle Database configuration Assistant
问题描述
我正在使用 Oracle 的数据库配置助手工具来创建一个新数据库,但是一旦创建了数据库,我在 Oracle SQL Developer 中打开它,我看到已经创建了很多表.这是为什么?如何创建空数据库?
I am using Oracle's Database Configuration Assistant tool to create a new database but once the database is created, I open it in Oracle SQL Developer, I see a lot of tables already created. Why is that? How can I create an empty database?
P.S:这是我的数据库表创建后的样子
P.S: This is how my database tables look like after creating it
推荐答案
我认为架构和数据库之间存在一些混淆.
I think there is some confusion between schema and databases.
您永远不能在 Oracle 中创建空数据库,因为当您使用 DBCA 工具在 Oracle 中创建数据库时,它会创建一些预先植入的示例模式和一些带有系统表的系统模式.
You can never create an empty database in Oracle, since when you create a database in Oracle with DBCA tool, it creates some pre-seeded sample schemas and some System schemas with system tables.
您可以在安装数据库后使用 CREATE SCHEMA
命令创建一个空架构.
You can create an empty schema using the CREATE SCHEMA
command, after the database is installed.
这篇关于使用 Oracle 数据库配置助手创建空数据库的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!