zoukankan      html  css  js  c++  java
  • schema in oracle

    the conception of schema is different in different db software.

    here i just refer to oracle schema。

    following is quote from "http://docs.oracle.com/cd/B19306_01/server.102/b14200/sql_elements007.htm"

    schema conception:

    Schema Objects

    schema is a collection of logical structures of data, or schema objects. A schema is owned by a database user and has the same name as that user. Each user owns a single schema. Schema objects can be created and manipulated with SQL and include the following types of objects:

    Clusters

    Constraints
    Database links
    Database triggers
    Dimensions
    External procedure libraries
    Index-organized tables
    Indexes
    Indextypes
    Java classes, Java resources, Java sources
    Materialized views
    Materialized view logs
    Object tables
    Object types
    Object views
    Operators
    Packages
    Sequences
    Stored functions, stored procedures
    Synonyms
    Tables
    Views

    Nonschema Objects

    Other types of objects are also stored in the database and can be created and manipulated with SQL but are not contained in a schema:


    Contexts
    Directories
    Parameter files (PFILEs) and server parameter files (SPFILEs)
    Profiles
    Roles
    Rollback segments
    Tablespaces
    Users

    here we know that the database include schema objects and non-schema objects.

    Schema objects are logical data storage structures. Schema objects do not have a one-to-one correspondence to physical files on disk that store their information. However, Oracle stores a schema object logically within a tablespace of the database. The data of each object is physically contained in one or more of the tablespace's datafiles. For some objects, such as tables, indexes, and clusters, you can specify how much disk space Oracle allocates for the object within the tablespace's datafiles.

    There is no relationship between schemas and tablespaces: a tablespace can contain objects from different schemas, and the objects for a schema can be contained in different tablespaces.

  • 相关阅读:
    web页面性能优化之接口前置
    python大佬养成计划----flask_bootstrap装饰网页
    撸个查询物流的小程序,欢迎体验
    FullCalendar插件的基本使用
    GeekforGeeks Trie
    使用Django和Python创建Json response
    nginx-gridfs的安装
    Linux kernel config and makefile system
    hadoop日志分析
    安装STS报错(三)
  • 原文地址:https://www.cnblogs.com/silentjesse/p/3573142.html
Copyright © 2011-2022 走看看