Oracle does not have a simple database model such as MySQL or MS SQL Server. I believe that the closest thing is to request tablespaces and their corresponding users.
For example, I have a DEV_DB tablespace with all my "databases" inside them:
SQL> SELECT TABLESPACE_NAME FROM USER_TABLESPACES;
Result:
SYSTEM SYSAUX UNDOTBS1 TEMP USERS EXAMPLE DEV_DB
You can also request users in all table spaces:
SQL> select USERNAME, DEFAULT_TABLESPACE from DBA_USERS;
Or within a specific tablespace (using my DEV_DB tablespace as an example):
SQL> select USERNAME, DEFAULT_TABLESPACE from DBA_USERS where DEFAULT_TABLESPACE = 'DEV_DB'; ROLES DEV_DB DATAWARE DEV_DB DATAMART DEV_DB STAGING DEV_DB
Thomas Bratt Aug 12 '14 at 9:33 2014-08-12 09:33
source share