Home > Database > Oracle > How to view table space in oracle

How to view table space in oracle

王林
Release: 2020-07-03 10:49:16
Original
12499 people have browsed it

Oracle method to view all table spaces: [select * from Dba_Tablespaces]. If you want to check the table space used by the current user, you can use the [select * from user_users] command.

How to view table space in oracle

Oracle database is a very easy-to-use relational database. Oracle data is maintained and stored in table space. The table space contains oracle data, structure and other information.

(Recommended learning: oracle tutorial)

If you want to check the table space used by the current user, use the following command:

select * from user_users
Copy after login

If you want to check For all table spaces under oracle, use the following command:

select * from Dba_Tablespaces
Copy after login

The information presented by this command includes the name of the table space and the size of the table space.

The above is the detailed content of How to view table space in oracle. For more information, please follow other related articles on the PHP Chinese website!

Related labels:
source:php.cn
Statement of this Website
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template