select owner, object_name, object_type from dba_objects;Gibt viele Informationen alle Objekte der Datenbank zurück.
select * from dictionary where table_name like 'dba_seg%'; describe dba_users; select * from dba_users;
select owner, object_name, object_type from all_objects;Gibt viele Informationen aller Objekte aus, auf die der User zugreifen kann.
select object_name, object_type from user_objects;Gibt viele Informationen alle Objekte aus, die zu den Schema des Users gehören.
select * from dictionary where table_name like 'v$data%';
DICTIONARY names of all the data dictionary views DBA_OBJECTS number of objects a user has created DBA_TABLES >> NEXT_EXTENT, PCT_INCREASE size of 3rd extent (dictionary managed tablespace) DBA_CONSTRAINTS foreign key constraint and the referenced primary key DBA_INDEXES Index names, Index types DBA_FREE_SPACE free space in a certain tablespace DBA_SEGMENTS space allocated for temporary segments / location of all the tables and indexes owned by one user DBA_TAB_PRIVS object privileges for all database users DBA_USERS all database users, default settings, account expired, default tablespace name, profile name
select * from v$fixed_table;
describe v$instance;Anzeige des Inhaltes der View.
select * from v$instance;
select name from v$parameter;
SELECT name, status FROM v$controlfile; number, names, status, and location of the control files V$LOG, V$THREAD, V$DATAFILE obtain information from the control file V$CONTROLFILE_RECORD_SECTION data file maximum when database was created V$SORT_USAGE disk sorts on database right now
Stefan Hietel dama.go GmbH, Robert Warnke http://rowa.giso.de