Oracle 11g Default Schemas

http://www.oracle-wiki.net/startdocsdefaultschemas

ACKGROUND

When an 11g database is created withouttweakingany of the options,using eitherdbcaor theinstaller,the schema listed in the table below,36 of them(!),are created by default.

This document gives an overview of their purpose and function and,should the functionailty not be required,whether they can be safely deleted*or not without compromising the fundamental operation of the database. Additionally,having been removed,if a schema is required again,there are details of which script(s) are required to be run in order to recreate*it.

As well as the schema installed by default,there are features that may need to be installed. The schema required to perform these functions,their purpose and installation scripts are described in theOther Administrative Schemasection below.

[@more@]

*IMPORTANT

  • Removal of schema marked Safe To Remove may require further actions than that of simply dropping the user.

  • Installation of certain functionality may require further actions than that of simply running the scripts cited below.

  • Consult the appropriate Oracle documentation for the full set of removal and/or installation steps.

DEFAULT SCHEMA

USER NAME DEFAULT TABLESPACE TEMPORARY TABLESPACE LOCKED? DBA?
ANONYMOUS SYSAUX TEMP YES
APEX_030200 SYSAUX TEMP YES
APEX_PUBLIC_USER USERS TEMP YES
APPQOSSYS SYSAUX TEMP YES
BI USERS TEMP YES
CTXSYS SYSAUX TEMP YES
DBSNMP SYSTEM TEMP

DIP USERS TEMP YES
EXFSYS SYSAUX TEMP YES
FLOWS_FILES SYSAUX TEMP YES
HR USERS TEMP YES
IX USERS TEMP YES
MDDATA USERS TEMP YES
MDSYS SYSAUX TEMP YES
MGMT_VIEW SYSTEM TEMP

OE USERS TEMP YES
OLAPSYS SYSAUX TEMP YES
ORACLE_OCM USERS TEMP YES
ORDDATA SYSAUX TEMP YES
ORDPLUGINS SYSAUX TEMP YES
ORDSYS SYSAUX TEMP YES
OUTLN SYSTEM TEMP YES
OWBSYS SYSAUX TEMP YES
OWBSYS_AUDIT SYSAUX TEMP YES
PM USERS TEMP YES
SCOTT USERS TEMP YES
SH USERS TEMP YES
SI_INFORMTN_SCHEMA SYSAUX TEMP YES
SPATIAL_CSW_ADMIN_USR USERS TEMP YES
SPATIAL_WFS_ADMIN_USR USERS TEMP YES
SYS SYSTEM TEMP
YES
SYSMAN SYSAUX TEMP

SYSTEM SYSTEM TEMP
YES
WMSYS SYSAUX TEMP YES
XDB SYSAUX TEMP YES
XS$NULL USERS TEMP YES

SCHEMA OVERVIEW

ANONYMOUS

  • Purpose:

    • Account that allows HTTP access to Oracle XML DB. It is used in place of theAPEX_PUBLIC_USERaccount when the Embedded PL/SQL Gateway (EPG) is installed in the database. EPG is a Web server that can be used with Oracle Database. It provides the necessary infrastructure to create dynamic applications. See alsoXDB.

  • Safe To Remove:

    • Yes

  • Recreation Script:

    • $ORACLE_HOME/rdbms/admin/catqm.sql

APEX_030200

  • Purpose:

    • Part of the Oracle Application Express Suite - (Oracle APEX,previously named Oracle HTML DB) which is a freeware software development environment. It allows a fast development cycle to be achieved to create web based applications. The account owns the Application Express schema and metadata. See alsoAPEX_PUBLIC_USERandFLOW_FILES.

  • Safe To Remove:

    • Yes

  • Recreation Script:

    • $ORACLE_HOME/apex/apexins.sql

APEX_PUBLIC_USER

  • Purpose:

    • Part of the Oracle Application Express Suite - (Oracle APEX,previously named Oracle HTML DB) which is a freeware software development environment. It allows a fast development cycle to be achieved to create web based applications. This minimally privileged account is used for Application Express configuration with Oracle HTTP Server and mod_plsql. See alsoAPEX_030200and

      APPQOSSYS

      • Purpose:

        • Used for storing/managing all data and metadata required by Oracle Quality of Service Management.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_ADMIN/rdbms/admin/catqos.sql

      BI

      • Purpose:

        • The account that owns the Business Intelligence schema included in the Oracle Sample Schemas. See alsoHR,OE,SH,IXandPM.

      • Safe To Remove:

        • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

      • Recreation Script:

        • $ORACLE_HOME/demo/schema/bus_intelligence/bi_main.sql

      CTXSYS

      • Purpose:

        • The account used to administer Oracle Text. Oracle Text enables the building of text query applications and document classification applications. It provides indexing,word and theme searching,and viewing capabilities for text.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/ctx/admin/ctxsys.sql

      DBSNMP

      • Purpose:

        • The account used by the Management Agent component of Oracle Enterprise Manager to monitor and manage the database. Password is created at installation or database creation time.

      • Safe To Remove:

        • Yes �C run$ORACLE_HOME/rdbms/admin/catnsnmp.sql

      • Recreation Script:

        • $ORACLE_HOME/rdbms/admin/catsnmp.sql

      DIP

      • Purpose:

        • The account used by the Directory Integration Platform (DIP) to synchronize the changes in Oracle Internet Directory with the applications in the database.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/rdbms/admin/catdip.sql

      EXFSYS

      • Purpose:

        • The account used internally to access the EXFSYS schema,which is associated with the Rules Manager and Expression Filter feature. This feature enables the building of complex PL/SQL rules and expressions. The EXFSYS schema contains the Rules Manager and Expression Filter DDL,DML,and associated metadata.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/rdbms/admin/exfsys.sql

      FLOW_FILES

      • Purpose:

        • Part of the Oracle Application Express Suite - (Oracle APEX,previously named Oracle HTML DB) which is a freeware software development environment. It allows a fast development cycle to be achieved to create web based applications. This account owns the Application Express uploaded files. See alsoAPEX_030200andAPEX_PUBLIC_USER.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/apex/apexins.sql

      HR

      • Purpose:

        • The account that owns the Human Resources schema included in the Oracle Sample Schemas. See alsoBI,86);" target="_blank" rel="nofollow">PM.

      • Safe To Remove:

        • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

      • Recreation Script:

        • $ORACLE_HOME/demo/schema/human_resources/hr_main.sql

      IX

      • Purpose:

        • The account that owns the Information Transport schema included in the Oracle Sample Schemas. See alsoSHandPM.

      • Safe To Remove:

        • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

      • Recreation Script:

        • $ORACLE_HOME/demo/schema/info_exchange/ix_main.sql

      MDDATA

      MDSYS

      • Purpose:

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/ord/admin/ordinst.sql

      MGMT_VIEW

      • Purpose:

        • An account used by Oracle Enterprise Manager Database Control. Password is randomly generated at installation or database creation time. Users do not need to know this password.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/sysman/admin/emdrep/bin/RepManager

      OE

      • Purpose:

        • The account that owns the Order Entry schema included in the Oracle Sample Schemas. See alsoPM.

      • Safe To Remove:

        • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

      • Recreation Script:

        • $ORACLE_HOME/ demo/schema/order_entry/oe_main.sql

      OLAPSYS

      • Purpose:

        • The account that owns the OLAP Catalog (CWMLite). This account has been deprecated,but is retained for backward compatibility.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/olap/admin/amdsys.sql

      ORACLE_OCM

      • Purpose:

        • This account contains the instrumentation for configuration collection used by the Oracle Configuration Manager.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/rdbms/admin/catocm.sql

      ORDDATA

      • Purpose:

        • This account contains the Oracle Multimedia DICOM data model.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/ord/admin/ordisysc.sql

      ORDPLUGINS

      • Purpose:

        • The Oracle Multimedia user. Plug-ins supplied by Oracle and third-party,format plug-ins are installed in this schema. Oracle Multimedia enables Oracle Database to store,manage,and retrieve images,audio,video,DICOM format medical images and other objects,or other heterogeneous media data integrated with other enterprise information. See alsoORDSYSandSI_INFORMTN_SCHEMA.

      • Safe To Remove:

        • Yes

      • Recreation Script:

        • $ORACLE_HOME/ord/admin/ordinst.sql

      ORDSYS

      • Purpose:

        • The Oracle Multimedia administrator account. See alsoORDPLUGINSand

          OUTLN

          • Purpose:

            • The account that supports plan stability. Plan stability prevents certain database environment changes from affecting the performance characteristics of applications by preserving execution plans in stored outlines. OUTLN acts as a role to centrally manage metadata associated with stored outlines.

          • Safe To Remove:

            • No

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/sql.bsq. Recover from backup or recreate the database.

          OWBSYS

          • Purpose:

            • The account for administrating the Oracle Warehouse Builder repository. Access this account during the installation process to define the base language of the repository and to define Warehouse Builder workspaces and users. A data warehouse is a relational or multidimensional database that is designed for query and analysis. See alsoOWBSYS_AUDIT.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/owb/UnifiedRepos/cat_owb.sql

          OWBSYS_AUDIT

          • Purpose:

            • This account is used by the Warehouse Builder Control Center Agent to access the heterogeneous execution audit tables in theOWBSYSschema.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/owb/UnifiedRepos/cat_owb.sql

          PM

          • Purpose:

            • The account that owns the Product Media schema included in the Oracle Sample Schemas. See alsoSHandIX.

          • Safe To Remove:

            • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

          • Recreation Script:

            • $ORACLE_HOME/demo/schema/product_media/pm_main.sql

          SCOTT

          • Purpose:

            • An account used by Oracle sample programs and examples.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/utlsampl.sql

          SH

          • Purpose:

            • The account that owns the Sales History schema included in the Oracle Sample Schemas and is only available forEnterprise Editioninstallations. See alsoPM.

          • Safe To Remove:

            • Yes �C run$ORACLE_HOME/demo/schema/drop_sch.sql

          • Recreation Script:

            • $ORACLE_HOME/demo/schema/sales_history/sh_main.sql

          SI_INFORMTN_SCHEMA

          • Purpose:

            • The account that stores the information views for the SQL/MM Still Image Standard. See alsoORDPLUGINSandORDSYS.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/ord/admin/ordinst.sql

          SPATIAL_CSW_ADMIN_USR

          • Purpose:

            • The Catalog Services for the Web (CSW) account. It is used by the Oracle Spatial CSW cache manager to load all record type metadata,and record instances from the database into the main memory for the record types that are cached. See alsoSPATIAL_WFS_ADMIN_USR,86);" target="_blank" rel="nofollow">MDDATAandMDSYS.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/md/admin/sdocswpv.sql

          SPATIAL_WFS_ADMIN_USR

          • Purpose:

            • The Web Feature Service (WFS) account. It is used by the Oracle Spatial WFS cache manager to load all feature type metadata,and feature instances from the database into main memory for the feature types that are cached. See alsoMDSYS.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/md/admin/sdowfspv.sql

          SYS

          • Purpose:

            • An account used to perform database administration tasks. Password is created at installation or database creation time.

          • Safe To Remove:

            • No

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/sql.bsq. Recover from backup or recreate the database.

          SYSMAN

          • Purpose:

            • The account used to perform Oracle Enterprise Manager database administration tasks. TheSYSandSYSTEMaccounts can also perform these tasks. Password is created at installation or database creation time.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • Created as part of thedbconsoleorEnterprise Managerbuild.

          SYSTEM

          • Purpose:

            • A default generic database administrator account for Oracle databases. For production systems,Oracle recommends creating individual database administrator accounts and not using the genericSYSTEMaccount for database administration operations. Password is created at installation or database creation time.

          • Safe To Remove:

            • No

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/sql.bsq. Recover from backup or recreate the database.

          WMSYS

          • Purpose:

            • The account used to store the metadata information for Oracle Workspace Manager.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/owmctab.plb

          XDB

          • Purpose:

            • The account used for storing Oracle XML DB data and metadata. See alsoANONYMOUS.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/catqm.sql

          XS$NULL

          • Purpose:

            • An internal account that represents the absence of a user in a session. Because XS$NULL is not a user,this account can only be accessed by the Oracle Database instance. XS$NULL has no privileges and no one can authenticate as XS$NULL,nor can authentication credentials ever be assigned to XS$NULL.

          • Safe To Remove:

            • No

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/sql.bsq. Recover from backup or recreate the database.

          OTHER ADMINISTRATIVE SCHEMA

          The schema listed below arenotinstalled by default,but can be built using the creation script(s) cited and any necessary additional steps as prescribed by the appropriate Oracle manual.

          LBACSYS

          • Purpose:

            • The account used to administer Oracle Label Security (OLS). It is created only when the Label Security custom option is installed.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/rdbms/admin/catlbacs.sql

          WK_TEST

          • Purpose:

            • The instance administrator for the default instance,WK_INST. After unlocking this account and assigning this user a password,then the cached schema password must also be updated using the administration tool Edit Instance Page. Ultra Search provides uniform search-and-location capabilities over multiple repositories,such as Oracle databases,other ODBC compliant databases,IMAP mail servers,HTML documents managed by a Web server,files on disk,and more. See alsoWKSYS

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/ultrasearch/admin/wk0csys.sql

          WKSYS

          • Purpose:

            • An Ultra Search database super-user. WKSYS can grant super-user privileges to other users,such as WK_TEST. All Oracle Ultra Search database objects are installed in the WKSYS schema. See alsoWK_TEST

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/ultrasearch/admin/wk0csys.sql

          WKPROXY

          • Purpose:

            • An administrative account of Application Server Ultra Search.

          • Safe To Remove:

            • Yes

          • Recreation Script:

            • $ORACLE_HOME/ultrasearch/admin/wk0csys.sql

          ADDITIONAL INFORMATION

          • Further information can be found in Metalink article160861.1.

          版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。

相关推荐


文章浏览阅读773次,点赞6次,收藏9次。【代码】c# json字符串转Oracle的insert into的小程序。
文章浏览阅读8.7k次,点赞2次,收藏17次。此现象一般定位到远端的监听服务来找问题,在远端查看监听服务状态(具体看下面的解决方案会详细呈现),服务是否开启,另外查看监听端点概要是否存在host未指向到计算名的,如无直接进入监听配置文件listener.ora内添加指向即可。2、查看监听服务状态 lsnrctl status,右边为远端端点状态,未添加host指向到计算名;1、本地及远端安装好Oracle并配置好连接,Oracle服务和监听已启动;1、远程Oracle数据库:Oracle11g R2。或者进入下述服务手动重启。,再进行远程连接即可。_ora-12541:tns:无监听程序
文章浏览阅读2.8k次。mysql脚本转化为oracle脚本_mysql建表语句转oracle
文章浏览阅读2.2k次。cx_Oracle报错:cx_Oracle DatabaseError: DPI-1047: Cannot locate a 64-bit Oracle Client library_cx_oracle.databaseerror: dpi-1047: cannot locate a 64-bit oracle client libr
文章浏览阅读1.1k次,点赞38次,收藏35次。本文深入探讨了Oracle数据库的核心要素,包括体系结构、存储结构以及各类参数。通过解析Oracle数据库的体系结构,读者可以深入了解其内部组成和工作原理。存储结构部分介绍了数据在Oracle中的存储方式,从表空间到数据文件的层层逻辑。最后,我们深入探讨了Oracle数据库中各类参数的作用和配置方法,帮助读者更好地理解和优化数据库性能。本文旨在帮助读者全面理解Oracle数据库的运作机制,为其在实践中的应用提供基础和指导。
文章浏览阅读1.5k次。默认自动收集统计信息的时间为晚上10点(周一到周五,4个小时),早上6点(周六,周日,20个小时)由于平时默认每天只收集4小时,时间有点短了,改成每天可收集8小时。oracle 18c中默认是打开的。查看当前自动收集统计信息的时间。_oracle自动收集统计信息
文章浏览阅读929次,点赞18次,收藏20次。只有assm(Automatic Shared Memory Management)模式可以使用大页,需要关闭amm(Memory Manager Process)HugePages_Free: 306 (空闲306页,已使用306-306=0页)防止oracle使用的内存交换,所以设置的大小与oracle配置的sga、pga相关。HugePages_Rsvd: 0 (操作系统承诺给oracle预留的页数)HugePages_Total: 306 (总共306页)_oracle11g 大页
文章浏览阅读801次。例如:10046:0,1,4,8,12。默认redo日志有三个,大小为50M,循环覆盖使用。redo log再覆盖之前,会被归档,形成归档日志。答:不同事件,不同级别。trace的不同级别?_oracle 日志
文章浏览阅读4.2k次,点赞84次,收藏77次。主要讲解MySQL中SQL的DDL语句,其中包括对数据库和表的一系列操作。_sql ddl 新增字段 mysql
文章浏览阅读1.1k次。ON DEMAND:仅在该物化视图“需要”被刷新了,才进行刷新(REFRESH),即更新物化视图,以保证和基表数据的一致性;ON COMMIT:一旦基表有了COMMIT,即事务提交,则立刻刷新,立刻更新物化视图,使得数据和基表一致。Method =>'C',物化视图有三种刷新方式:COMPLETE、FAST和FORCE。物化视图会占用空间,一半可用于大量数据查询时,减缓主表的查询压力使用。例如创建一个物化视图,让对接单位查询。_oracle物化视图定时刷新
文章浏览阅读713次,点赞21次,收藏18次。1.背景介绍在当今的大数据时代,数据量越来越大,传统的关系型数据库已经无法满足业务需求。因此,NoSQL数据库技术迅速崛起,成为企业和开发者的首选。Oracle NoSQL Database是Oracle公司推出的一款分布式NoSQL数据库产品,具有高性能、高可用性和易于扩展等特点。在本文中,我们将深入了解Oracle NoSQL Database的集成与开发者工具,帮助您更好地掌握这款产品的...
文章浏览阅读2.5k次,点赞2次,收藏4次。今天遇见一个问题需要将字段中包含中文字符串的筛选出来。_oracle查询包含中文字符
文章浏览阅读802次。arcmap 在oracle删除表重新创建提示表名存在解决放啊
文章浏览阅读4.3k次,点赞2次,收藏4次。Oracle连接数据库提示 ORA-12638:身份证明检索失败_ora-12638
文章浏览阅读3.4k次,点赞6次,收藏25次。etc/profile是一个全局配置文件,所有用户登录都会使用该文件构建用户环境。与windows配置环境变量是一个道理。选择Linux系统,找到适合自己系统的安装包,我的是CentOS 8 x64。接下来需要登陆Oracle账户才能下载,无账户的可以自己注册一个。Linux中export 命令用于设置或显示环境变量。模式,利用上下键到文档最后,添加以下代码。出现如图所示版本号字样,则说明安装成功。点击下载,勾选1,点击2。记住完整路径用于后面配置。找到Java并点击进去。往下翻,找到Java8。_linux安装jdk1.8
文章浏览阅读2.4w次,点赞26次,收藏109次。JDK 是的简称,也就是 Java 开发工具包。JDK 是整个 Java 的核心,其中JDK包含了 Java 运行环境(Java Runtime Envirnment,简称 JRE),Java 工具(比如 javac、java、javap 等等),以及 Java 基础类库(比如 rt.jar)。最主流的 JDK 是Oracle公司发布的 JDK,除了 Oracle JDK(商业化,更稳定)之外,还有很多公司和组织开发了属于自己的 JDK,比较有名的有IBM JDK(更适合 IBM) 和OpenJDK。_jdk安装教程
文章浏览阅读7.5w次。出现 “java.sql.SQLNonTransientConnectionException:Could not create connection to database server” 的错误通常是由于无法连接到数据库服务器引起的。_java.sql.sqlnontransientconnectionexception: could not create connection to
文章浏览阅读849次,点赞7次,收藏10次。在ClickHouse中创建用户、数据库并进行权限分配是一个重要的管理任务,它涉及到安全性和访问控制。下面是一个基本的指南来帮助你完成这些操作:1. 创建数据库首先,需要创建一个数据库。使用以下命令:CREATE DATABASE IF NOT EXISTS your_database_name;将 your_database_name 替换为你想要的数据库名。2. 创建用户接下来,创建一个新用户。使用以下命令:CREATE USER your_username IDENTIFIED WIT_在clickhouse中如何创建用户 赋权
文章浏览阅读1.2k次,点赞53次,收藏39次。本文是一篇关于Oracle数据库安装和使用的博文摘要。作者以轻松幽默的笔调介绍了自己在实验中掌握的Oracle数据库基本操作,包括使用组件查看命令、配置数据库监听器等。作者也分享了在实验中遇到的一些有趣问题,如SQL语句缺少分号导致的意外错误。此外,作者还强调了登录sys用户和启动实例加载数据库的注意事项,并鼓励读者面对挑战时保持乐观,不断提升自己的能力。整体风格风趣严谨,引人入胜。
文章浏览阅读820次,点赞17次,收藏16次。KingbaseES、xml、dbms_xmlgen、SETSKIPROWS、人大金仓、KingbaseES兼容Oracle包dbms_xmlgen的功能是通过SQL查询将关系表中数据转化为XML文档。转化方式一共有两种:(1)通过查询字符串直接转化。(2)通过上下文句柄转化。对于通过查询字符串直接转化的方式,无法跳过若干行进行查询,只能直接将表格中的所有数据转化为XML文档。