查看表空间
select * from user_tablespaces where table_name = 'TableName'
查看表属主
select Owner from all_tab_columns where table_name = 'TableName'
附录:
A tablespace is a storage location where the actual data underlying objects can be kept. It provides a layer of abstraction between physical and logical data, and serves to allocate storage for all managed segments. (A database segment is a database object which occupies physical space such as data and .) Once created,a tablespace can be referred to by name when creating database segments.
Tablespaces specify only the database storage locations,not the logical database structure,or . For instance,different objects in the same schema may have different underlying tablespaces. Similarly,a tablespace may service segments for more than one schema. Sometimes it can be used to specify schema as to form a bond between logical and physical data.
By using tablespaces,an administrator can control the disk layout of an installation. A common use of tablespaces is to optimize performance. For example,a heavily used index can be placed on a fast . On the other hand,a database table which contains archived data that is rarely accessed could be stored on a less expensive but slower disk.
While it is common for tablespaces to store their data in a filesystem file,a single file must be part of a single tablespace. Some allow tablespaces to be configured directly over operating-system device entries,called ,providing better performance by avoiding the OS filesystem overheads.
reference:http://en.wikipedia.org/wiki/Tablespace
版权声明:本文内容由互联网用户自发贡献,该文观点与技术仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌侵权/违法违规的内容, 请发送邮件至 dio@foxmail.com 举报,一经查实,本站将立刻删除。