Oracle 11g Default Schemas

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

ACKGROUND

When an 11g database is created without tweaking any of the options, using either dbca or the installer, 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 the Other Administrative Schema section 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 NAMEDEFAULT TABLESPACETEMPORARY TABLESPACELOCKED?DBA?
ANONYMOUSSYSAUXTEMPYES
APEX_030200SYSAUXTEMPYES
APEX_PUBLIC_USERUSERSTEMPYES
APPQOSSYSSYSAUXTEMPYES
BIUSERSTEMPYES
CTXSYSSYSAUXTEMPYES
DBSNMPSYSTEMTEMP
DIPUSERSTEMPYES
EXFSYSSYSAUXTEMPYES
FLOWS_FILESSYSAUXTEMPYES
HRUSERSTEMPYES
IXUSERSTEMPYES
MDDATAUSERSTEMPYES
MDSYSSYSAUXTEMPYES
MGMT_VIEWSYSTEMTEMP
OEUSERSTEMPYES
OLAPSYSSYSAUXTEMPYES
ORACLE_OCMUSERSTEMPYES
ORDDATASYSAUXTEMPYES
ORDPLUGINSSYSAUXTEMPYES
ORDSYSSYSAUXTEMPYES
OUTLNSYSTEMTEMPYES
OWBSYSSYSAUXTEMPYES
OWBSYS_AUDITSYSAUXTEMPYES
PMUSERSTEMPYES
SCOTTUSERSTEMPYES
SHUSERSTEMPYES
SI_INFORMTN_SCHEMASYSAUXTEMPYES
SPATIAL_CSW_ADMIN_USRUSERSTEMPYES
SPATIAL_WFS_ADMIN_USRUSERSTEMPYES
SYSSYSTEMTEMPYES
SYSMANSYSAUXTEMP
SYSTEMSYSTEMTEMPYES
WMSYSSYSAUXTEMPYES
XDBSYSAUXTEMPYES
XS$NULLUSERSTEMPYES

SCHEMA OVERVIEW

ANONYMOUS

  • Purpose:
    • Account that allows HTTP access to Oracle XML DB. It is used in place of the APEX_PUBLIC_USER account 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 also XDB.
  • 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 also APEX_PUBLIC_USER and FLOW_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 also APEX_030200 and FLOW_FILES.
  • Safe To Remove:
    • Yes
  • Recreation Script:
    • $ORACLE_HOME/apex/apexins.sql

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 also HR, OE, SH, IX and PM.
  • Safe To Remove:
    • Yes – 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 – 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 also APEX_030200 and APEX_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 also BI, OE, SH, IX and PM.
  • Safe To Remove:
    • Yes – 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 also BI, HR, OE, SH and PM.
  • Safe To Remove:
    • Yes – run $ORACLE_HOME/demo/schema/drop_sch.sql
  • Recreation Script:
    • $ORACLE_HOME/demo/schema/info_exchange/ix_main.sql

MDDATA

MDSYS

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 also BI, HR, SH, IX and PM.
  • Safe To Remove:
    • Yes – 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 also ORDSYS and SI_INFORMTN_SCHEMA.
  • Safe To Remove:
    • Yes
  • Recreation Script:
    • $ORACLE_HOME/ord/admin/ordinst.sql

ORDSYS

  • Purpose:
  • Safe To Remove:
    • Yes
  • Recreation Script:
    • $ORACLE_HOME/ord/admin/ordinst.sql

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 also OWBSYS_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 the OWBSYS schema.
  • 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 also BI, HR, OE, SH and IX.
  • Safe To Remove:
    • Yes – 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 for Enterprise Edition installations. See also BI, HR, OE, IX and PM.
  • Safe To Remove:
    • Yes – 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 also ORDPLUGINS and ORDSYS.
  • 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 also SPATIAL_WFS_ADMIN_USR, MDDATA and MDSYS.
  • 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 also SPATIAL_CSW_ADMIN_USR , MDDATA and MDSYS.
  • 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. The SYS and SYSTEM accounts can also perform these tasks. Password is created at installation or database creation time.
  • Safe To Remove:
    • Yes
  • Recreation Script:
    • Created as part of the dbconsole or Enterprise Manager build.

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 generic SYSTEM account 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 also ANONYMOUS.
  • 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 are not installed 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 also WKSYS
  • 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 also WK_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 article 160861.1.

来自 “ ITPUB博客 ” ,链接:http://blog.itpub.net/14377/viewspace-1060425/,如需转载,请注明出处,否则将追究法律责任。

转载于:http://blog.itpub.net/14377/viewspace-1060425/

  • 0
    点赞
  • 0
    收藏
    觉得还不错? 一键收藏
  • 0
    评论
current_schema是一个在数据库中使用的函数,它用于获取当前会话的默认模式或架构。在引用\[1\]和\[2\]中提到,使用current_schema可以简化在访问表时需要指定模式的操作。通常在授予只读账户访问权限时,如果没有使用同义词,需要使用"schema(/user).表"的方式来访问表。而使用current_schema可以避免每次都需要指定模式,使操作更加简单方便。引用\[3\]中也提到,使用current_schema可以方便地获取其他模式下的表数据,而无需切换用户或在语句中加入对应的用户。这样可以更加方便地查看数据库中的视图和执行查询操作。 #### 引用[.reference_title] - *1* *2* [oracle current_schema参数详解](https://blog.csdn.net/rungong123/article/details/88388023)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] - *3* [Oracle 切换不同的schema (alter session set current_schema=scott)](https://blog.csdn.net/leo__1990/article/details/90345132)[target="_blank" data-report-click={"spm":"1018.2226.3001.9630","extra":{"utm_source":"vip_chatgpt_common_search_pc_result","utm_medium":"distribute.pc_search_result.none-task-cask-2~all~insert_cask~default-1-null.142^v91^control_2,239^v3^insert_chatgpt"}} ] [.reference_item] [ .reference_list ]

“相关推荐”对你有帮助么?

  • 非常没帮助
  • 没帮助
  • 一般
  • 有帮助
  • 非常有帮助
提交
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值