ORACLE VIEWS

viewdescription dba_db_linkslinksv$dba_registryinstalled componentsv$transportable_platformbig-endian,little-endian bytes orientationnls_database_parametersencodingv$pwfile_usersusers from password file

ORACLE SQL

query order:FROM/WHEREadd ROWNUM to every row from FROM/WHERESELECTGROUP BYHAVINGORDER BY

ORACLE ABOUT

running mode:STARTUP NOMOUNTstartup instance and occupy memoryread pfile in order:- spfile$ORACLE_SID.ora or- spfile.ora or- init$ORACLE_SID.ora(for winshit it is necessary run service which open ORACLE.EXE [instance_name] and only one process unlike many processes at...

ORACLE PATCH

download opatchdownload patchunpackshutdown instanceread README filechange directory to unpacked archiveopatch applyrun Post Installation Instructionscheck patches allready install:opatch lsinventoryopatch lsinventory -detailcheck patch:opatch query -all...

ORACLE FLASHBACK

FLASHBACK DEPEND ON UNDO DATA-conditions:UNDO_MANAGEMENT=AUTOUNDO_RETENTION=900 #(in seconds 900 equal 15min, if value is extended UNDO tablespace will be increased also)only for DML because FLASHBACK use data directory, but DDL cause ORA-01466only for DELETE because...

ORACLE STATISTICS

exec DBMS_STATS.GATHER_SCHEMA_STATS('[username]’, cascade=>TRUE);exec #dla tabeli wraz z indeksami DBMS_STATS.GATHER_TABLE_STATS('[username’,'[table_name]’,cascade=>TRUE); #dla całego schematu wraz z indeksamiTIMED_STATISTICS = TRUESELECT...