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.

  • 相关阅读:
    smarty的学习
    用接口实现封装的一个mysqli工具类
    centos7/8安装java和mysql
    Mysql 8.0 忘记密码报错1045办法,skip-grant-tables不管用
    卸载vivo手机自带的应用程序
    DevOps的学习(一)
    quartzy的spring注入问题
    html加载执行的顺序
    关于时间Date转换成long类型的方法(时间戳的转换)
    系统中出现乱码
  • 原文地址:https://www.cnblogs.com/silentjesse/p/3573142.html
Copyright © 2011-2022 走看看