Home / Smart Hardware

oracle view tablespaces

time:2024-10-04 16:02:27 Smart Hardware

 View all of Oracle's tablespaces

To view all tablespaces under Oracle Database, you can use the following command:

1. Use the 'select * from dba_tablespaces' command, which will display all the tablespaces in the database, including the tablespace name and the size of the tablespace.

2. Use the 'select * from v$tablespace' command, which will also show all the tablespaces in the database.

It should be noted that the execution user of a statement that queries a tablespace must have DBA permissions. You can use the 'select * from user_role_privs' command to view the current user's role.

《oracle view tablespaces》 This does not represent the views of this website. If there is any infringement, please contact us to delete it.

Ranking

Digital Insights