SlideShare uma empresa Scribd logo
1 de 65
Baixar para ler offline
Oracle11g	
  Top	
  10	
  features	
  
 Not	
  your	
  usual	
  Top	
  10.	
  
            Shan	
  Nawaz	
  
            Verisign	
  Inc	
  



              The most comprehensive Oracle applications & technology content under one roof
WHO	
  AM	
  I	
  	
  
•  Shan	
  Nawaz	
  
     –  More	
  than	
  13	
  years	
  of	
  experience	
  in	
  Database	
  Technologies(Oracle,	
  DB2,	
  SQL	
  
        Server)	
  
•  Database	
  Engineer	
  at	
  Verisign	
  
     –  Tune	
  mission	
  criJcal	
  applicaJons	
  with	
  millisecond	
  SLA’s	
  
•  Industry	
  CerJficaJons	
  
     –  OCP	
  in	
  Oracle7.3/8/9i/10g/11g	
  
     –  IBM	
  CerJfied	
  User	
  specialist	
  in	
  DB2	
  
     –  MCP	
  in	
  SQL	
  Server	
  2000	
  
•  Recent/Future	
  Technical	
  Sessions	
  
     –    Oracle	
  Open	
  World	
  2011	
  
     –    Hotsos	
  2011	
  
     –    IOUG	
  2011	
  
     –    Oracle	
  Open	
  World	
  2010	
  
     –    Verisign	
  Technical	
  Symposium	
  	
  2009	
  




                                               The most comprehensive Oracle applications & technology content under one roof
Agenda	
  
•    About	
  Verisign	
  and	
  Our	
  SLA’s	
  
•    Not	
  	
  your	
  usual	
  Top	
  10	
  features	
  
•    QA	
  
•    References	
  




                                 The most comprehensive Oracle applications & technology content under one roof
Our	
  SLA’s	
  
•  TransacJons	
  made	
  of	
  complex	
  SQL	
  
   statements	
  
   Command	
                   SLA	
  
   CHECK	
  DOMAIN	
           25ms	
  
   ADD	
  DOMAIN	
             50ms	
  
   DELETE	
  DOMAIN	
          100ms	
  
   MODIFY	
  DOMAIN	
          100ms	
  




                           The most comprehensive Oracle applications & technology content under one roof
Goal/MoJvaJon	
  of	
  this	
  PresentaJon	
  
•  To	
  visit	
  Australia	
  
•  To	
  talk	
  about	
  the	
  very	
  good	
  
   features	
  of	
  Oracle11g	
  that	
  are	
  
  overlooked	
  by	
  the	
          very	
  best	
  
  features	
  of	
  Oracle	
  11g	
  
                           The most comprehensive Oracle applications & technology content under one roof
Very	
  Best	
  Features	
  
1.     Database	
  Replay	
  
2.     AdapGve	
  Cursor	
  Sharing	
  
3.     Flashback	
  Data	
  Archive/Total	
  Recall	
  
4.     EdiGon	
  Based	
  redefiniGon	
  
5.     Deferred	
  segment	
  creaGon	
  	
  
6.     Password	
  Enhancements	
  
7.     SQL	
  Plan	
  Management	
  
8.     Result	
  Cache	
  
9.     Virtual	
  Indexes/Columns	
  
10.    Interval/System	
  ParGGoning	
  	
  
11.    Extended	
  OpGmizer	
  StaGsGcs	
  
12.    Online	
  Patching	
  
13.    Recursive	
  With	
  clause	
  
14.    PL/SQL	
  NaGve	
  CompilaGon	
  
15.    Secure	
  Files	
  



                                             The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  




          The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  
                 DBMS_PARALLEL_EXECUTE	
  	
  
                          	
  
•  Supports	
  parallel	
  update	
  of	
  large	
  data	
  sets	
  in	
  
   smaller	
  chunks.	
  
•  Chunks	
  	
  are	
  created	
  by	
  segregaJng	
  the	
  data	
  
   based	
  on	
  	
  
    1.  Rowid	
  	
  	
  
    2.  Numeric	
  column	
  	
  
    3.  User-­‐defined	
  SQL.	
  
    	
  
    	
  
                             The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  
•  Why	
  is	
  DBMS_PARALLEL_EXECUTE	
  
   important	
  ?	
  
   –  Unlike	
  other	
  parallel	
  features	
  ,	
  
        DBMS_PARALLEL_EXECUTE	
  	
  does	
  not	
  require	
  
        Enterprise	
  EdiJon.	
  
   –  Eliminates	
  much	
  of	
  manual	
  coding	
  and	
  does	
  
        befer	
  	
  job	
  of	
  distribuJng	
  load	
  	
  uniformly	
  across	
  
        parallel	
  processes	
  
   –  Overcome	
  restricJons	
  of	
  parallel	
  DML	
  
   	
  
   	
                                 The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  
•  Why	
  is	
  DBMS_PARALLEL_EXECUTE	
  important	
  ?	
  
   (ConJnued)	
  
   –  Break	
  large	
  single	
  transacJon	
  into	
  mulJple	
  chunks	
  
      (transacJons)	
  
       •  Less	
  impact	
  to	
  dependent	
  systems	
  like	
  Golden	
  Gate	
  or	
  
          streams	
  
       •  Less	
  undo	
  space	
  required	
  	
  minimizing	
  the	
  chance	
  of	
  
          ORA-­‐1555	
  
       •  DuraJon	
  of	
  lock	
  is	
  reduced.	
  
   –  Restart	
  	
  failed	
  chunks	
  (transacJons)	
  since	
  Chunks	
  are	
  
      commifed	
  individually	
  (Implicit)	
  
       •  Impact	
  of	
  Rollback	
  due	
  to	
  error	
  is	
  not	
  severe.	
  



                                       The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  
                          DBMS_PARALLEL_EXECUTE	
  	
  
                                   	
  
•  How	
  to	
  implement?	
  
1.  Create	
  a	
  task	
  with	
  CREATE_TASK	
  procedure	
  
2.  Create	
  chunks	
  (size)	
  using	
  one	
  of	
  the	
  following.	
  	
  
     –      CREATE_CHUNKS_BY_ROWID	
  
     –      CREATE_CHUNKS_BY_NUMBER_COL	
  	
  
     –      CREATE_CHUNKS_BY_SQL	
  	
  
3.  Define	
  the	
  DML	
  statement	
  
4.  Execute	
  the	
  task	
  in	
  parallel	
  with	
  RUN_TASK	
  
5.  Perform	
  error	
  handling	
  and	
  run	
  failed	
  chunks	
  with	
  
    RESUME_TASK.	
  



                                           The most comprehensive Oracle applications & technology content under one roof
Poor	
  man’s	
  parallelism	
  
Create	
  a	
  task	
  with	
  CREATE_TASK	
  

	
  
BEGIN	
  	
  	
  DBMS_PARALLEL_EXECUTE.CREATE_TASK	
  (TASK_NAME	
  =>	
  'UPDATE_TASK');	
  	
  	
  END;	
  

Create	
  chunks	
  with	
  ROWID.	
  	
  
	
  
BEGIN	
  	
  	
  DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID(TASK_NAME	
  	
  =>	
  'UPDATE_TASK‘,	
  TABLE_OWNER	
  	
  
          =>	
  'SCOTT‘,	
  TABLE_NAME	
  =>	
  'CONTENT‘,	
  BY_ROW=>	
  	
  FALSE,	
  CHUNK_SIZE	
  	
  =>	
  	
  3075);	
  END;	
  


Define	
  the	
  Update	
  statement	
  and	
  running	
  the	
  task	
  
        	
  
DECLARE	
  
	
  	
  L_SQL_STMT	
  VARCHAR2(32767);	
  
BEGIN	
  	
  	
  L_SQL_STMT	
  :=	
  'UPDATE	
  /*+	
  ROWID	
  (DDA)	
  */	
  	
  CONTENT	
  SET	
  	
  	
  	
  EXPIRATION_DATE=	
  SYSDATE+14	
  
	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  WHERE	
  ROWID	
  BETWEEN	
  :START_ID	
  AND	
  :END_ID';	
  
	
  	
  DBMS_PARALLEL_EXECUTE.RUN_TASK(TASK_NAME	
  =>	
  'UPDATE_TASK‘,SQL_STMT=>	
  L_SQL_STMT,LANGUAGE_FLAG	
  	
  
                                                                     	
  =>	
  DBMS_SQL.NATIVE,PARALLEL_LEVEL=>	
  4);	
  	
  	
  END;	
  




                                                       The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  




          The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
                        DBMS_COMPARISON	
  
                                     	
  
•  IdenJfy	
  differences	
  between	
  data	
  sets	
  	
  across	
  
   databases	
  or	
  same	
  database.	
  
•  Report	
  and	
  Synchronize	
  the	
  data	
  set	
  	
  
    –  Either	
  the	
  source	
  or	
  target	
  	
  can	
  act	
  as	
  master.	
  
•  Intended	
  mainly	
  for	
  replicated/streams	
  environment	
  
   but	
  can	
  be	
  used	
  outside	
  of	
  streams	
  environment	
  
•  Works	
  with	
  10g	
  and	
  above	
  version	
  provided	
  one	
  the	
  
   databases	
  in	
  the	
  comparison	
  is	
  11g;	
  	
  


                                         The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
•  Comparison	
  Modes	
  Supported	
  
   1.  Full	
  Object	
  comparison	
  
       •    CMP_SCAN_MODE_FULL	
  
   2.  Random	
  data	
  comparison	
  
       •    CMP_SCAN_MODE_RANDOM	
  
   3.  Cyclic	
  Comparison	
  
       •    CMP_SCAN_MODE_CYCLIC	
  	
  
   4.  Customized	
  comparison	
  
       •    CMP_SCAN_MODE_CUSTOM	
  	
  



                            The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
•  Objects	
  currently	
  supported	
  are	
  
    –  Tables	
  
    –  Single	
  Table	
  Views	
  
    –  Materialize	
  Views	
  
    –  Synonyms	
  for	
  above	
  objects	
  
•  Unique	
  Indexes	
  	
  are	
  used	
  for	
  comparison	
  
    –  Non-­‐Unique	
  indexes	
  are	
  used	
  if	
  specified	
  manually	
  
•  Permits	
  comparing	
  row-­‐row	
  OR	
  group	
  of	
  rows	
  
    –  Befer	
  performance	
  with	
  group	
  of	
  rows	
  


                                 The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
•  Steps	
  
    1.    Create	
  comparison	
  object	
  
    2.    Perform	
  the	
  comparison	
  
    3.    Analyze	
  the	
  results	
  
    4.    Converge	
  the	
  data	
  




                              The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
SQL>	
  SELECT	
  COUNT(*)	
  FROM	
                              SQL>	
  SELECT	
  COUNT(*)	
  FROM	
  
                                 CONTENT_1;	
                                                     CONTENT_2;	
  
	
  	
  	
                                                        	
  
COUNT(*)	
                                                        	
  	
  COUNT(*)	
  
-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐	
  
                                                                  -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐	
  
	
  	
  	
  	
  	
  	
  	
  	
  10	
  
                                                                  	
  	
  	
  	
  	
  	
  	
  	
  10	
  
	
  
                                                                  	
  
	
  
                                                                  SQL>	
  DELETE	
  FROM	
  CONTENT_2	
  	
  
	
                                                                	
  	
  	
  	
  2	
  	
  	
  	
  WHERE	
  ITEM_ID=484380;	
  
	
                                                                	
  
	
                                                                1	
  row	
  deleted.	
  
	
                                                                SQL>	
  COMMIT;	
  
	
                                                                	
  




                                                  The most comprehensive Oracle applications & technology content under one roof
Compare	
  and	
  Converge	
  
                                                           SQL>	
  	
  DECLARE	
  
                                                           	
  	
  2	
  	
  	
  	
  	
  	
  	
  COMPARE_VALUE	
  
                                                                                                  DBMS_COMPARISON.COMPARISON_TYPE;	
  
Create	
  Comparison	
  Object	
                           	
  	
  3	
  	
  	
  	
  	
  	
  	
  COMPARE_OUTPUT	
  BOOLEAN;	
  
SQL>	
  BEGIN	
                                            	
  	
  4	
  	
  BEGIN	
  
	
  	
  2	
  	
  DBMS_COMPARISON.CREATE_COMPARISON(	
      	
  	
  5	
  	
  	
  	
  	
  	
  	
  COMPARE_OUTPUT	
  :=	
  
                                                           	
  	
  6	
  	
  	
  	
  	
  	
  	
  DBMS_COMPARISON.COMPARE	
  (	
  
	
  	
  3	
  	
  COMPARISON_NAME=>'MYCOMPARE',	
  
                                                           	
  	
  7	
  	
  	
  	
  	
  	
  	
  COMPARISON_NAME=>'MYCOMPARE',	
  
	
  	
  4	
  	
  SCHEMA_NAME=>'SCOTT',	
  
                                                           	
  	
  8	
  	
  	
  	
  	
  	
  	
  SCAN_INFO=>COMPARE_VALUE,	
  
	
  	
  5	
  	
  OBJECT_NAME=>'CONTENT_1',	
  
                                                           	
  	
  9	
  	
  	
  	
  	
  	
  	
  PERFORM_ROW_DIF=>TRUE);	
  
	
  	
  6	
  	
  DBLINK_NAME=>NULL,	
                      	
  10	
  	
  	
  	
  	
  	
  	
  IF	
  COMPARE_OUTPUT=TRUE	
  
	
  	
  7	
  	
  REMOTE_SCHEMA_NAME=>'SCOTT',	
            	
  11	
  	
  	
  	
  	
  	
  	
  THEN	
  
	
  	
  8	
  	
  REMOTE_OBJECT_NAME=>'CONTENT_2');	
       	
  12	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DBMS_OUTPUT.PUT_LINE('Tables	
  are	
  IdenGcal');	
  
	
  	
  9	
  	
  END;	
                                    	
  13	
  	
  	
  	
  	
  	
  	
  ELSE	
  
	
  10	
  	
  /	
  	
  	
                                  	
  14	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DBMS_OUTPUT.PUT_LINE('Tables	
  are	
  not	
  IdenGcal’);	
  
	
                                                         	
  15	
  	
  	
  	
  	
  	
  	
  END	
  IF;	
  
PL/SQL	
  procedure	
  successfully	
  completed.	
        	
  16*	
  END;	
  
                                                           	
  17	
  	
  /	
  
                                                           Tables	
  are	
  not	
  IdenJcal,	
  Differences	
  Exist	
  
                                                           	
  
                                                           PL/SQL	
  procedure	
  successfully	
  completed.	
  


                                                    The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Case	
  
             	
  



             The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Cases	
  
•  Remember	
  the	
  Jmes	
  you	
  were	
  unable	
  to	
  resolve	
  	
  
   SQL	
  issue	
  
•  Because	
  
    –  You	
  are	
  unable	
  to	
  reproduce	
  the	
  issue	
  	
  at	
  will	
  in	
  
       producJon	
  environment.	
  
    –  Or	
  Unable	
  to	
  reproduce	
  the	
  issue	
  easily	
  in	
  Dev/QA	
  
       environments.	
  (Recurring	
  issue)	
  
    –  Or	
  Oracle	
  support	
  was	
  unable	
  to	
  help	
  you	
  because	
  
       they	
  don’t	
  have	
  the	
  necessary	
  informaJon	
  to	
  	
  
       reproduce	
  the	
  issue	
  


                                     The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Cases	
  
•  Help	
  is	
  on	
  the	
  way	
  
•  Oracle	
  11g	
  provides	
  a	
  tool	
  called	
  SQL	
  Test	
  case	
  
   builder	
  or	
  SQL	
  TCB.	
  
     –  As	
  per	
  Oracle	
  documentaJon,	
  If	
  you	
  ever	
  need	
  to	
  
        contact	
  Oracle	
  Support	
  about	
  a	
  SQL	
  issue,	
  then	
  
        obtaining	
  a	
  reproducible	
  test	
  case	
  is	
  the	
  single	
  most	
  
        important	
  factor	
  to	
  ensure	
  a	
  speedy	
  resoluJon.	
  	
  
•  Provides	
  as	
  means	
  of	
  good	
  shared	
  language	
  for	
  
   exchanging	
  informaJon	
  with	
  Oracle	
  Support	
  or	
  
   DBA’s	
  or	
  developers.	
  
     –  Easy	
  to	
  	
  diagnose	
  ,	
  analyze	
  and	
  esJmate	
  the	
  fix.	
  
•  Back	
  ported	
  to	
  10.2.0.4	
  	
  

                                     The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Cases	
  
•  Test	
  case	
  can	
  be	
  generated	
  	
  	
  using	
  
    1.  SQL	
  text	
  	
  
    2.  SQL	
  cursor	
  
    3.  SQL	
  from	
  incident	
  file	
  
•  SQL	
  TCB	
  can	
  be	
  also	
  be	
  directly	
  with	
  ADRCI	
  
   command	
  
    –  DDE	
  EXECUTE	
  ACTION	
  INCIDENT	
  <incident_id>	
  
       ACTIONNAME	
  SQLTCB	
  INVOCATION	
  
       <invocaJon_id>	
  


                                The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Cases	
  
•  What	
  kind	
  of	
  data	
  is	
  collected?	
  
   Permanent	
  InformaGon	
                                      Transient	
  InformaGon	
  
   •      Always	
  captured	
                                    •              Captured	
  if	
  Oracle	
  thinks	
  it	
  is	
  
   •      InformaJon	
  like	
  	
  SQL_TEXT,	
  	
                              necessary	
  
          disk	
  reads,	
  buffer	
  gets,	
  CPU	
               •              InformaJon	
  that	
  could	
  
          Jme,	
  elapsed	
  Jme,	
  	
  fetches,	
                              necessarily	
  change	
  like	
  
          ExecuJon	
  plan	
  ,	
  OpJmizer	
                                    dynamic	
  sampling,	
  degree	
  of	
  
          staJsJcs,	
  Bind	
  variables,	
  rows	
                              parallelism	
  
          processed	
  Use	
  of	
  Outlines,	
  SQL	
  
          profiles	
  or	
  SPM	
  and	
  metadata	
  
          and	
  user	
  profile.	
  
   •      Data	
  collecJon	
  is	
  opJonal	
  
   •      No	
  Support	
  for	
  DDL	
  
   	
  
                                                                  	
  	
  	
  




                                               The most comprehensive Oracle applications & technology content under one roof
Reproducing	
  SQL	
  Test	
  Cases	
  
•  How	
  to	
  implement	
  STB?	
  
   1.  Create	
  a	
  directory	
  or	
  use	
  exisJng	
  directory	
  
   2.  Export	
  	
  the	
  test	
  case	
  with	
  
       DBMS_SQLDIAG.EXPORT_SQL_TESTCASE	
  
   3.  Import	
  the	
  test	
  case	
  with	
  
       DBMS_SQLDIAG.IMPORT_SQL_TESTCASE	
  




                               The most comprehensive Oracle applications & technology content under one roof
Reproduce	
  SQL	
  Test	
  Cases	
  
                 SQL>	
  DECLARE	
  
                 	
  	
  2	
  	
  MYTESTCASE	
  CLOB;	
  
                 	
  	
  3	
  	
  BEGIN	
  
                 	
  	
  4	
  	
  DBMS_SQLDIAG.EXPORT_SQL_TESTCASE	
  (	
  
                 	
  	
  5	
  	
  DIRECTORY=>'DATADIR',	
  
•  Example	
     	
  	
  6	
  	
  SQL_TEXT=>'SELECT	
  DOMAINNAME	
  FROM	
  DOMAIN	
  
                                  	
   WHERE	
  DOMAINNAME=2703255',	
  

                 	
  	
  7	
  	
  EXPORTDATA=>	
  FALSE,	
  
                                  	
  

                 	
  	
  8	
  	
  TESTCASE_NAME=>'MYTEST',	
  
                 	
  	
  9	
  	
  TESTCASE=>MYTESTCASE);	
  
                 	
  10	
  END;	
  
                 	
  11	
  /	
  


                             The most comprehensive Oracle applications & technology content under one roof
SQL	
  Test	
  Case	
  Builder	
  
•  Dump	
  directory	
  files	
  created	
  by	
  SQL	
  TCB.	
  




                            The most comprehensive Oracle applications & technology content under one roof
Advanced	
  Compression	
  




         The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
•  With	
  huge	
  amounts	
  of	
  data	
  being	
  the	
  norm	
  than	
  
   excepJon	
  ,	
  compression	
  becomes	
  criJcal	
  in	
  reducing	
  
   the	
  foot	
  print	
  of	
  almost	
  every	
  component	
  	
  


           Buffer	
  Cache	
  
                                    Network	
  


               Database	
  	
  
                                                                                       Backup	
  Server	
  




                                  The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
In	
  11g,	
  there	
  is	
  compression	
  for	
  everyone	
  
•  Storage	
  
    –  OLTP	
  compression	
  for	
  DML	
  (Structured	
  Data)	
  
    –  SecureFiles	
  Compression	
  (Unstructured	
  Data)	
  
•  Network	
  
    –  Data	
  Guard	
  redo	
  Compression	
  
•  Backup	
  
    –  RMAN	
  compression	
  
    –  Data	
  pump	
  compression	
  


                               The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                           OLTP	
  Compression	
  
                                     	
  
•  New	
  compression	
  algorithm	
  uses	
  deferred	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  PCTFREE	
  	
  	
  	
  	
  
                                                                                                                   	
  	
  	
  	
  	
  	
  	
  	
  	
  
                                                                                                                  	
  
   or	
  batched	
  approach	
  	
  
        –  Data	
  is	
  inserted	
  as	
  is	
  without	
  compression	
  unJl	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  	
  DATA	
  
                                                                                                                                   	
  	
  	
  
           PCTFREE	
  	
  value	
  is	
  reached.	
  
        –  Compression	
  of	
  data	
  starts	
  once	
  PCTFREE	
  threshold	
  is	
  reached	
  
•     Can	
  be	
  enabled	
  at	
  	
  table,	
  parJJon	
  or	
  tablespace	
  level	
  
•     No	
  need	
  of	
  decompressing	
  the	
  data	
  while	
  reading	
  
•     Recommended	
  for	
  low	
  update	
  acJvity	
  tables	
  
•     Use	
  Compression	
  advisor(DBMS_COMPRESSION)	
  to	
  
      esJmate	
  savings	
  


                                                              The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                    Data	
  guard	
  Compression	
  	
  
	
  
•  Redo	
  is	
  compressed	
  as	
  it	
  is	
  transmifed	
  over	
  a	
  
     network.	
  
•  Helps	
  efficiently	
  uJlize	
  network	
  bandwidth	
  when	
  
     data	
  guard	
  	
  is	
  across	
  data	
  centers	
  
•  Faster	
  resynchronizaJon	
  of	
  Data	
  guard	
  	
  during	
  
     gap	
  resoluJon.	
  
•  Recommended	
  for	
  low	
  network	
  bandwidth	
  	
  
    	
  


                              The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                  Data	
  guard	
  Compression	
  
                                   	
  
•  How	
  to	
  implement?	
  
   –  Specify	
  	
  “COMPRESSION”	
  with	
  iniJalizaJon	
  
        parameter	
  LOG_ARCHIVE_DEST_n	
  
   	
  




                           The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                     RMAN	
  Compression	
  
                               	
  
•  Supports	
  compression	
  of	
  backups	
  using	
  ZLIB	
  
   algorithm	
  	
  
   –  Faster	
  compression	
  and	
  low	
  CPU	
  uJlizaJon	
  
      compared	
  to	
  default	
  BZIP2	
  (10g)	
  
   –  Low	
  compression	
  raJo	
  	
  compared	
  to	
  BZIP2	
  
          	
  
   	
  
                             The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                    RMAN	
  Compression	
  
•  How	
  to	
  Implement	
  ?	
  
   –  Configured	
  with	
  CONFIGURE	
  COMPRESSION	
  
      ALGORITHM	
  	
  ‘value’	
  
          •  With	
  Advanced	
  compression	
  ,	
  value	
  can	
  be	
  HIGH,	
  
             MEDIUM(ZLIP)	
  and	
  LOW(LZO)	
  
          •  Without	
  advanced	
  compression	
  ,	
  Only	
  basic	
  can	
  be	
  
             specified	
  
   –  Execute	
  backups	
  with	
  ‘AS	
  COMPRESSED	
  
      BACKUPSET’	
  

   	
                               The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                Data	
  Pump	
  Compression	
  
                                 	
  
•  Compression	
  of	
  metadata	
  introduced	
  in	
  10g	
  
•  Compression	
  of	
  data	
  introduced	
  in	
  11g.	
  
•  Inline	
  operaJon	
  
   –  Save	
  on	
  storage	
  allocaJon	
  
   –  No	
  need	
  to	
  uncompress	
  before	
  Import	
  
   	
  

                             The most comprehensive Oracle applications & technology content under one roof
ADVANCED	
  COMPRESSION	
  
                  Data	
  Pump	
  Compression	
  
                                  	
  
•  How	
  to	
  implement?	
  
   –  Enabled	
  with	
  expdp	
  COMPRESSION	
  afribute	
  
          •  ALL	
  	
  	
  
          •  DATA_ONLY	
  	
  
          •  METADATA_ONLY	
  	
  
   	
  


                               The most comprehensive Oracle applications & technology content under one roof
Diagnosing	
  and	
  resolving	
  
        failures	
  



           The most comprehensive Oracle applications & technology content under one roof
Diagnosing	
  and	
  Resolving	
  Failures	
  
•  Database	
  Recovery	
  advisor	
  (DRA)	
  
    –  Diagnosing	
  media	
  Failures	
  
    –  Present	
  repair	
  opJons	
  	
  (with	
  script)	
  
    –  Repair	
  failures	
  (if	
  requested)	
  
•  Doesn’t	
  mafer	
  if	
  	
  you	
  are	
  a	
  newbie	
  DBA	
  or	
  highly	
  
   experienced	
  DBA	
  
    –  When	
  in	
  doubt	
  ,	
  use	
  DRA.	
  
•  Now	
  you	
  can	
  blame	
  Oracle	
  if	
  the	
  something	
  goes	
  
   wrong.	
  	
  
    –  And	
  keep	
  your	
  Job,	
  write	
  a	
  blog	
  ……	
  


                                     The most comprehensive Oracle applications & technology content under one roof
Diagnosing	
  and	
  Resolving	
  Failures	
  
•  The	
  three	
  RMAN	
  commands	
  to	
  support	
  DRA	
  	
  
   1.  LIST	
  FAILURE	
  
       •    Errors	
  are	
  classified	
  as	
  Low,	
  High,	
  CriJcal              	
  	
  
       •    Historical	
  support	
  	
  for	
  closed	
  errors.	
  
   2.  ADVISE	
  FAILURE	
  
       •    Specifies	
  the	
  repair	
  strategy	
  
       •    Supports	
  both	
  manual	
  and	
  automated	
  repair	
  opJons	
  
   3.  REPAIR	
  FAILURE	
  
       •    Supports	
  preview	
  mode	
  (spooling	
  the	
  script)	
  



                                  The most comprehensive Oracle applications & technology content under one roof
MulGsecGon	
  Backups	
  




        The most comprehensive Oracle applications & technology content under one roof
MulJsecJon	
  Backups	
  
•  Enables	
  backing	
  up	
  of	
  single	
  datafile	
  in	
  parallel	
  
   using	
  secJons	
  
    –  SecJon	
  is	
  conJguous	
  range	
  of	
  blocks	
  in	
  a	
  datafile	
  
•  Up	
  to	
  256	
  SecJons	
  or	
  channels	
  per	
  datafile	
  is	
  
   supported	
  
•  MulJplexed	
  backups	
  will	
  not	
  contain	
  datafiles	
  
   or	
  secJons	
  from	
  other	
  datafiles.	
  


                                 The most comprehensive Oracle applications & technology content under one roof
MulJsecJon	
  Backups	
  
•  Benefits	
  
   –  Improved	
  performance	
  for	
  backup	
  and	
  restore.	
  
       •  Befer	
  performance	
  when	
  restoring	
  one	
  	
  datafile	
  
          compared	
  to	
  restoring	
  from	
  large	
  mulJplexed	
  backup	
  
          set	
  
   –  Befer	
  restartability.	
  
       •  Restart	
  the	
  failed	
  secJon	
  backup	
  instead	
  of	
  datafile	
  




                                  The most comprehensive Oracle applications & technology content under one roof
MulJsecJon	
  Backups	
  




        The most comprehensive Oracle applications & technology content under one roof
MulJsecJon	
  Backups	
  




        The most comprehensive Oracle applications & technology content under one roof
MulJsecJon	
  Backups	
  




        The most comprehensive Oracle applications & technology content under one roof
DATABASE	
  RESIDENT	
  
CONNECTION	
  POOL	
  



        The most comprehensive Oracle applications & technology content under one roof
DATABASE	
  RESIDENT	
  CONNECTION	
  POOL	
  
                                                	
  
•  Shared	
  Server	
  or	
  MTS	
  
    –  Session	
  Resources	
  are	
  not	
  shared	
  
    –  Good	
  for	
  long	
  running	
  transacJons	
  
•  Database	
  resident	
  connecJon	
  pool(DRCP)	
  
    –  To	
  support	
  	
  large	
  number	
  of	
  	
  similar	
  client	
  
       applicaJons	
  or	
  connecJons	
  
    –  	
  Share	
  or	
  reuse	
  sessions.	
  
    –  TransacJons	
  are	
  very	
  short	
  in	
  nature	
  
    –  No	
  Session	
  affinity	
  is	
  required	
  


                                      The most comprehensive Oracle applications & technology content under one roof
DATABASE	
  RESIDENT	
  CONNECTION	
  POOL	
  
                    	
  
•  DRCP	
  is	
  mainly	
  intended	
  for	
  single	
  threaded	
  applicaJons	
  
   like	
  PHP	
  ,	
  PERL	
  
    –  Currently	
  available	
  to	
  clients	
  that	
  use	
  the	
  OCI	
  driver	
  with	
  C,	
  C++,	
  
       Perl	
  and	
  PHP.	
  
    –  No	
  support	
  for	
  JDBC	
  thin	
  or	
  JDBC-­‐OCI.	
  
•  More	
  database	
  connecJons	
  are	
  supported	
  compared	
  to	
  	
  
   shared	
  server	
  or	
  dedicated	
  server	
  configuraJon	
  	
  
    –  Less	
  	
  memory	
  foot	
  print	
  
    –  Behaves	
  more	
  like	
  dedicated	
  server	
  connecJon	
  once	
  the	
  
       connecJon	
  is	
  established.	
  
       	
  
       	
  
       	
  

    	
  
                                          The most comprehensive Oracle applications & technology content under one roof
Database	
  Resident	
  ConnecGon	
  Pool	
  
                     	
  
•  Working	
  of	
  DRCP	
  
   1.  Client	
  makes	
  a	
  request	
  for	
  connecJon	
  
   2.  Background	
  process	
  connecJon	
  broker	
  picks	
  up	
  
       appropriate	
  pooled	
  server	
  and	
  hands-­‐off	
  the	
  
       client	
  to	
  that	
  pooled	
  server.	
  	
  
   3.  Once	
  connecJon	
  is	
  handed-­‐off,	
  	
  the	
  client	
  
       directly	
  communicates	
  with	
  the	
  pooled	
  server	
  
   4.  The	
  pooled	
  server	
  is	
  handed	
  back	
  to	
  the	
  broker	
  
       when	
  the	
  client	
  releases	
  it.	
  


                               The most comprehensive Oracle applications & technology content under one roof
DATABASE	
  RESIDENT	
  CONNECTION	
  POOL	
  

•  Working	
  of	
  DRCP	
  


                  	
  PGA	
          ConnecGon	
                          Clients/Middle	
  Ger	
  
             POOLED	
  SERVERS	
       	
  Broker	
                   	
  
      	
  




                                          The most comprehensive Oracle applications & technology content under one roof
DATABASE	
  RESIDENT	
  CONNECTION	
  POOL	
  

•  How	
  to	
  configure?	
  
    –  Start	
  the	
  pool	
  with	
  	
  
       DBMS_CONNECTION_POOL.START_POOL();	
  	
  
    –  Add	
  (SERVER	
  =	
  POOLED)	
  	
  to	
  TNS	
  entry 	
  	
  
    –  You	
  can	
  also	
  use	
  the	
  following	
  syntax	
  for	
  PHP	
  	
  
         •  oci_pconnect(“userid",	
  “pwd",	
  “hostname:1526/orcl:POOLED");	
  
    –  Pool	
  can	
  be	
  stopped	
  with	
  	
  
       DBMS_CONNECTION_POOL.STOP_POOL();	
  
    –  Pool	
  properJes	
  like	
  minimum	
  and	
  maximum	
  number	
  of	
  
       pooled	
  servers	
  ,	
  	
  maximum	
  inacJvity	
  Jme	
  etc.	
  can	
  be	
  
       specified	
  with	
  DBMS_CONNECTION_POOL	
  .	
  
       CONFIGURE_POOL	
  	
  package	
  


                                        The most comprehensive Oracle applications & technology content under one roof
Server	
  ConsolidaGon	
  




        The most comprehensive Oracle applications & technology content under one roof
Server	
  ConsolidaJon	
  
•  Very	
  simple	
  and	
  effecJve	
  approach	
  to	
  Server	
  
   ConsolidaJon	
  
•  Limit	
  the	
  CPU	
  used	
  by	
  an	
  Instance	
  
    –  Works	
  by	
  limiJng	
  the	
  number	
  of	
  runnable	
  processes	
  
•  Administered	
  	
  and	
  maintained	
  by	
  DBA	
  instead	
  of	
  
   SA’s	
  
•  Supports	
  over-­‐provisioning	
  
•  Will	
  not	
  help	
  with	
  licensing	
  if	
  your	
  server	
  has	
  
   more	
  CPU’s	
  (At	
  least	
  for	
  now,	
  please	
  check	
  with	
  	
  
   Oracle)	
  

                                 The most comprehensive Oracle applications & technology content under one roof
Server	
  ConsolidaJon	
  
•  How	
  to	
  enable	
  instance	
  caging?	
  
   –  Enable	
  the	
  Resource	
  Manager.	
  
       •  ALTER	
  SYSTEM	
  SET	
  RESOURCE_MANAGER_PLAN	
  =	
  
          ‘DEFAULT_PLAN;	
  
   –  Set	
  the	
  CPU_COUNT	
  iniJalizaJon	
  parameter.	
  	
  
       •  ALTER	
  SYSTEM	
  SET	
  CPU_COUNT	
  =	
  2;	
  




                                The most comprehensive Oracle applications & technology content under one roof
Server	
  ConsolidaJon	
  
•  What	
  is	
  the	
  secret	
  formula?	
  
    –  CPU_COUNT/Total	
  number	
  of	
  acJve	
  	
  instances	
  
•  Example:	
  8	
  CPU	
  server	
  with	
  4	
  instances	
  
    –  Each	
  instance	
  	
  is	
  limited	
  to	
  2	
  CPU(CPU_COUNT)	
  
    –  CASE-­‐1:	
  If	
  all	
  4	
  instances	
  are	
  acJve	
  
         •  Each	
  instance	
  gets	
  2/(4*2)	
  =25%	
  of	
  Total	
  CPU	
  
    –  CASE-­‐2:	
  If	
  2	
  instances	
  are	
  acJve	
  
         •  Each	
  instance	
  gets	
  2/(2*2)	
  =	
  50%	
  of	
  Total	
  CPU	
  
         	
  

                                      The most comprehensive Oracle applications & technology content under one roof
SQL*Plus	
  Error	
  Logging	
  




          The most comprehensive Oracle applications & technology content under one roof
SQL*Plus	
  Error	
  Logging	
  
•  Records	
  SQL,	
  PL/SQL	
  and	
  SQL*Plus	
  errors	
  in	
  an	
  
   error	
  table	
  	
  
     –  Default	
  table	
  is	
  SPERRORLOG;	
  	
  
     –  Created	
  automaJcally	
  if	
  the	
  table	
  does	
  not	
  exists	
  
•  Captures	
  errors	
  that	
  are	
  not	
  SQL	
  too.	
  
     –  SELCT	
  instead	
  of	
  SELECT	
  
•  This	
  is	
  SQL*Plus	
  feature	
  and	
  works	
  with	
  older	
  
   versions	
  of	
  Oracle	
  database	
  
     –  Only	
  the	
  clients	
  must	
  be	
  11g	
  or	
  above	
  
•  Is	
  it	
  Jme	
  to	
  say	
  bye	
  bye	
  to	
  spooling,	
  Wait	
  not	
  yet	
  


     	
                               The most comprehensive Oracle applications & technology content under one roof
SQL*Plus	
  Error	
  Logging	
  
•  All	
  you	
  have	
  to	
  do	
  is	
  type	
  “SET	
  ERRORLOGGING	
  
   ON”	
  	
  
•  Allows	
  you	
  to	
  idenJfy	
  the	
  session	
  with	
  idenJfier	
  
    –  	
  SET	
  ERRORLOGGING	
  ON	
  	
  IDENTIFIER	
  ‘Core-­‐Release	
  2.3’	
  
•  Allows	
  use	
  of	
  user-­‐defined	
  table	
  
   •  SET	
  ERRORLOGGING	
  ON	
  	
  TABLE	
  	
  scof.errorlog	
  
•  Allows	
  truncaJng	
  of	
  tables	
  before	
  capturing	
  
   errors	
  
    –  SET	
  ERRORLOGGING	
  ON	
  TRUNCATE	
  
    	
  

                                     The most comprehensive Oracle applications & technology content under one roof
SQL*Plus	
  Error	
  Logging	
  




          The most comprehensive Oracle applications & technology content under one roof
Preprocessor	
  




   The most comprehensive Oracle applications & technology content under one roof
Oracle	
  Preprocessor	
  
•  Provides	
  the	
  ability	
  to	
  preprocess	
  your	
  data	
  
   before	
  sending	
  to	
  Oracle	
  external	
  drivers	
  
    –  Reduced	
  disk	
  space	
  consumpJon	
  and	
  faster	
  
       processing	
  Jme.	
  
    –  Adds	
  befer	
  control	
  and	
  	
  flexibility	
  	
  to	
  external	
  
       tables	
  




                                  The most comprehensive Oracle applications & technology content under one roof
Oracle	
  Preprocessor	
  
•  Supports	
  OS	
  commands,	
  	
  binaries	
  and	
  scripts	
  
•  Supports	
  parallelism	
  
    –  File	
  is	
  granular	
  unit	
  for	
  parallelism.	
  
•  Back	
  ported	
  to	
  10.2.0.5	
  
•  Other	
  uses	
  
    –  For	
  SQL	
  lovers	
  ,	
  run	
  vmstat	
  ,	
  df	
  –k	
  or	
  sar	
  report	
  from	
  
       SQL	
  prompt.	
  
•  CauJon	
  
    –  Restrict	
  access	
  to	
  preprocessor	
  	
  directory	
  


                                        The most comprehensive Oracle applications & technology content under one roof
Oracle	
  Preprocessor	
  




        The most comprehensive Oracle applications & technology content under one roof
References	
  
•    Oracle	
  DocumentaJon	
  
•    Oracle	
  Metalink	
  
•    asktom.oracle.com	
  
•    OTN	
  ArJcles	
  
•    hfp://opJmizermagic.blogspot.com	
  
•    hfp://kkempf.wordpress.com	
  
•    hfp://php.net/manual/en/oci8.connecJon.php	
  
•    And	
  many	
  more	
  …..	
  


                       The most comprehensive Oracle applications & technology content under one roof

Mais conteúdo relacionado

Mais procurados

A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2Dobler Consulting
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudAlex Zaballa
 
PDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationPDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationLeighton Nelson
 
Making MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureIlmar Kerm
 
Hive2.0 big dataspain-nov-2016
Hive2.0 big dataspain-nov-2016Hive2.0 big dataspain-nov-2016
Hive2.0 big dataspain-nov-2016alanfgates
 
Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015aioughydchapter
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloudJS Park
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalAjith Narayanan
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessOracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessEd Burns
 
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseeProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseMarco Gralike
 
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...Andrejs Karpovs
 
Oracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid CloudOracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid Cloudjobacle
 
Oracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresOracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresMaarten Smeets
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Leighton Nelson
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Kamalesh Ramasamy
 
Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019   Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019 Alfredo Krieg
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACMarkus Michalewicz
 
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUG
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUGWhere did my day go?: OEM 12c Administration #em12c #C15LV @IOUG
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUGAlfredo Krieg
 

Mais procurados (20)

A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
A Practitioner's Guide to Successfully Migrate from Oracle to Sybase ASE Part 2
 
Indexes overview
Indexes overviewIndexes overview
Indexes overview
 
Moving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle CloudMoving your Oracle Databases to the Oracle Cloud
Moving your Oracle Databases to the Oracle Cloud
 
PDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service ApplicationPDB Provisioning with Oracle Multitenant Self Service Application
PDB Provisioning with Oracle Multitenant Self Service Application
 
Making MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid InfrastructureMaking MySQL highly available using Oracle Grid Infrastructure
Making MySQL highly available using Oracle Grid Infrastructure
 
Hive2.0 big dataspain-nov-2016
Hive2.0 big dataspain-nov-2016Hive2.0 big dataspain-nov-2016
Hive2.0 big dataspain-nov-2016
 
Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015Aman sharma hyd_12crac High Availability Day 2015
Aman sharma hyd_12crac High Availability Day 2015
 
Foundation for optimized data center & private cloud
Foundation for optimized data center & private cloudFoundation for optimized data center & private cloud
Foundation for optimized data center & private cloud
 
How oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 finalHow oracle 12c flexes its muscles against oracle 11g r2 final
How oracle 12c flexes its muscles against oracle 11g r2 final
 
Oracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with LessOracle WebLogic Server 12.2.1 Do More with Less
Oracle WebLogic Server 12.2.1 Do More with Less
 
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 DatabaseeProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
eProseed Oracle Open World 2016 debrief - Oracle 12.2.0.1 Database
 
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
Lessons Learnt from Oracle Unified Directory implementation with Oracle E-Bus...
 
Oracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid CloudOracle Enterprise Manager 13C and Hybrid Cloud
Oracle Enterprise Manager 13C and Hybrid Cloud
 
Oracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new featuresOracle SOA Suite 12.2.1 new features
Oracle SOA Suite 12.2.1 new features
 
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
Oracle Enteprise Manager Cloud Control 12c - Setting Up Metrics and Monitorin...
 
Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020Oracle ZDM KamaleshRamasamy Sangam2020
Oracle ZDM KamaleshRamasamy Sangam2020
 
Zero Downtime Migration
Zero Downtime MigrationZero Downtime Migration
Zero Downtime Migration
 
Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019   Simplifying EBS 12.2 ADOP - Collaborate 2019
Simplifying EBS 12.2 ADOP - Collaborate 2019
 
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RACThe Top 5 Reasons to Deploy Your Applications on Oracle RAC
The Top 5 Reasons to Deploy Your Applications on Oracle RAC
 
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUG
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUGWhere did my day go?: OEM 12c Administration #em12c #C15LV @IOUG
Where did my day go?: OEM 12c Administration #em12c #C15LV @IOUG
 

Destaque

Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...InSync2011
 
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...InSync2011
 
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...InSync2011
 
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...InSync2011
 
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...InSync2011
 
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...InSync2011
 
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...InSync2011
 
Oracle Security Presentation
Oracle Security PresentationOracle Security Presentation
Oracle Security PresentationFrancisco Alvarez
 

Destaque (8)

Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
Databse & Technology 2 _ Francisco Munoz alvarez _ 11g new functionalities fo...
 
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...
Database & Technology 1 _ Clancy Bufton _ Flashback Query - oracle total reca...
 
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
Databse & Technology 2 _ Paul Guerin _ The biggest looser database - a boot c...
 
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...
Developer and Fusion Middleware 1 _ Kevin Powe _ Log files - a wealth of fore...
 
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...
Developer and Fusion Middleware 2 _Greg Kirkendall _ How Australia Post teach...
 
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
Developer & Fusion Middleware 2 _ Scott Robertson _ SOA, Portals and Enterpri...
 
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...
Databse & Technology 2 _ Francisco Munoz Alvarez _ Oracle Security Tips - Som...
 
Oracle Security Presentation
Oracle Security PresentationOracle Security Presentation
Oracle Security Presentation
 

Semelhante a Databse & Technology 2 _ Shan Nawaz _ Oracle 11g Top 10 features - not your usual Top 10.pdf

Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...
Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...
Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...InSync2011
 
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdf
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdfDatabase & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdf
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdfInSync2011
 
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)sheriframadan18
 
Exalogic Technical Overview
Exalogic Technical OverviewExalogic Technical Overview
Exalogic Technical OverviewAndrey Akulov
 
Exploring plsql new features best practices september 2013
Exploring plsql new features best practices   september 2013Exploring plsql new features best practices   september 2013
Exploring plsql new features best practices september 2013Andrejs Vorobjovs
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resumeMaruthi YH
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cSatishbabu Gunukula
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Bobby Curtis
 
Oracle Cloud Overview - Day1 (1)-converted.pptx
Oracle Cloud Overview - Day1 (1)-converted.pptxOracle Cloud Overview - Day1 (1)-converted.pptx
Oracle Cloud Overview - Day1 (1)-converted.pptxDhanaraajDevelopers
 
Resume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_UpdatedResume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_UpdatedMohammed Ali
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?Markus Michalewicz
 
Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic OverviewPeter Doolan
 
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...cscpconf
 
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...InSync2011
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...Insight Technology, Inc.
 
Application express
Application expressApplication express
Application expressAntony Alex
 
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...BobBullman
 
MV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-clickMV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-clickRuggero Citton
 

Semelhante a Databse & Technology 2 _ Shan Nawaz _ Oracle 11g Top 10 features - not your usual Top 10.pdf (20)

Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...
Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...
Developer & Fusion Middleware 1 _ Frank Munz _ Fusion and Middleware Cloud Se...
 
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdf
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdfDatabase & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdf
Database & Technology 1 _ Milina Ristic _ Why use oracle data guard.pdf
 
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
Step-by-Step: APEX Installation on Tomcat (Windows Server 2016)
 
Exalogic Technical Overview
Exalogic Technical OverviewExalogic Technical Overview
Exalogic Technical Overview
 
Exploring plsql new features best practices september 2013
Exploring plsql new features best practices   september 2013Exploring plsql new features best practices   september 2013
Exploring plsql new features best practices september 2013
 
Maruthi_YH_resume
Maruthi_YH_resumeMaruthi_YH_resume
Maruthi_YH_resume
 
One database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12cOne database solution for your enterprise business - Oracle 12c
One database solution for your enterprise business - Oracle 12c
 
Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)Database As A Service: OEM + ODA (OOW 15 Presentation)
Database As A Service: OEM + ODA (OOW 15 Presentation)
 
Oracle Cloud Overview - Day1 (1)-converted.pptx
Oracle Cloud Overview - Day1 (1)-converted.pptxOracle Cloud Overview - Day1 (1)-converted.pptx
Oracle Cloud Overview - Day1 (1)-converted.pptx
 
Resume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_UpdatedResume_Mohammed_Ali_Updated
Resume_Mohammed_Ali_Updated
 
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
AskTom: How to Make and Test Your Application "Oracle RAC Ready"?
 
Oracle ExaLogic Overview
Oracle ExaLogic OverviewOracle ExaLogic Overview
Oracle ExaLogic Overview
 
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
MIGRATION OF AN OLTP SYSTEM FROM ORACLE TO MYSQL AND COMPARATIVE PERFORMANCE ...
 
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...
Developer and Fusion Middleware 1 | Mark Lancaster | Building advanced APEX 4...
 
I one Service Offerings
I one Service OfferingsI one Service Offerings
I one Service Offerings
 
Apex day 1.0 fastest route to cloud sept 2015_julian lane
Apex day 1.0 fastest route to cloud sept 2015_julian laneApex day 1.0 fastest route to cloud sept 2015_julian lane
Apex day 1.0 fastest route to cloud sept 2015_julian lane
 
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
[db tech showcase Tokyo 2018] #dbts2018 #B31 『1,2,3 and Done! 3 easy ways to ...
 
Application express
Application expressApplication express
Application express
 
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
Cloud Applications SCM20181111.pptxOATUG MEMBERS SHARE THE VALUE OF THEIR MEM...
 
MV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-clickMV2ADB - Move to Oracle Autonomous Database in One-click
MV2ADB - Move to Oracle Autonomous Database in One-click
 

Mais de InSync2011

New & Emerging _ KrisDowney _ Simplifying the Change Process.pdf
New & Emerging _ KrisDowney _ Simplifying the Change Process.pdfNew & Emerging _ KrisDowney _ Simplifying the Change Process.pdf
New & Emerging _ KrisDowney _ Simplifying the Change Process.pdfInSync2011
 
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdf
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdfOracle Systems _ Kevin McIsaac _The IT landscape has changed.pdf
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdfInSync2011
 
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdf
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdfReporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdf
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdfInSync2011
 
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...InSync2011
 
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...InSync2011
 
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...InSync2011
 
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...InSync2011
 
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...InSync2011
 
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdf
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdfDatabase & Technology 1 _ Tom Kyte _ SQL Techniques.pdf
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdfInSync2011
 
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...InSync2011
 
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...InSync2011
 
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...InSync2011
 
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...InSync2011
 
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...InSync2011
 
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...InSync2011
 
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdf
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdfOracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdf
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdfInSync2011
 
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...InSync2011
 
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdf
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdfReporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdf
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdfInSync2011
 
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...InSync2011
 
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...InSync2011
 

Mais de InSync2011 (20)

New & Emerging _ KrisDowney _ Simplifying the Change Process.pdf
New & Emerging _ KrisDowney _ Simplifying the Change Process.pdfNew & Emerging _ KrisDowney _ Simplifying the Change Process.pdf
New & Emerging _ KrisDowney _ Simplifying the Change Process.pdf
 
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdf
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdfOracle Systems _ Kevin McIsaac _The IT landscape has changed.pdf
Oracle Systems _ Kevin McIsaac _The IT landscape has changed.pdf
 
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdf
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdfReporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdf
Reporting _ Scott Tunbridge _ Op Mgmt to Perf Excel.pdf
 
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...
Developer and Fusion Middleware 2 _ Scott Robertson _ SOA, portals and entepr...
 
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...
Primavera _ Loretta Bayliss _ Implementing EPPM in rapidly changing and compe...
 
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...
Database & Technology 1 _ Martin Power _ Delivering Oracles hight availabilit...
 
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...
Database & Technology 1 _ Craig Shallahamer _ Unit of work time based perform...
 
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...
Database & Technology 1 _ Marcelle Kratchvil _ Why you should be storing unst...
 
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdf
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdfDatabase & Technology 1 _ Tom Kyte _ SQL Techniques.pdf
Database & Technology 1 _ Tom Kyte _ SQL Techniques.pdf
 
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
Databse & Technology 2 | Connor McDonald | Managing Optimiser Statistics - A ...
 
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...
Developer and Fusion Middleware 2 _ Aaron Blishen _ Event driven SOA Integrat...
 
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...
Developer and Fusion Middleware 1 _ Paul Ricketts _ Paper Process Automation ...
 
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
Developer and Fusion Middleware 1 | Mark Nelson | Continuous Integration for ...
 
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...
Developer and Fusion Middleware 2 _Alex Peattie _ An introduction to Oracle S...
 
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...
Developer and Fusion Middleware 1 _ Christian Ledwidge _ Application Performa...
 
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdf
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdfOracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdf
Oracle Systems _ Jeff Schwartz _ Engineering Solutions Exadata - Exalogic.pdf
 
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...
Oracle Systems _ David Baker _ Best Practices for Simplifying Implementation ...
 
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdf
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdfReporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdf
Reporting _ Marty Engel _ Oracle's strategy and road map for Hyperion.pdf
 
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...
Reporting _ Darrell Hawkes _ Operational Information - The Business Case for ...
 
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...
Oracle Systems _ Tony Jambu _ Exadata The Facts and Myths behing a proof of c...
 

Databse & Technology 2 _ Shan Nawaz _ Oracle 11g Top 10 features - not your usual Top 10.pdf

  • 1. Oracle11g  Top  10  features   Not  your  usual  Top  10.   Shan  Nawaz   Verisign  Inc   The most comprehensive Oracle applications & technology content under one roof
  • 2. WHO  AM  I     •  Shan  Nawaz   –  More  than  13  years  of  experience  in  Database  Technologies(Oracle,  DB2,  SQL   Server)   •  Database  Engineer  at  Verisign   –  Tune  mission  criJcal  applicaJons  with  millisecond  SLA’s   •  Industry  CerJficaJons   –  OCP  in  Oracle7.3/8/9i/10g/11g   –  IBM  CerJfied  User  specialist  in  DB2   –  MCP  in  SQL  Server  2000   •  Recent/Future  Technical  Sessions   –  Oracle  Open  World  2011   –  Hotsos  2011   –  IOUG  2011   –  Oracle  Open  World  2010   –  Verisign  Technical  Symposium    2009   The most comprehensive Oracle applications & technology content under one roof
  • 3. Agenda   •  About  Verisign  and  Our  SLA’s   •  Not    your  usual  Top  10  features   •  QA   •  References   The most comprehensive Oracle applications & technology content under one roof
  • 4. Our  SLA’s   •  TransacJons  made  of  complex  SQL   statements   Command   SLA   CHECK  DOMAIN   25ms   ADD  DOMAIN   50ms   DELETE  DOMAIN   100ms   MODIFY  DOMAIN   100ms   The most comprehensive Oracle applications & technology content under one roof
  • 5. Goal/MoJvaJon  of  this  PresentaJon   •  To  visit  Australia   •  To  talk  about  the  very  good   features  of  Oracle11g  that  are   overlooked  by  the   very  best   features  of  Oracle  11g   The most comprehensive Oracle applications & technology content under one roof
  • 6. Very  Best  Features   1.  Database  Replay   2.  AdapGve  Cursor  Sharing   3.  Flashback  Data  Archive/Total  Recall   4.  EdiGon  Based  redefiniGon   5.  Deferred  segment  creaGon     6.  Password  Enhancements   7.  SQL  Plan  Management   8.  Result  Cache   9.  Virtual  Indexes/Columns   10.  Interval/System  ParGGoning     11.  Extended  OpGmizer  StaGsGcs   12.  Online  Patching   13.  Recursive  With  clause   14.  PL/SQL  NaGve  CompilaGon   15.  Secure  Files   The most comprehensive Oracle applications & technology content under one roof
  • 7. Poor  man’s  parallelism   The most comprehensive Oracle applications & technology content under one roof
  • 8. Poor  man’s  parallelism   DBMS_PARALLEL_EXECUTE       •  Supports  parallel  update  of  large  data  sets  in   smaller  chunks.   •  Chunks    are  created  by  segregaJng  the  data   based  on     1.  Rowid       2.  Numeric  column     3.  User-­‐defined  SQL.       The most comprehensive Oracle applications & technology content under one roof
  • 9. Poor  man’s  parallelism   •  Why  is  DBMS_PARALLEL_EXECUTE   important  ?   –  Unlike  other  parallel  features  ,   DBMS_PARALLEL_EXECUTE    does  not  require   Enterprise  EdiJon.   –  Eliminates  much  of  manual  coding  and  does   befer    job  of  distribuJng  load    uniformly  across   parallel  processes   –  Overcome  restricJons  of  parallel  DML       The most comprehensive Oracle applications & technology content under one roof
  • 10. Poor  man’s  parallelism   •  Why  is  DBMS_PARALLEL_EXECUTE  important  ?   (ConJnued)   –  Break  large  single  transacJon  into  mulJple  chunks   (transacJons)   •  Less  impact  to  dependent  systems  like  Golden  Gate  or   streams   •  Less  undo  space  required    minimizing  the  chance  of   ORA-­‐1555   •  DuraJon  of  lock  is  reduced.   –  Restart    failed  chunks  (transacJons)  since  Chunks  are   commifed  individually  (Implicit)   •  Impact  of  Rollback  due  to  error  is  not  severe.   The most comprehensive Oracle applications & technology content under one roof
  • 11. Poor  man’s  parallelism   DBMS_PARALLEL_EXECUTE       •  How  to  implement?   1.  Create  a  task  with  CREATE_TASK  procedure   2.  Create  chunks  (size)  using  one  of  the  following.     –  CREATE_CHUNKS_BY_ROWID   –  CREATE_CHUNKS_BY_NUMBER_COL     –  CREATE_CHUNKS_BY_SQL     3.  Define  the  DML  statement   4.  Execute  the  task  in  parallel  with  RUN_TASK   5.  Perform  error  handling  and  run  failed  chunks  with   RESUME_TASK.   The most comprehensive Oracle applications & technology content under one roof
  • 12. Poor  man’s  parallelism   Create  a  task  with  CREATE_TASK     BEGIN      DBMS_PARALLEL_EXECUTE.CREATE_TASK  (TASK_NAME  =>  'UPDATE_TASK');      END;   Create  chunks  with  ROWID.       BEGIN      DBMS_PARALLEL_EXECUTE.CREATE_CHUNKS_BY_ROWID(TASK_NAME    =>  'UPDATE_TASK‘,  TABLE_OWNER     =>  'SCOTT‘,  TABLE_NAME  =>  'CONTENT‘,  BY_ROW=>    FALSE,  CHUNK_SIZE    =>    3075);  END;   Define  the  Update  statement  and  running  the  task     DECLARE      L_SQL_STMT  VARCHAR2(32767);   BEGIN      L_SQL_STMT  :=  'UPDATE  /*+  ROWID  (DDA)  */    CONTENT  SET        EXPIRATION_DATE=  SYSDATE+14                                    WHERE  ROWID  BETWEEN  :START_ID  AND  :END_ID';      DBMS_PARALLEL_EXECUTE.RUN_TASK(TASK_NAME  =>  'UPDATE_TASK‘,SQL_STMT=>  L_SQL_STMT,LANGUAGE_FLAG      =>  DBMS_SQL.NATIVE,PARALLEL_LEVEL=>  4);      END;   The most comprehensive Oracle applications & technology content under one roof
  • 13. Compare  and  Converge   The most comprehensive Oracle applications & technology content under one roof
  • 14. Compare  and  Converge   DBMS_COMPARISON     •  IdenJfy  differences  between  data  sets    across   databases  or  same  database.   •  Report  and  Synchronize  the  data  set     –  Either  the  source  or  target    can  act  as  master.   •  Intended  mainly  for  replicated/streams  environment   but  can  be  used  outside  of  streams  environment   •  Works  with  10g  and  above  version  provided  one  the   databases  in  the  comparison  is  11g;     The most comprehensive Oracle applications & technology content under one roof
  • 15. Compare  and  Converge   •  Comparison  Modes  Supported   1.  Full  Object  comparison   •  CMP_SCAN_MODE_FULL   2.  Random  data  comparison   •  CMP_SCAN_MODE_RANDOM   3.  Cyclic  Comparison   •  CMP_SCAN_MODE_CYCLIC     4.  Customized  comparison   •  CMP_SCAN_MODE_CUSTOM     The most comprehensive Oracle applications & technology content under one roof
  • 16. Compare  and  Converge   •  Objects  currently  supported  are   –  Tables   –  Single  Table  Views   –  Materialize  Views   –  Synonyms  for  above  objects   •  Unique  Indexes    are  used  for  comparison   –  Non-­‐Unique  indexes  are  used  if  specified  manually   •  Permits  comparing  row-­‐row  OR  group  of  rows   –  Befer  performance  with  group  of  rows   The most comprehensive Oracle applications & technology content under one roof
  • 17. Compare  and  Converge   •  Steps   1.  Create  comparison  object   2.  Perform  the  comparison   3.  Analyze  the  results   4.  Converge  the  data   The most comprehensive Oracle applications & technology content under one roof
  • 18. Compare  and  Converge   SQL>  SELECT  COUNT(*)  FROM   SQL>  SELECT  COUNT(*)  FROM   CONTENT_1;   CONTENT_2;           COUNT(*)      COUNT(*)   -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐   -­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐-­‐                  10                  10         SQL>  DELETE  FROM  CONTENT_2              2        WHERE  ITEM_ID=484380;         1  row  deleted.     SQL>  COMMIT;       The most comprehensive Oracle applications & technology content under one roof
  • 19. Compare  and  Converge   SQL>    DECLARE      2              COMPARE_VALUE   DBMS_COMPARISON.COMPARISON_TYPE;   Create  Comparison  Object      3              COMPARE_OUTPUT  BOOLEAN;   SQL>  BEGIN      4    BEGIN      2    DBMS_COMPARISON.CREATE_COMPARISON(      5              COMPARE_OUTPUT  :=      6              DBMS_COMPARISON.COMPARE  (      3    COMPARISON_NAME=>'MYCOMPARE',      7              COMPARISON_NAME=>'MYCOMPARE',      4    SCHEMA_NAME=>'SCOTT',      8              SCAN_INFO=>COMPARE_VALUE,      5    OBJECT_NAME=>'CONTENT_1',      9              PERFORM_ROW_DIF=>TRUE);      6    DBLINK_NAME=>NULL,    10              IF  COMPARE_OUTPUT=TRUE      7    REMOTE_SCHEMA_NAME=>'SCOTT',    11              THEN      8    REMOTE_OBJECT_NAME=>'CONTENT_2');    12                        DBMS_OUTPUT.PUT_LINE('Tables  are  IdenGcal');      9    END;    13              ELSE    10    /        14                        DBMS_OUTPUT.PUT_LINE('Tables  are  not  IdenGcal’);      15              END  IF;   PL/SQL  procedure  successfully  completed.    16*  END;    17    /   Tables  are  not  IdenJcal,  Differences  Exist     PL/SQL  procedure  successfully  completed.   The most comprehensive Oracle applications & technology content under one roof
  • 20. Reproducing  SQL  Test  Case     The most comprehensive Oracle applications & technology content under one roof
  • 21. Reproducing  SQL  Test  Cases   •  Remember  the  Jmes  you  were  unable  to  resolve     SQL  issue   •  Because   –  You  are  unable  to  reproduce  the  issue    at  will  in   producJon  environment.   –  Or  Unable  to  reproduce  the  issue  easily  in  Dev/QA   environments.  (Recurring  issue)   –  Or  Oracle  support  was  unable  to  help  you  because   they  don’t  have  the  necessary  informaJon  to     reproduce  the  issue   The most comprehensive Oracle applications & technology content under one roof
  • 22. Reproducing  SQL  Test  Cases   •  Help  is  on  the  way   •  Oracle  11g  provides  a  tool  called  SQL  Test  case   builder  or  SQL  TCB.   –  As  per  Oracle  documentaJon,  If  you  ever  need  to   contact  Oracle  Support  about  a  SQL  issue,  then   obtaining  a  reproducible  test  case  is  the  single  most   important  factor  to  ensure  a  speedy  resoluJon.     •  Provides  as  means  of  good  shared  language  for   exchanging  informaJon  with  Oracle  Support  or   DBA’s  or  developers.   –  Easy  to    diagnose  ,  analyze  and  esJmate  the  fix.   •  Back  ported  to  10.2.0.4     The most comprehensive Oracle applications & technology content under one roof
  • 23. Reproducing  SQL  Test  Cases   •  Test  case  can  be  generated      using   1.  SQL  text     2.  SQL  cursor   3.  SQL  from  incident  file   •  SQL  TCB  can  be  also  be  directly  with  ADRCI   command   –  DDE  EXECUTE  ACTION  INCIDENT  <incident_id>   ACTIONNAME  SQLTCB  INVOCATION   <invocaJon_id>   The most comprehensive Oracle applications & technology content under one roof
  • 24. Reproducing  SQL  Test  Cases   •  What  kind  of  data  is  collected?   Permanent  InformaGon   Transient  InformaGon   •  Always  captured   •  Captured  if  Oracle  thinks  it  is   •  InformaJon  like    SQL_TEXT,     necessary   disk  reads,  buffer  gets,  CPU   •  InformaJon  that  could   Jme,  elapsed  Jme,    fetches,   necessarily  change  like   ExecuJon  plan  ,  OpJmizer   dynamic  sampling,  degree  of   staJsJcs,  Bind  variables,  rows   parallelism   processed  Use  of  Outlines,  SQL   profiles  or  SPM  and  metadata   and  user  profile.   •  Data  collecJon  is  opJonal   •  No  Support  for  DDL           The most comprehensive Oracle applications & technology content under one roof
  • 25. Reproducing  SQL  Test  Cases   •  How  to  implement  STB?   1.  Create  a  directory  or  use  exisJng  directory   2.  Export    the  test  case  with   DBMS_SQLDIAG.EXPORT_SQL_TESTCASE   3.  Import  the  test  case  with   DBMS_SQLDIAG.IMPORT_SQL_TESTCASE   The most comprehensive Oracle applications & technology content under one roof
  • 26. Reproduce  SQL  Test  Cases   SQL>  DECLARE      2    MYTESTCASE  CLOB;      3    BEGIN      4    DBMS_SQLDIAG.EXPORT_SQL_TESTCASE  (      5    DIRECTORY=>'DATADIR',   •  Example      6    SQL_TEXT=>'SELECT  DOMAINNAME  FROM  DOMAIN     WHERE  DOMAINNAME=2703255',      7    EXPORTDATA=>  FALSE,        8    TESTCASE_NAME=>'MYTEST',      9    TESTCASE=>MYTESTCASE);    10  END;    11  /   The most comprehensive Oracle applications & technology content under one roof
  • 27. SQL  Test  Case  Builder   •  Dump  directory  files  created  by  SQL  TCB.   The most comprehensive Oracle applications & technology content under one roof
  • 28. Advanced  Compression   The most comprehensive Oracle applications & technology content under one roof
  • 29. ADVANCED  COMPRESSION   •  With  huge  amounts  of  data  being  the  norm  than   excepJon  ,  compression  becomes  criJcal  in  reducing   the  foot  print  of  almost  every  component     Buffer  Cache   Network   Database     Backup  Server   The most comprehensive Oracle applications & technology content under one roof
  • 30. ADVANCED  COMPRESSION   In  11g,  there  is  compression  for  everyone   •  Storage   –  OLTP  compression  for  DML  (Structured  Data)   –  SecureFiles  Compression  (Unstructured  Data)   •  Network   –  Data  Guard  redo  Compression   •  Backup   –  RMAN  compression   –  Data  pump  compression   The most comprehensive Oracle applications & technology content under one roof
  • 31. ADVANCED  COMPRESSION   OLTP  Compression     •  New  compression  algorithm  uses  deferred                              PCTFREE                               or  batched  approach     –  Data  is  inserted  as  is  without  compression  unJl                          DATA         PCTFREE    value  is  reached.   –  Compression  of  data  starts  once  PCTFREE  threshold  is  reached   •  Can  be  enabled  at    table,  parJJon  or  tablespace  level   •  No  need  of  decompressing  the  data  while  reading   •  Recommended  for  low  update  acJvity  tables   •  Use  Compression  advisor(DBMS_COMPRESSION)  to   esJmate  savings   The most comprehensive Oracle applications & technology content under one roof
  • 32. ADVANCED  COMPRESSION   Data  guard  Compression       •  Redo  is  compressed  as  it  is  transmifed  over  a   network.   •  Helps  efficiently  uJlize  network  bandwidth  when   data  guard    is  across  data  centers   •  Faster  resynchronizaJon  of  Data  guard    during   gap  resoluJon.   •  Recommended  for  low  network  bandwidth       The most comprehensive Oracle applications & technology content under one roof
  • 33. ADVANCED  COMPRESSION   Data  guard  Compression     •  How  to  implement?   –  Specify    “COMPRESSION”  with  iniJalizaJon   parameter  LOG_ARCHIVE_DEST_n     The most comprehensive Oracle applications & technology content under one roof
  • 34. ADVANCED  COMPRESSION   RMAN  Compression     •  Supports  compression  of  backups  using  ZLIB   algorithm     –  Faster  compression  and  low  CPU  uJlizaJon   compared  to  default  BZIP2  (10g)   –  Low  compression  raJo    compared  to  BZIP2       The most comprehensive Oracle applications & technology content under one roof
  • 35. ADVANCED  COMPRESSION   RMAN  Compression   •  How  to  Implement  ?   –  Configured  with  CONFIGURE  COMPRESSION   ALGORITHM    ‘value’   •  With  Advanced  compression  ,  value  can  be  HIGH,   MEDIUM(ZLIP)  and  LOW(LZO)   •  Without  advanced  compression  ,  Only  basic  can  be   specified   –  Execute  backups  with  ‘AS  COMPRESSED   BACKUPSET’     The most comprehensive Oracle applications & technology content under one roof
  • 36. ADVANCED  COMPRESSION   Data  Pump  Compression     •  Compression  of  metadata  introduced  in  10g   •  Compression  of  data  introduced  in  11g.   •  Inline  operaJon   –  Save  on  storage  allocaJon   –  No  need  to  uncompress  before  Import     The most comprehensive Oracle applications & technology content under one roof
  • 37. ADVANCED  COMPRESSION   Data  Pump  Compression     •  How  to  implement?   –  Enabled  with  expdp  COMPRESSION  afribute   •  ALL       •  DATA_ONLY     •  METADATA_ONLY       The most comprehensive Oracle applications & technology content under one roof
  • 38. Diagnosing  and  resolving   failures   The most comprehensive Oracle applications & technology content under one roof
  • 39. Diagnosing  and  Resolving  Failures   •  Database  Recovery  advisor  (DRA)   –  Diagnosing  media  Failures   –  Present  repair  opJons    (with  script)   –  Repair  failures  (if  requested)   •  Doesn’t  mafer  if    you  are  a  newbie  DBA  or  highly   experienced  DBA   –  When  in  doubt  ,  use  DRA.   •  Now  you  can  blame  Oracle  if  the  something  goes   wrong.     –  And  keep  your  Job,  write  a  blog  ……   The most comprehensive Oracle applications & technology content under one roof
  • 40. Diagnosing  and  Resolving  Failures   •  The  three  RMAN  commands  to  support  DRA     1.  LIST  FAILURE   •  Errors  are  classified  as  Low,  High,  CriJcal     •  Historical  support    for  closed  errors.   2.  ADVISE  FAILURE   •  Specifies  the  repair  strategy   •  Supports  both  manual  and  automated  repair  opJons   3.  REPAIR  FAILURE   •  Supports  preview  mode  (spooling  the  script)   The most comprehensive Oracle applications & technology content under one roof
  • 41. MulGsecGon  Backups   The most comprehensive Oracle applications & technology content under one roof
  • 42. MulJsecJon  Backups   •  Enables  backing  up  of  single  datafile  in  parallel   using  secJons   –  SecJon  is  conJguous  range  of  blocks  in  a  datafile   •  Up  to  256  SecJons  or  channels  per  datafile  is   supported   •  MulJplexed  backups  will  not  contain  datafiles   or  secJons  from  other  datafiles.   The most comprehensive Oracle applications & technology content under one roof
  • 43. MulJsecJon  Backups   •  Benefits   –  Improved  performance  for  backup  and  restore.   •  Befer  performance  when  restoring  one    datafile   compared  to  restoring  from  large  mulJplexed  backup   set   –  Befer  restartability.   •  Restart  the  failed  secJon  backup  instead  of  datafile   The most comprehensive Oracle applications & technology content under one roof
  • 44. MulJsecJon  Backups   The most comprehensive Oracle applications & technology content under one roof
  • 45. MulJsecJon  Backups   The most comprehensive Oracle applications & technology content under one roof
  • 46. MulJsecJon  Backups   The most comprehensive Oracle applications & technology content under one roof
  • 47. DATABASE  RESIDENT   CONNECTION  POOL   The most comprehensive Oracle applications & technology content under one roof
  • 48. DATABASE  RESIDENT  CONNECTION  POOL     •  Shared  Server  or  MTS   –  Session  Resources  are  not  shared   –  Good  for  long  running  transacJons   •  Database  resident  connecJon  pool(DRCP)   –  To  support    large  number  of    similar  client   applicaJons  or  connecJons   –   Share  or  reuse  sessions.   –  TransacJons  are  very  short  in  nature   –  No  Session  affinity  is  required   The most comprehensive Oracle applications & technology content under one roof
  • 49. DATABASE  RESIDENT  CONNECTION  POOL     •  DRCP  is  mainly  intended  for  single  threaded  applicaJons   like  PHP  ,  PERL   –  Currently  available  to  clients  that  use  the  OCI  driver  with  C,  C++,   Perl  and  PHP.   –  No  support  for  JDBC  thin  or  JDBC-­‐OCI.   •  More  database  connecJons  are  supported  compared  to     shared  server  or  dedicated  server  configuraJon     –  Less    memory  foot  print   –  Behaves  more  like  dedicated  server  connecJon  once  the   connecJon  is  established.           The most comprehensive Oracle applications & technology content under one roof
  • 50. Database  Resident  ConnecGon  Pool     •  Working  of  DRCP   1.  Client  makes  a  request  for  connecJon   2.  Background  process  connecJon  broker  picks  up   appropriate  pooled  server  and  hands-­‐off  the   client  to  that  pooled  server.     3.  Once  connecJon  is  handed-­‐off,    the  client   directly  communicates  with  the  pooled  server   4.  The  pooled  server  is  handed  back  to  the  broker   when  the  client  releases  it.   The most comprehensive Oracle applications & technology content under one roof
  • 51. DATABASE  RESIDENT  CONNECTION  POOL   •  Working  of  DRCP    PGA   ConnecGon   Clients/Middle  Ger   POOLED  SERVERS    Broker       The most comprehensive Oracle applications & technology content under one roof
  • 52. DATABASE  RESIDENT  CONNECTION  POOL   •  How  to  configure?   –  Start  the  pool  with     DBMS_CONNECTION_POOL.START_POOL();     –  Add  (SERVER  =  POOLED)    to  TNS  entry     –  You  can  also  use  the  following  syntax  for  PHP     •  oci_pconnect(“userid",  “pwd",  “hostname:1526/orcl:POOLED");   –  Pool  can  be  stopped  with     DBMS_CONNECTION_POOL.STOP_POOL();   –  Pool  properJes  like  minimum  and  maximum  number  of   pooled  servers  ,    maximum  inacJvity  Jme  etc.  can  be   specified  with  DBMS_CONNECTION_POOL  .   CONFIGURE_POOL    package   The most comprehensive Oracle applications & technology content under one roof
  • 53. Server  ConsolidaGon   The most comprehensive Oracle applications & technology content under one roof
  • 54. Server  ConsolidaJon   •  Very  simple  and  effecJve  approach  to  Server   ConsolidaJon   •  Limit  the  CPU  used  by  an  Instance   –  Works  by  limiJng  the  number  of  runnable  processes   •  Administered    and  maintained  by  DBA  instead  of   SA’s   •  Supports  over-­‐provisioning   •  Will  not  help  with  licensing  if  your  server  has   more  CPU’s  (At  least  for  now,  please  check  with     Oracle)   The most comprehensive Oracle applications & technology content under one roof
  • 55. Server  ConsolidaJon   •  How  to  enable  instance  caging?   –  Enable  the  Resource  Manager.   •  ALTER  SYSTEM  SET  RESOURCE_MANAGER_PLAN  =   ‘DEFAULT_PLAN;   –  Set  the  CPU_COUNT  iniJalizaJon  parameter.     •  ALTER  SYSTEM  SET  CPU_COUNT  =  2;   The most comprehensive Oracle applications & technology content under one roof
  • 56. Server  ConsolidaJon   •  What  is  the  secret  formula?   –  CPU_COUNT/Total  number  of  acJve    instances   •  Example:  8  CPU  server  with  4  instances   –  Each  instance    is  limited  to  2  CPU(CPU_COUNT)   –  CASE-­‐1:  If  all  4  instances  are  acJve   •  Each  instance  gets  2/(4*2)  =25%  of  Total  CPU   –  CASE-­‐2:  If  2  instances  are  acJve   •  Each  instance  gets  2/(2*2)  =  50%  of  Total  CPU     The most comprehensive Oracle applications & technology content under one roof
  • 57. SQL*Plus  Error  Logging   The most comprehensive Oracle applications & technology content under one roof
  • 58. SQL*Plus  Error  Logging   •  Records  SQL,  PL/SQL  and  SQL*Plus  errors  in  an   error  table     –  Default  table  is  SPERRORLOG;     –  Created  automaJcally  if  the  table  does  not  exists   •  Captures  errors  that  are  not  SQL  too.   –  SELCT  instead  of  SELECT   •  This  is  SQL*Plus  feature  and  works  with  older   versions  of  Oracle  database   –  Only  the  clients  must  be  11g  or  above   •  Is  it  Jme  to  say  bye  bye  to  spooling,  Wait  not  yet     The most comprehensive Oracle applications & technology content under one roof
  • 59. SQL*Plus  Error  Logging   •  All  you  have  to  do  is  type  “SET  ERRORLOGGING   ON”     •  Allows  you  to  idenJfy  the  session  with  idenJfier   –   SET  ERRORLOGGING  ON    IDENTIFIER  ‘Core-­‐Release  2.3’   •  Allows  use  of  user-­‐defined  table   •  SET  ERRORLOGGING  ON    TABLE    scof.errorlog   •  Allows  truncaJng  of  tables  before  capturing   errors   –  SET  ERRORLOGGING  ON  TRUNCATE     The most comprehensive Oracle applications & technology content under one roof
  • 60. SQL*Plus  Error  Logging   The most comprehensive Oracle applications & technology content under one roof
  • 61. Preprocessor   The most comprehensive Oracle applications & technology content under one roof
  • 62. Oracle  Preprocessor   •  Provides  the  ability  to  preprocess  your  data   before  sending  to  Oracle  external  drivers   –  Reduced  disk  space  consumpJon  and  faster   processing  Jme.   –  Adds  befer  control  and    flexibility    to  external   tables   The most comprehensive Oracle applications & technology content under one roof
  • 63. Oracle  Preprocessor   •  Supports  OS  commands,    binaries  and  scripts   •  Supports  parallelism   –  File  is  granular  unit  for  parallelism.   •  Back  ported  to  10.2.0.5   •  Other  uses   –  For  SQL  lovers  ,  run  vmstat  ,  df  –k  or  sar  report  from   SQL  prompt.   •  CauJon   –  Restrict  access  to  preprocessor    directory   The most comprehensive Oracle applications & technology content under one roof
  • 64. Oracle  Preprocessor   The most comprehensive Oracle applications & technology content under one roof
  • 65. References   •  Oracle  DocumentaJon   •  Oracle  Metalink   •  asktom.oracle.com   •  OTN  ArJcles   •  hfp://opJmizermagic.blogspot.com   •  hfp://kkempf.wordpress.com   •  hfp://php.net/manual/en/oci8.connecJon.php   •  And  many  more  …..   The most comprehensive Oracle applications & technology content under one roof