博客
关于我
强烈建议你试试无所不能的chatGPT,快点击我
oracle 查看表属主和表空间sql
阅读量:2233 次
发布时间:2019-05-09

本文共 1751 字,大约阅读时间需要 5 分钟。

查看表空间

select * from user_tablespaces where table_name = 'TableName'

查看表属主

select  Owner  from all_tab_columns where table_name = 'TableName'

 

附录:

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.

 stores data logically in tablespaces and physically in datafiles associated with the corresponding tablespace.

reference:http://en.wikipedia.org/wiki/Tablespace

 

转载于:https://www.cnblogs.com/davidwang456/p/3745921.html

你可能感兴趣的文章
机器学习中常用评估指标汇总
查看>>
什么是 ROC AUC
查看>>
Bagging 简述
查看>>
详解 Stacking 的 python 实现
查看>>
简述极大似然估计
查看>>
用线性判别分析 LDA 降维
查看>>
用 Doc2Vec 得到文档/段落/句子的向量表达
查看>>
使聊天机器人具有个性
查看>>
使聊天机器人的对话更有营养
查看>>
一个 tflearn 情感分析小例子
查看>>
attention 机制入门
查看>>
手把手用 IntelliJ IDEA 和 SBT 创建 scala 项目
查看>>
GAN 的 keras 实现
查看>>
AI 在 marketing 上的应用
查看>>
Logistic regression 为什么用 sigmoid ?
查看>>
Logistic Regression 为什么用极大似然函数
查看>>
SVM 的核函数选择和调参
查看>>
LightGBM 如何调参
查看>>
用 TensorFlow.js 在浏览器中训练神经网络
查看>>
cs230 深度学习 Lecture 2 编程作业: Logistic Regression with a Neural Network mindset
查看>>