设为首页 加入收藏

TOP

oracle之表空间(tablespace)、方案(schema)、段(segment)、区(extent)、块(block)(二)
2015-07-24 11:26:33 来源: 作者: 【 】 浏览:7
Tags:oracle 空间 tablespace 方案 schema segment extent block
r 后即可得到一个 schema,如:HR 用户建立后便有 HR 方案,接下来建立表、索引等数据库对象时,要指定其属于哪个 schema,也要指定其存放在哪个 tablespace 里。
也可以这样理解,schema 是数据库对象的逻辑归属和分类,而 tablespace 是数据库对象的物理和实际存放位置。

Schema 就是用户所属对象的一个集合,对象包括表,索引,视图,JAVA,PL/SQL块等。
Schema 的名字与用户名一样,当创建一个用户时,这个用户所对应的shema也同时创建,用户名与schema交互使用。
Schema 与tablespace之间没有什么联系,同一个schema的对象可以存储在不同的表空间中,同一个表空间中可以存储不同schema的对象。
不要在SYS和SYSTEM SCHEMA下创建其它数据对象。
Schema is the collection of database objects owned by a database user.
Schema has the same name as the user owns it.
Schema objects include structures such as tables,views,indexes, Java,PL/SQL etc..
Schema is no relationship with tablespace.
Object in the same schema can be in different tablespaces.
When a database user is created,acorresponding schema with the same name is created for that user.
Username and Schema are offen used interchangeably.
首页 上一页 1 2 下一页 尾页 2/2/2
】【打印繁体】【投稿】【收藏】 【推荐】【举报】【评论】 【关闭】 【返回顶部
分享到: 
上一篇Oracle数据库迁移--->从Window.. 下一篇Oracle关于number类型转换to_char..

评论

帐  号: 密码: (新用户注册)
验 证 码:
表  情:
内  容:

·如何在 C 语言中管理 (2025-12-25 03:20:14)
·C语言和内存管理有什 (2025-12-25 03:20:11)
·为什么C语言从不被淘 (2025-12-25 03:20:08)
·常用meta整理 | 菜鸟 (2025-12-25 01:21:52)
·SQL HAVING 子句:深 (2025-12-25 01:21:47)