Oracle DB: Gather statistics – Show statistics

Gather schema statsistics:exec dbms_stats.gather_schema_stats( -     ownname          => 'SCOTT', -     options          => 'GATHER AUTO'   );Show schema stats:select * from DBA_IND_STATISTICS WHERE OWNER='SCOTT'select * from DBA_TAB_STATISTICS WHERE OWNER='SCOTT'select * from DBA_TAB_COL_STATISTICS WHERE…

Continue ReadingOracle DB: Gather statistics – Show statistics

Oracle DB: Install APEX 4.2

Here is how to install APEX 4.2 on Oracle 11g:Download Apex 4.0.2:http://www.oracle.com/technetwork/developer-tools/apex/downloads/index.htmlin C:\apps\ApexDownload Apex Listener:http://www.oracle.com/technetwork/developer-tools/apex-listener/downloads/index.htmlin C:\apps\Apex_ListenerMake a shortcut to SQL Plus 11:C:\Oracle\product\11.2.0\dbhome_1\BIN\sqlplus.exe /nolognamed: Apex SQL Plus 11 wirh working directory…

Continue ReadingOracle DB: Install APEX 4.2