7/17/2018. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 2

Size: px
Start display at page:

Download "7/17/2018. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 2"

Transcription

1 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 2 1

2 Typical speaker ego slide blog connor-mcdonald.com youtube tinyurl.com/connor-tube Copyright 2016, Oracle and/or its affiliates. All rights reserved. Things you will love about 12.2/18c Connor McDonald Developer Advocate Copyright 2016, Oracle and/or its affiliates. All rights reserved. 2

3 "Whoa...hold on!" Copyright 2016, Oracle and/or its affiliates. All rights reserved. 5 12c, 13, 14, 15, 16, 17, 18c Copyright 2016, Oracle and/or its affiliates. All rights reserved. 6 3

4 ? 12c, 13, 14, 15, 16, 17, 18c Copyright 2016, Oracle and/or its affiliates. All rights reserved. 6 18c = MOS Copyright 2016, Oracle and/or its affiliates. All rights reserved. 7 4

5 why me? Copyright 2016, Oracle and/or its affiliates. All rights reserved. 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 9 5

6 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 10 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 11 6

7 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 12 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 7

8 Copyright 2016, Oracle and/or its affiliates. All rights reserved Copyright 2016, Oracle and/or its affiliates. All rights reserved. 15 8

9 80 hours of free access / Q&A so far Feb - Jun Copyright 2016, Oracle and/or its affiliates. All rights reserved. 16 July 19 5:30pm IST The biggest and best in the world! Copyright 2016, Oracle and/or its affiliates. All rights reserved. 17 9

10 why you? Copyright 2016, Oracle and/or its affiliates. All rights reserved ! Copyright 2016, Oracle and/or its affiliates. All rights reserved

11 18! Copyright 2016, Oracle and/or its affiliates. All rights reserved ! Copyright 2016, Oracle and/or its affiliates. All rights reserved

12 12.2! Copyright 2016, Oracle and/or its affiliates. All rights reserved ! Copyright 2016, Oracle and/or its affiliates. All rights reserved

13 reality Copyright 2016, Oracle and/or its affiliates. All rights reserved. 20 Copyright 2016, Oracle and/or its affiliates. All rights reserved

14 SQL> select * from v$version; BANNER Oracle8i Enterprise Edition Release Production PL/SQL Release Production CORE Production TNS for HPUX: Version Production NLSRTL Version Production Copyright 2016, Oracle and/or its affiliates. All rights reserved. 22 SQL> select * from v$version; BANNER Oracle8i Enterprise Edition Release Production PL/SQL Release Production CORE Production TNS for HPUX: Version Production NLSRTL Version Production Copyright 2016, Oracle and/or its affiliates. All rights reserved

15 SQL> select * from v$version; BANNER Oracle8i Enterprise Edition Release Production PL/SQL Release Production CORE Production TNS for HPUX: Version Production NLSRTL Version Production Copyright 2016, Oracle and/or its affiliates. All rights reserved. 24 you still should be here Copyright 2016, Oracle and/or its affiliates. All rights reserved

16 Copyright 2016, Oracle and/or its affiliates. All rights reserved. there's a lot in 12.2/18 Copyright 2016, Oracle and/or its affiliates. All rights reserved

17 get started right now Copyright 2016, Oracle and/or its affiliates. All rights reserved. 28 install nothing Copyright 2016, Oracle and/or its affiliates. All rights reserved

18 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 30 install something Copyright 2016, Oracle and/or its affiliates. All rights reserved

19 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 32 install lots :-) Copyright 2016, Oracle and/or its affiliates. All rights reserved

20 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 34 coming soon Copyright 2016, Oracle and/or its affiliates. All rights reserved

21 install lots :-) Copyright 2016, Oracle and/or its affiliates. All rights reserved. 36 install lots :-) Copyright 2016, Oracle and/or its affiliates. All rights reserved

22 gold image service Copyright 2016, Oracle and/or its affiliates. All rights reserved. 37 before we get started Copyright 2016, Oracle and/or its affiliates. All rights reserved

23 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 39 Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, and timing of any features or functionality described for Oracle s products remains at the sole discretion of Oracle. Copyright 2016, Oracle and/or its affiliates. All rights reserved

24 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 40 Copyright 2016, Oracle and/or its affiliates. All rights reserved

25 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 41 test! Test! TEST! Copyright 2016, Oracle and/or its affiliates. All rights reserved

26 licensing Copyright 2016, Oracle and/or its affiliates. All rights reserved. 43 licensing Copyright 2016, Oracle and/or its affiliates. All rights reserved

27 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 44 Copyright 2016, Oracle and/or its affiliates. All rights reserved

28 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 44 Copyright 2016, Oracle and/or its affiliates. All rights reserved

29 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 44 time is short... Copyright 2016, Oracle and/or its affiliates. All rights reserved

30 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 46 external tables Copyright 2016, Oracle and/or its affiliates. All rights reserved

31 ext_emp Copyright 2016, Oracle and/or its affiliates. All rights reserved. SQL> create table ext_emp ( 2 empno number(4), 3 ename varchar2(10), 4 job varchar2(9), 5 mgr number(4), 6 hiredate date, 7 sal number(7,2), 8 comm number(7,2), 9 deptno number(2) 10 ) 11 organization external Copyright 2016, Oracle and/or its affiliates. All rights reserved. 31

32 SQL> create table ext_emp ( 2 empno number(4), 3 ename varchar2(10), 4 12 job ( type oracle_loader varchar2(9), 5 13 mgr default number(4), directory TMP 6 14 hiredate access date, parameters 7 15 sal ( records number(7,2), delimited by newline 8 16 comm fields number(7,2), terminated by ',' 9 17 deptnomissing number(2) field values are null ) ( empno,ename,job,mgr,hiredate,sal,comm,deptno ) organization ) external 20 location ('emp dat')); Table created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. ext_emp Copyright 2016, Oracle and/or its affiliates. All rights reserved. 32

33 SQL> select * from ext_emp; select * from ext_emp * ERROR at line 1: ORA-29913: error in executing ODCIEXTTABLEFETCH callout ORA-30653: reject limit reached Copyright 2016, Oracle and/or its affiliates. All rights reserved. easy fix Copyright 2016, Oracle and/or its affiliates. All rights reserved

34 SQL> create table ext_emp ( 2 empno number(4), ( type oracle_loader 13 default directory TMP 14 access parameters 15 ( records delimited by newline 16 fields terminated by ',' 17 missing field values are null 18 ( empno,ename,job,mgr,hiredate,sal,comm,deptno ) 19 ) 20 location ('emp dat')) 21 REJECT LIMIT UNLIMITED; Table created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. but what happens is... Copyright 2016, Oracle and/or its affiliates. All rights reserved

35 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 55 ITIL Copyright 2016, Oracle and/or its affiliates. All rights reserved

36 service call help desk problem record Copyright 2016, Oracle and/or its affiliates. All rights reserved. service call help desk problem record Copyright 2016, Oracle and/or its affiliates. All rights reserved. 36

37 service call help desk problem record Copyright 2016, Oracle and/or its affiliates. All rights reserved. DONE! Copyright 2016, Oracle and/or its affiliates. All rights reserved. 37

38 12.2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 58 query time modification Copyright 2016, Oracle and/or its affiliates. All rights reserved

39 SQL> select * from ext_emp 2 external modify ( reject limit unlimited ); EMPNO ENAME JOB MGR HIREDATE SAL ALLEN SALESMAN FEB WARD SALESMAN FEB JONES MANAGER APR FORD ANALYST DEC MILLER CLERK JAN rows selected. Copyright 2016, Oracle and/or its affiliates. All rights reserved. SQL> select * from ext_emp 2 external modify ( reject limit unlimited ); EMPNO ENAME JOB MGR HIREDATE SAL ALLEN SALESMAN FEB WARD SALESMAN FEB JONES MANAGER APR FORD ANALYST DEC MILLER CLERK JAN rows selected. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 39

40 file names Copyright 2016, Oracle and/or its affiliates. All rights reserved. 61 SQL> create table ext_emp ( 2 empno number(4), location ('emp dat')) Table created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 40

41 SQL> select * from ext_emp 2 external modify ( location ('emp dat') ); EMPNO ENAME JOB MGR HIREDATE SAL FORD ANALYST DEC MILLER CLERK JAN JONES MANAGER APR ALLEN SALESMAN FEB WARD SALESMAN FEB rows selected. Copyright 2016, Oracle and/or its affiliates. All rights reserved. select * from ext_tab external modify ( [ default directory ] [ location ] [ access parameters ] [ reject limit ] ); Copyright 2016, Oracle and/or its affiliates. All rights reserved. 41

42 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 65 Copyright 2016, Oracle and/or its affiliates. All rights reserved

43 resource control Copyright 2016, Oracle and/or its affiliates. All rights reserved Copyright 2016, Oracle and/or its affiliates. All rights reserved

44 multi tenant Copyright 2016, Oracle and/or its affiliates. All rights reserved. 69 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 44

45 "seriously?" Copyright 2016, Oracle and/or its affiliates. All rights reserved. 71 DRCP PL/SQL SQL Copyright 2016, Oracle and/or its affiliates. All rights reserved

46 DRCP PL/SQL SQL Copyright 2016, Oracle and/or its affiliates. All rights reserved. 72 DRCP PL/SQL SQL Copyright 2016, Oracle and/or its affiliates. All rights reserved

47 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 73 Copyright 2016, Oracle and/or its affiliates. All rights reserved

48 12.2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 75 pdb level controls Copyright 2016, Oracle and/or its affiliates. All rights reserved

49 SQL> exec dbms_random.seed(0); PL/SQL procedure successfully completed. SQL> create table t pctfree 99 as 2 select * 3 from ( select rownum r, d.* from dba_objects ) 4 order by dbms_random.value; Table created. SQL> create index ix on t ( r ); Index created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 77 Copyright 2016, Oracle and/or its affiliates. All rights reserved

50 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 78 SQL> conn Connected. SQL> declare 2 s timestamp; 3 rmax int; 4 l_row t%rowtype; 5 begin 6 select max(r) into rmax from t; 7 8 s := localtimestamp; 9 for i in loop 10 select * into l_row from t where r = i; 11 end loop; 12 dbms_output.put_line(localtimestamp-s); 13 end; 14 / :00: PL/SQL procedure successfully completed. Copyright 2016, Oracle and/or its affiliates. All rights reserved

51 SQL> conn Connected. SQL> conn Connected. SQL> declare 2 s timestamp; SQL> declare 3 rmax int; 2 s timestamp; 4 l_row t%rowtype; 3 rmax int; 5 begin 4 l_row t%rowtype; 6 select max(r) into 5 rmax beginfrom t; s := localtimestamp; 7 select max(r) into rmax from t; 9 for i in loop s := localtimestamp; 10 select * into l_row 9 for from it in where 1.. r = i; loop 11 end loop; 10 select * into l_row from t where r = i; 12 dbms_output.put_line(localtimestamp-s); 11 end loop; 13 end; 14 / 12 dbms_output.put_line(localtimestamp-s); 13 end; :00: / :00: PL/SQL procedure successfully completed. PL/SQL procedure successfully completed. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 79 SQL> conn mcdonac/*****@pdb2 Connected. SQL> alter system set max_iops = 300; System altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved

52 SQL> declare 2 s timestamp; 3 rmax int; 4 l_row t%rowtype; 5 begin 6 select max(r) into rmax from t; 7 8 s := localtimestamp; 9 for i in loop 10 select * into l_row from t where r = i; 11 end loop; 12 dbms_output.put_line(localtimestamp-s); 13 end; 14 / :03: PL/SQL procedure successfully completed. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 81 sid=58 EVENT TOTAL_WAITS TOTAL_TIMEOUTS SECS Disk file operations I/O log file sync db file scattered read db file parallel read events in waitclass Other db file sequential read CPU resmgr: I/O rate limit Copyright 2016, Oracle and/or its affiliates. All rights reserved

53 similar controls for CPU, memory Copyright 2016, Oracle and/or its affiliates. All rights reserved. 83 Copyright 2016, Oracle and/or its affiliates. All rights reserved

54 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 85 cloning Copyright 2016, Oracle and/or its affiliates. All rights reserved

55 in 12.1 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 87 cloning is easy Copyright 2016, Oracle and/or its affiliates. All rights reserved

56 SQL> ALTER PLUGGABLE DATABASE prod CLOSE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE prod OPEN READ ONLY; Pluggable database altered. SQL> CREATE PLUGGABLE DATABASE prod_copy FROM prod 2 FILE_NAME_CONVERT=('/u01/oradata/cdb/prod', 3 '/u01/oradata/cdb/prod_copy'); Pluggable database created. SQL> ALTER PLUGGABLE DATABASE prod_copy OPEN; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 89 Copyright 2016, Oracle and/or its affiliates. All rights reserved

57 SQL> ALTER PLUGGABLE DATABASE prod CLOSE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE prod OPEN READ ONLY; Pluggable database altered. SQL> CREATE PLUGGABLE DATABASE prod_copy FROM prod 2 FILE_NAME_CONVERT=('/u01/oradata/cdb/prod', 3 '/u01/oradata/cdb/prod_copy'); Pluggable database created. SQL> ALTER PLUGGABLE DATABASE prod_copy OPEN; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 91 Copyright 2016, Oracle and/or its affiliates. All rights reserved

58 12.2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 93 hot cloning is easy Copyright 2016, Oracle and/or its affiliates. All rights reserved

59 SQL> ALTER PLUGGABLE DATABASE prod CLOSE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE prod OPEN READ ONLY; Pluggable database altered. SQL> CREATE PLUGGABLE DATABASE prod_copy FROM prod 2 FILE_NAME_CONVERT=('/u01/oradata/cdb/prod', 3 '/u01/oradata/cdb/prod_copy'); Pluggable database created. SQL> ALTER PLUGGABLE DATABASE prod_copy OPEN; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 95 SQL> ALTER PLUGGABLE DATABASE prod CLOSE; Pluggable database altered. SQL> ALTER PLUGGABLE DATABASE prod OPEN READ ONLY; Pluggable database altered. SQL> CREATE PLUGGABLE DATABASE prod_copy FROM prod 2 FILE_NAME_CONVERT=('/u01/oradata/cdb/prod', 3 '/u01/oradata/cdb/prod_copy'); Pluggable database created. SQL> ALTER PLUGGABLE DATABASE prod_copy OPEN; Copyright 2016, Oracle and/or its affiliates. All rights reserved

60 SQL> conn Connected. SQL> create table T ( x int, y timestamp ) 2 tablespace users; Table created. SQL> begin 2 for i in loop 3 insert into t values (i, systimestamp ); 4 commit; 5 dbms_lock.sleep(0.5); 6 end loop; 7 end; 8 / [executing] Copyright 2016, Oracle and/or its affiliates. All rights reserved. 96 SQL> conn mcdonac/*****@pdb_source Connected. SQL> create pluggable database pdb_clone from pdb_source 2 file_name_convert=('/u01/cdb/oradata/cdb/pdbs', SQL> create table T ( x 3 int, y timestamp ) '/u01/cdb/oradata/cdb/pdbc'); 2 tablespace users; Table created. Pluggable database created. SQL> alter pluggable database pdb_clone open; SQL> begin 2 for i in Pluggable loop database altered. 3 insert into t values (i, systimestamp ); 4 commit; SQL> conn mcdonac/*******@pdb_clone 5 dbms_lock.sleep(0.5); Connected. 6 end loop; SQL> select * from t; 7 end; 8 / X Y [executing] 1 23-AUG PM 2 23-AUG PM 3 23-AUG PM 4 23-AUG PM... Copyright 2016, Oracle and/or its affiliates. All rights reserved

61 think "hot backup" Copyright 2016, Oracle and/or its affiliates. All rights reserved. 97 think "hot backup" Copyright 2016, Oracle and/or its affiliates. All rights reserved

62 think "hot backup" Copyright 2016, Oracle and/or its affiliates. All rights reserved. 97 think "instance recovery" Copyright 2016, Oracle and/or its affiliates. All rights reserved

63 think "instance recovery" Copyright 2016, Oracle and/or its affiliates. All rights reserved. 98 think "instance recovery" Copyright 2016, Oracle and/or its affiliates. All rights reserved

64 easier with local undo Copyright 2016, Oracle and/or its affiliates. All rights reserved. 99 sidebar: local undo Copyright 2016, Oracle and/or its affiliates. All rights reserved

65 UNDO sidebar: local undo Copyright 2016, Oracle and/or its affiliates. All rights reserved. 100 UNDO sidebar: local undo UNDO UNDO UNDO UNDO Copyright 2016, Oracle and/or its affiliates. All rights reserved

66 SQL> startup upgrade... SQL> ALTER DATABASE LOCAL UNDO ON; Database altered. we'll sort out the rest Copyright 2016, Oracle and/or its affiliates. All rights reserved. 101 after the clone Copyright 2016, Oracle and/or its affiliates. All rights reserved

67 SQL> create pluggable database pdb_ro from pdb_source 2 file_name_convert=('/u01/cdb/oradata/cdb/pdbs', 3 '/u01/cdb/oradata/cdb/pdbr'); Pluggable database created. SQL> alter pluggable database pdb_ro open read only; Pluggable database altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 103 SQL> create pluggable database pdb_ro from pdb_source 2 file_name_convert=('/u01/cdb/oradata/cdb/pdbs', 3 '/u01/cdb/oradata/cdb/pdbr'); Pluggable database created. SQL> conn connor/*****@pdb_source SQL> alter pluggable Connected. database pdb_ro open read only; Pluggable database SQL> altered. create table T1 as 2 select * from dba_objects; Table created. Copyright 2016, Oracle and/or its affiliates. All rights reserved

68 SQL> create pluggable database pdb_ro from pdb_source 2 file_name_convert=('/u01/cdb/oradata/cdb/pdbs', 3 '/u01/cdb/oradata/cdb/pdbr'); Pluggable database created. SQL> conn connor/*****@pdb_source SQL> alter pluggable Connected. database pdb_ro open read only; Pluggable database SQL> altered. create table T1 as SQL> conn connor/*****@pdb_ro 2 select * from dba_objects; Connected. Table created. SQL> desc T1 ERROR: ORA-04043: object T1 does not exist Copyright 2016, Oracle and/or its affiliates. All rights reserved. 103 SQL> conn / as sysdba Connected. SQL> alter pluggable database pdb_ro refresh Table created. Copyright 2016, Oracle and/or its affiliates. All rights reserved

69 SQL> conn / as sysdba Connected. SQL> alter pluggable database pdb_ro refresh Table created. SQL> conn connor/*****@pdb_ro Connected. SQL> desc T1 Name Null? Type OWNER VARCHAR2(128) OBJECT_NAME VARCHAR2(128) SUBOBJECT_NAME VARCHAR2(128) OBJECT_ID NUMBER DATA_OBJECT_ID NUMBER... Copyright 2016, Oracle and/or its affiliates. All rights reserved. 104 Copyright 2016, Oracle and/or its affiliates. All rights reserved

70 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 105 Copyright 2016, Oracle and/or its affiliates. All rights reserved

71 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 105 Copyright 2016, Oracle and/or its affiliates. All rights reserved

72 Copyright 2016, Oracle and/or its affiliates. All rights reserved c Copyright 2016, Oracle and/or its affiliates. All rights reserved

73 per pdb auto refresh Copyright 2016, Oracle and/or its affiliates. All rights reserved. 108 Server1 create pluggable database Grey from refresh mode auto every 2 minutes; CDB1 Server2 CDB2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 73

74 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 110 QTFWBC Copyright 2016, Oracle and/or its affiliates. All rights reserved

75 queries that finish without bloody crashing Copyright 2016, Oracle and/or its affiliates. All rights reserved. 112 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Copyright 2016, Oracle and/or its affiliates. All rights reserved

76 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; MY_WHOPPING_GREAT_FAT_TABLE; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 113 Copyright 2016, Oracle and/or its affiliates. All rights reserved

77 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 115 Copyright 2016, Oracle and/or its affiliates. All rights reserved

78 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 117 Copyright 2016, Oracle and/or its affiliates. All rights reserved

79 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 119 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Elapsed: 06:12:34.00 Copyright 2016, Oracle and/or its affiliates. All rights reserved

80 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Elapsed: 06:12:34.00 ERROR at line 1: ORA-01847: day of month must be between 1 and last day of month Copyright 2016, Oracle and/or its affiliates. All rights reserved. 120 Nooooooooo! Copyright 2016, Oracle and/or its affiliates. All rights reserved

81 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 122 and then we do this :-) Copyright 2016, Oracle and/or its affiliates. All rights reserved

82 SQL> select count(*) from MY_TABLE; COUNT(*) Copyright 2016, Oracle and/or its affiliates. All rights reserved Copyright 2016, Oracle and/or its affiliates. All rights reserved

83 validate_conversion Copyright 2016, Oracle and/or its affiliates. All rights reserved. 126 SQL> select CREATED_DATE 2 from MY_WHOPPING_GREAT_FAT_TABLE; CREATED_DATE FEB MAR AUG SEP OCT Copyright 2016, Oracle and/or its affiliates. All rights reserved

84 SQL> select to_date(created_date, 'dd-mon-yyyy') 2 from MY_WHOPPING_GREAT_FAT_TABLE 3 where validate_conversion( 4 created_date as date, 'dd-mon-yyyy' 5 ) = 1; TO_DATE(C FEB MAR SEP OCT-12 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 128 CAST extended Copyright 2016, Oracle and/or its affiliates. All rights reserved

85 SQL> select SALARY, 2 cast(salary as number 3 DEFAULT -1 ON CONVERSION ERROR) conv_sal 4 from MY_WHOPPING_GREAT_FAT_TABLE; SALARY CONV_SAL , Copyright 2016, Oracle and/or its affiliates. All rights reserved. 130 SQL> select SALARY, 2 cast(salary as number 3 DEFAULT -1 ON CONVERSION ERROR) conv_sal 4 from MY_WHOPPING_GREAT_FAT_TABLE; SALARY CONV_SAL , Copyright 2016, Oracle and/or its affiliates. All rights reserved

86 SQL> select SALARY, 2 TO_NUMBER(SALARY 3 DEFAULT -1 ON CONVERSION ERROR) conv_sal 4 from MY_WHOPPING_GREAT_FAT_TABLE; SALARY CONV_SAL , Copyright 2016, Oracle and/or its affiliates. All rights reserved. 131 SQL> select SALARY, 2 TO_NUMBER(SALARY 3 DEFAULT -1 ON CONVERSION ERROR) conv_sal 4 from MY_WHOPPING_GREAT_FAT_TABLE; SALARY CONV_SAL , TO_DATE TO_NUMBER TO_TIMESTAMP etc Copyright 2016, Oracle and/or its affiliates. All rights reserved

87 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 132 let's backtrack a bit Copyright 2016, Oracle and/or its affiliates. All rights reserved

88 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 134 Copyright 2016, Oracle and/or its affiliates. All rights reserved

89 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE Copyright 2016, Oracle and/or its affiliates. All rights reserved. 136 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE 4 where LOAD_DATE > sysdate - 1; Copyright 2016, Oracle and/or its affiliates. All rights reserved

90 SQL> alter system kill session '123,456' immediate Copyright 2016, Oracle and/or its affiliates. All rights reserved. 137 Copyright 2016, Oracle and/or its affiliates. All rights reserved

91 18c Copyright 2016, Oracle and/or its affiliates. All rights reserved. 139 SQL> alter system kill cancel sql '123,456'; Copyright 2016, Oracle and/or its affiliates. All rights reserved

92 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 141 let's backtrack some more :-) Copyright 2016, Oracle and/or its affiliates. All rights reserved

93 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 143 Copyright 2016, Oracle and/or its affiliates. All rights reserved

94 SQL> insert into MY_TABLE 2 select * 3 from MY_WHOPPING_GREAT_FAT_TABLE w Copyright 2016, Oracle and/or its affiliates. All rights reserved. 145 SQL> insert into MY_TABLE 2 select /*+ * INDEX(W CUST_DATE_IX) */ * 3 from MY_WHOPPING_GREAT_FAT_TABLE w Copyright 2016, Oracle and/or its affiliates. All rights reserved

95 18c Copyright 2016, Oracle and/or its affiliates. All rights reserved. 146 SQL> alter system set optimizer_ignore_hints = true Copyright 2016, Oracle and/or its affiliates. All rights reserved

96 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 148 one row... Copyright 2016, Oracle and/or its affiliates. All rights reserved

97 one lousy row Copyright 2016, Oracle and/or its affiliates. All rights reserved. 150 can really spoil your day :-( Copyright 2016, Oracle and/or its affiliates. All rights reserved

98 SQL> select owner, 2 count(*) as cnt 3 from t 4 where owner like 'S%' 5 group by owner; Copyright 2016, Oracle and/or its affiliates. All rights reserved. 152 SQL> select owner, 2 count(*) as cnt 3 from t 4 where owner like 'S%' 5 group by owner; SQL> select num_rows 2 from user_tables 3 where table_name = 'T'; NUM_ROWS Copyright 2016, Oracle and/or its affiliates. All rights reserved

99 SQL> create materialized view log on T 2 with rowid (owner,object_id) 3 including new values; Materialized view log created. SQL> create materialized view T_MV 2 refresh fast on demand 3 enable query rewrite 4 as 5 select owner, 6 sum(object_id) as sum_obj, 7 count(object_id) as cnt_obj, 8 count(*) as cnt 9 from t 10 group by owner; Materialized view created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 153 SQL> set autotrace traceonly explain SQL> select owner, count(*) 2 from t 3 where owner like 'S%' 4 group by owner; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (0) * 1 MAT_VIEW REWRITE ACCESS FULL T_MV (0) Predicate Information (identified by operation id): filter("t_mv"."owner" LIKE 'S%') Copyright 2016, Oracle and/or its affiliates. All rights reserved

100 hero Copyright 2016, Oracle and/or its affiliates. All rights reserved. 155 Copyright 2016, Oracle and/or its affiliates. All rights reserved

101 until... Copyright 2016, Oracle and/or its affiliates. All rights reserved. 157 SQL> insert into t 2 values (...,...,...,... ); 1 row created. SQL> commit; Commit complete. Copyright 2016, Oracle and/or its affiliates. All rights reserved

102 SQL> select owner, count(*) 2 from t 3 where owner like 'S%' 4 group by owner; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT M (1) 1 HASH GROUP BY M (1) * 2 TABLE ACCESS FULL T 574M 2738M 14M (1) Copyright 2016, Oracle and/or its affiliates. All rights reserved. 159 Copyright 2016, Oracle and/or its affiliates. All rights reserved

103 Copyright 2016, Oracle and/or its affiliates. All rights reserved Copyright 2016, Oracle and/or its affiliates. All rights reserved

104 real time refresh Copyright 2016, Oracle and/or its affiliates. All rights reserved. 162 on commit Copyright 2016, Oracle and/or its affiliates. All rights reserved

105 SQL> create materialized view T_MV 2 refresh fast on demand 3 enable query rewrite 4 enable on query computation 5 as 6 select owner, 7 sum(object_id) as sum_obj, 8 count(object_id) as cnt_obj, 9 count(*) as cnt 10 from t 11 group by owner; Materialized view created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 164 SQL> set autotrace traceonly explain SQL> select owner, count(*) 2 from t 3 where owner like 'S%' 4 group by owner; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (0) * 1 MAT_VIEW REWRITE ACCESS FULL T_MV (0) as before Copyright 2016, Oracle and/or its affiliates. All rights reserved

106 SQL> insert into t 2 values (...,...,...,... ); 1 row created. SQL> commit; Commit complete. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 166 SQL> select owner, count(*) cnt 2 from t 3 where owner like 'S%' 4 group by owner; OWNER CNT SYS SI_INFORMTN_SCHEMA 8 SYSTEM 482 Elapsed: 00:00:01.41 Copyright 2016, Oracle and/or its affiliates. All rights reserved

107 SQL> select owner, count(*) cnt 2 from t 3 where owner like 'S%' 4 group by owner; OWNER CNT SYS SI_INFORMTN_SCHEMA SQL> select /*+ NO_REWRITE 8 */ owner, count(*) cnt SYSTEM 2 from t where owner like 'S%' Elapsed: 00:00: group by owner; OWNER CNT SYS SYSTEM 482 SI_INFORMTN_SCHEMA 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 167 how? Copyright 2016, Oracle and/or its affiliates. All rights reserved

108 we didn't refresh the mview Copyright 2016, Oracle and/or its affiliates. All rights reserved. 169 SQL> select owner, count(*) as cnt 2 from t 3 where owner like 'S%' 4 group by owner; OWNER CNT SYS SI_INFORMTN_SCHEMA 8 SYSTEM 482 we didn't refresh the mview Copyright 2016, Oracle and/or its affiliates. All rights reserved

109 SQL> select owner, count(*) as cnt 2 from t 3 where owner like 'S%' 4 group by owner; OWNER CNT SYS SI_INFORMTN_SCHEMA 8 SYSTEM 482 we didn't refresh the mview SQL> select owner, cnt 2 from T_MV 3 where owner like 'S%'; OWNER CNT SYS SYSTEM 482 SI_INFORMTN_SCHEMA 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 169 SQL> set autotrace traceonly explain SQL> select owner, 2 count(*) as cnt 3 from t 4 where owner like 'S%' 5 group by owner; Copyright 2016, Oracle and/or its affiliates. All rights reserved

110 Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (20) 1 VIEW (20) 2 UNION-ALL * 3 FILTER * 4 HASH JOIN OUTER (17) * 5 MAT_VIEW ACCESS FULL T_MV (0) 6 VIEW (25) 7 HASH GROUP BY (25) * 8 TABLE ACCESS FULL MLOG$_T (0) 9 VIEW (23) 10 UNION-ALL * 11 FILTER 12 NESTED LOOPS OUTER (25) 13 VIEW (25) * 14 FILTER 15 HASH GROUP BY (25) * 16 TABLE ACCESS FULL MLOG$_T (0) * 17 INDEX UNIQUE SCAN I_SNAP$_T_MV (0) 18 NESTED LOOPS (20) 19 VIEW (25) 20 HASH GROUP BY (25) * 21 TABLE ACCESS FULL MLOG$_T (0) * 22 MAT_VIEW ACCESS BY INDEX ROWID T_MV (0) * 23 INDEX UNIQUE SCAN I_SNAP$_T_MV 1 0 (0) Copyright 2016, Oracle and/or its affiliates. All rights reserved Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (20) 1 VIEW (20) 2 UNION-ALL * 3 FILTER * 4 HASH JOIN OUTER (17) * 5 MAT_VIEW ACCESS FULL T_MV (0) 6 VIEW (25) 7 HASH GROUP BY (25) * 8 TABLE ACCESS FULL MLOG$_T (0) 9 VIEW (23) 10 UNION-ALL * 11 FILTER 12 NESTED LOOPS OUTER (25) 13 VIEW (25) * 14 FILTER 15 HASH GROUP BY (25) * 16 TABLE ACCESS FULL MLOG$_T (0) * 17 INDEX UNIQUE SCAN I_SNAP$_T_MV (0) 18 NESTED LOOPS (20) 19 VIEW (25) 20 HASH GROUP BY (25) * 21 TABLE ACCESS FULL MLOG$_T (0) * 22 MAT_VIEW ACCESS BY INDEX ROWID T_MV (0) * 23 INDEX UNIQUE SCAN I_SNAP$_T_MV 1 0 (0) Copyright 2016, Oracle and/or its affiliates. All rights reserved

111 Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (20) 1 VIEW (20) 2 UNION-ALL * 3 FILTER * 4 HASH JOIN OUTER (17) * 5 MAT_VIEW ACCESS FULL T_MV (0) 6 VIEW (25) 7 HASH GROUP BY (25) * 8 TABLE ACCESS FULL MLOG$_T (0) 9 VIEW (23) 10 UNION-ALL * 11 FILTER 12 NESTED LOOPS OUTER (25) 13 VIEW (25) * 14 FILTER 15 HASH GROUP BY (25) * 16 TABLE ACCESS FULL MLOG$_T (0) * 17 INDEX UNIQUE SCAN I_SNAP$_T_MV (0) 18 NESTED LOOPS (20) 19 VIEW (25) 20 HASH GROUP BY (25) * 21 TABLE ACCESS FULL MLOG$_T (0) * 22 MAT_VIEW ACCESS BY INDEX ROWID T_MV (0) * 23 INDEX UNIQUE SCAN I_SNAP$_T_MV 1 0 (0) Copyright 2016, Oracle and/or its affiliates. All rights reserved Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (20) 1 VIEW (20) 2 UNION-ALL * 3 FILTER * 4 HASH JOIN OUTER (17) * 5 MAT_VIEW ACCESS FULL T_MV (0) 6 VIEW (25) 7 HASH GROUP BY (25) * 8 TABLE ACCESS FULL MLOG$_T (0) 9 VIEW (23) 10 UNION-ALL * 11 FILTER 12 NESTED LOOPS OUTER (25) 13 VIEW (25) * 14 FILTER 15 HASH GROUP BY (25) * 16 TABLE ACCESS FULL MLOG$_T (0) * 17 INDEX UNIQUE SCAN I_SNAP$_T_MV (0) 18 NESTED LOOPS (20) 19 VIEW (25) 20 HASH GROUP BY (25) * 21 TABLE ACCESS FULL MLOG$_T (0) * 22 MAT_VIEW ACCESS BY INDEX ROWID T_MV (0) * 23 INDEX UNIQUE SCAN I_SNAP$_T_MV 1 0 (0) Copyright 2016, Oracle and/or its affiliates. All rights reserved

112 what about direct queries? Copyright 2016, Oracle and/or its affiliates. All rights reserved. 172 SQL> select /*+ owner, FRESH_MV cnt */ owner, cnt 2 from T_MV 3 where owner like 'S%'; OWNER CNT SYSTEM 482 SYS SI_INFORMTN_SCHEMA 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved

113 SQL> select /*+ FRESH_MV */ owner, cnt 2 from T_MV 3 where owner like 'S%'; OWNER CNT SYSTEM 482 SYS SI_INFORMTN_SCHEMA 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 173 SQL> select /*+ FRESH_MV */ owner, cnt 2 from T_MV 3 where owner like 'S%'; OWNER CNT SYSTEM 482 SYS SI_INFORMTN_SCHEMA 8 Copyright 2016, Oracle and/or its affiliates. All rights reserved

114 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 174 SALES Copyright 2016, Oracle and/or its affiliates. All rights reserved

115 SALES SALES_PK Copyright 2016, Oracle and/or its affiliates. All rights reserved. 175 SALES SALES_PK CUSTOMER Copyright 2016, Oracle and/or its affiliates. All rights reserved

116 SALES SALES_PK CUSTOMER SALE_DATE Copyright 2016, Oracle and/or its affiliates. All rights reserved. 175 SALES SALES_PK CUSTOMER SALE_DATE PRODUCT Copyright 2016, Oracle and/or its affiliates. All rights reserved

117 SALES SALES_PK CUSTOMER SALE_DATE PRODUCT Copyright 2016, Oracle and/or its affiliates. All rights reserved months later... Copyright 2016, Oracle and/or its affiliates. All rights reserved

118 used? Copyright 2016, Oracle and/or its affiliates. All rights reserved. 177 yeah... we had a crack at this before Copyright 2016, Oracle and/or its affiliates. All rights reserved

119 SQL> alter index table_pk monitoring usage; Index altered. SQL> select index_name, monitoring, used 2 from v$object_usage 3 where index_name = 'TABLE_PK'; INDEX_NAME MON USED TABLE_PK YES NO Copyright 2016, Oracle and/or its affiliates. All rights reserved. 179 SQL> select * from table where pk_col = 1;... Copyright 2016, Oracle and/or its affiliates. All rights reserved

120 SQL> select * from table where pk_col = 1;... SQL> select index_name, monitoring, used 2 from v$object_usage 3 where index_name = 'TABLE_PK'; INDEX_NAME MON USED TABLE_PK YES YES Copyright 2016, Oracle and/or its affiliates. All rights reserved. 180 but... Copyright 2016, Oracle and/or its affiliates. All rights reserved

121 detection at parse Copyright 2016, Oracle and/or its affiliates. All rights reserved. 182 SQL> alter table CHILD 2 add constraint CHILD_FK foreign key (my_col ) 3 references PARENT ( my_pk ) 4 on delete cascade; Table altered. SQL> create index CHILD_FK_IX on CHILD ( my_col ); Index created. Copyright 2016, Oracle and/or its affiliates. All rights reserved

122 SQL> delete from PARENT 2 where my_pk = 1; 1 row deleted Id Operation Name Rows Bytes DELETE STATEMENT DELETE PARENT * 2 INDEX RANGE SCAN PARENT_PK Copyright 2016, Oracle and/or its affiliates. All rights reserved. 184 SQL> select index_name, monitoring, used 2 from v$object_usage 3 where index_name = 'CHILD_FK_IX'; INDEX_NAME MON USED TABLE_PK YES NO Copyright 2016, Oracle and/or its affiliates. All rights reserved

123 SQL> select index_name, monitoring, used 2 from v$object_usage 3 where index_name = 'CHILD_FK_IX'; INDEX_NAME MON USED TABLE_PK YES NO Copyright 2016, Oracle and/or its affiliates. All rights reserved. 185 SQL> drop index CHILD_FK_IX; Index dropped. SQL> delete from PARENT 2 where my_pk = 1; Copyright 2016, Oracle and/or its affiliates. All rights reserved

124 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 187 a fresh (and better) look Copyright 2016, Oracle and/or its affiliates. All rights reserved

125 SQL> desc DBA_INDEX_USAGE Name Null? Type OBJECT_ID NOT NULL NUMBER NAME NOT NULL VARCHAR2(128) OWNER NOT NULL VARCHAR2(128) TOTAL_ACCESS_COUNT NUMBER TOTAL_EXEC_COUNT NUMBER TOTAL_ROWS_RETURNED NUMBER BUCKET_0_ACCESS_COUNT NUMBER BUCKET_1_ACCESS_COUNT NUMBER BUCKET_2_10_ACCESS_COUNT NUMBER BUCKET_2_10_ROWS_RETURNED NUMBER BUCKET_11_100_ACCESS_COUNT NUMBER BUCKET_11_100_ROWS_RETURNED NUMBER BUCKET_101_1000_ACCESS_COUNT NUMBER BUCKET_101_1000_ROWS_RETURNED NUMBER BUCKET_1000_PLUS_ACCESS_COUNT NUMBER BUCKET_1000_PLUS_ROWS_RETURNED NUMBER LAST_USED DATE Copyright 2016, Oracle and/or its affiliates. All rights reserved. 189 SQL> desc DBA_INDEX_USAGE Name Null? Type OBJECT_ID NOT NULL NUMBER NAME NOT NULL VARCHAR2(128) OWNER NOT NULL VARCHAR2(128) TOTAL_ACCESS_COUNT NUMBER TOTAL_EXEC_COUNT NUMBER TOTAL_ROWS_RETURNED NUMBER BUCKET_0_ACCESS_COUNT NUMBER BUCKET_1_ACCESS_COUNT NUMBER BUCKET_2_10_ACCESS_COUNT NUMBER BUCKET_2_10_ROWS_RETURNED NUMBER BUCKET_11_100_ACCESS_COUNT NUMBER BUCKET_11_100_ROWS_RETURNED NUMBER BUCKET_101_1000_ACCESS_COUNT NUMBER BUCKET_101_1000_ROWS_RETURNED NUMBER BUCKET_1000_PLUS_ACCESS_COUNT NUMBER BUCKET_1000_PLUS_ROWS_RETURNED NUMBER LAST_USED DATE Copyright 2016, Oracle and/or its affiliates. All rights reserved

126 SQL> desc DBA_INDEX_USAGE Name Null? Type OBJECT_ID NOT NULL NUMBER NAME NOT NULL VARCHAR2(128) OWNER NOT NULL VARCHAR2(128) TOTAL_ACCESS_COUNT NUMBER TOTAL_EXEC_COUNT NUMBER TOTAL_ROWS_RETURNED NUMBER BUCKET_0_ACCESS_COUNT NUMBER BUCKET_1_ACCESS_COUNT NUMBER BUCKET_2_10_ACCESS_COUNT NUMBER BUCKET_2_10_ROWS_RETURNED NUMBER BUCKET_11_100_ACCESS_COUNT NUMBER BUCKET_11_100_ROWS_RETURNED NUMBER BUCKET_101_1000_ACCESS_COUNT NUMBER BUCKET_101_1000_ROWS_RETURNED NUMBER BUCKET_1000_PLUS_ACCESS_COUNT NUMBER BUCKET_1000_PLUS_ROWS_RETURNED NUMBER LAST_USED DATE Copyright 2016, Oracle and/or its affiliates. All rights reserved. 191 SQL> select * from DBA_INDEX_USAGE where name = 'CHILD_FK_IX' ============================== OBJECT_ID : NAME : CHILD_FK_IX OWNER : MCDONAC TOTAL_ACCESS_COUNT : 1078 TOTAL_EXEC_COUNT : 1078 TOTAL_ROWS_RETURNED : 1077 BUCKET_0_ACCESS_COUNT : 1 BUCKET_1_ACCESS_COUNT : 1077 BUCKET_2_10_ACCESS_COUNT : 0 BUCKET_2_10_ROWS_RETURNED : 0 BUCKET_11_100_ACCESS_COUNT : 0 BUCKET_11_100_ROWS_RETURNED : 0 BUCKET_101_1000_ACCESS_COUNT : 0 BUCKET_101_1000_ROWS_RETURNED : 0 BUCKET_1000_PLUS_ACCESS_COUNT : 0 BUCKET_1000_PLUS_ROWS_RETURNED: 0 LAST_USED : 17/08/ :32:51 Copyright 2016, Oracle and/or its affiliates. All rights reserved

127 it's about execution Copyright 2016, Oracle and/or its affiliates. All rights reserved. 193 help you, not replace you Copyright 2016, Oracle and/or its affiliates. All rights reserved

128 indexes can be involved in... Copyright 2016, Oracle and/or its affiliates. All rights reserved more than execution Copyright 2016, Oracle and/or its affiliates. All rights reserved

129 SQL> create table t1 as 2 select 3 mod(rownum,50) c1, 4 mod(rownum,50) c2, 5 rownum c3, 6 rownum c4, 7 rownum c5, 8 rpad(rownum,100) c6 9 from dual 10 connect by level <= 10000; SQL> select count(*) from t1 2 where c1 = 12 and c2 = 12; COUNT(*) Copyright 2016, Oracle and/or its affiliates. All rights reserved. 197 SQL> set autotrace traceonly explain SQL> select * 2 from t 3 where c1 = 12 4 and c2 = 12; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (6) * 1 TABLE ACCESS FULL T (6) Copyright 2016, Oracle and/or its affiliates. All rights reserved

130 SQL> set autotrace traceonly explain SQL> select * 2 from t 3 where c1 = 12 4 and c2 = 12; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (6) * 1 TABLE ACCESS FULL T (6) Copyright 2016, Oracle and/or its affiliates. All rights reserved. 198 SQL> create index IX1 on t1 ( c1,c2 ); Index created. SQL> select * 2 from t 3 where c1 = 12 4 and c2 = 12; Id Operation Name Rows Bytes Cost (%CPU) SELECT STATEMENT (6) * 1 TABLE ACCESS FULL T (6) Copyright 2016, Oracle and/or its affiliates. All rights reserved

131 extended statistics Copyright 2016, Oracle and/or its affiliates. All rights reserved. 200 help your brain, not replace it Copyright 2016, Oracle and/or its affiliates. All rights reserved

132 so be careful invisible first Copyright 2016, Oracle and/or its affiliates. All rights reserved. 202 Copyright 2016, Oracle and/or its affiliates. All rights reserved

133 security Copyright 2016, Oracle and/or its affiliates. All rights reserved. 204 (amazingly) Copyright 2016, Oracle and/or its affiliates. All rights reserved

134 hardware outages... Copyright 2016, Oracle and/or its affiliates. All rights reserved aren't a big deal anymore Copyright 2016, Oracle and/or its affiliates. All rights reserved

135 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 208 Copyright 2016, Oracle and/or its affiliates. All rights reserved

136 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 208 Copyright 2016, Oracle and/or its affiliates. All rights reserved

137 what will kill you... Copyright 2016, Oracle and/or its affiliates. All rights reserved is getting hacked Copyright 2016, Oracle and/or its affiliates. All rights reserved

138 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 211 Copyright 2016, Oracle and/or its affiliates. All rights reserved

139 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 211 Copyright 2016, Oracle and/or its affiliates. All rights reserved

140 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 211 "consumer trust is the new high availability" Copyright 2016, Oracle and/or its affiliates. All rights reserved

141 "consumer trust is the new high availability" - Connor McDonald Copyright 2016, Oracle and/or its affiliates. All rights reserved. 212 security... ain't easy :-( Copyright 2016, Oracle and/or its affiliates. All rights reserved

142 Check core_dump_dest is valid Audit known default role passwords Make extproc secure Change sys password Secure access to catalog roles Disable remote login password file Add password management for default accounts Audit utl_file_dir parameter Audit dbms_backup_restore package permissions Secure ALL_USERS view Check that global_names is true Stop personal data exposure on users accounts Use proxy authentication to help resolve SSO issues Create a role to manage users accounts Remove oo4o if not needed Use obfuscated naming convention for users accounts Audit users accounts for weak passwords Check that max_enabled_roles is set correctly Secure access to dba role views Change system password Audit Java access to the OS Password protect admin roles Check that O7_dictionary_accessibility is set to false Check user_dump_dest is valid Audit use of IFILE Lock dormant database accounts and remove after time delay Check use of system tablespace as default Check that remote_listener is null Check that remote_os_roles is set to false Review database accounts, ensuring they belong to business users. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 214 DBSAT Copyright 2016, Oracle and/or its affiliates. All rights reserved

143 collect system/****** /tmp/dbsat_collect... Connecting to the target Oracle database... SQL*Plus: Release Production on Mon Aug 29 06:16: Copyright (c) 1982, 2016, Oracle. All rights reserved. Last Successful login time: Fri Aug :58:24 +01:00 Connected to: Oracle Database 12c Enterprise Edition Release bit Production Setup complete. SQL queries complete. OS commands complete. Disconnected from Oracle Database 12c Enterprise Edition Release bit Production DBSAT Collector completed successfully. Calling /u01/app/oracle/product/12.2.0/dbhome_2/bin/zip to encrypt dbsat_collect.json... Enter password: Verify password: adding: dbsat_collect.json (deflated 87%) zip completed successfully. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 216 dbsat]$./dbsat report /tmp/dbsat_collect... Archive: /tmp/dbsat_collect.zip [/tmp/dbsat_collect.zip] dbsat_collect.json password: inflating: /tmp/dbsat_collect.json DBSAT Reporter ran successfully. Calling /usr/bin/zip to encrypt the generated reports... Enter password: Verify password: adding: dbsat_collect.txt (deflated 78%) adding: dbsat_collect.html (deflated 83%) adding: dbsat_collect.xlsx (deflated 3%) zip completed successfully. Copyright 2016, Oracle and/or its affiliates. All rights reserved

144 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 218 DBSAT Copyright 2016, Oracle and/or its affiliates. All rights reserved

145 DBSAT Copyright 2016, Oracle and/or its affiliates. All rights reserved. 219 not a typo Copyright 2016, Oracle and/or its affiliates. All rights reserved

146 download from MOS Copyright 2016, Oracle and/or its affiliates. All rights reserved. 221 Copyright 2016, Oracle and/or its affiliates. All rights reserved

147 more on security Copyright 2016, Oracle and/or its affiliates. All rights reserved. 223 common technique Copyright 2016, Oracle and/or its affiliates. All rights reserved

148 SQL> alter user data_owner account lock User altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved. security risk Copyright 2016, Oracle and/or its affiliates. All rights reserved

149 SQL> conn wmsys/wmsys ERROR: ORA-28000: the account is locked Warning: You are no longer connected to ORACLE. Copyright 2016, Oracle and/or its affiliates. All rights reserved. SQL> conn wmsys/wmsys ERROR: ORA-28000: the account is locked Warning: You are no longer connected to ORACLE. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 149

150 18c Copyright 2016, Oracle and/or its affiliates. All rights reserved. 228 better schema management Copyright 2016, Oracle and/or its affiliates. All rights reserved

151 SQL> create user data_owner 2 no authentication; Copyright 2016, Oracle and/or its affiliates. All rights reserved. SQL> conn data_owner/random_password Copyright 2016, Oracle and/or its affiliates. All rights reserved. 151

152 SQL> conn data_owner/random_password ORA-01017: invalid username/password; logon denied Copyright 2016, Oracle and/or its affiliates. All rights reserved. and finally... Copyright 2016, Oracle and/or its affiliates. All rights reserved

153 Oracle Directory Services Copyright 2016, Oracle and/or its affiliates. All rights reserved. 233 Copyright 2016, Oracle and/or its affiliates. All rights reserved

154 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 234 more on security Copyright 2016, Oracle and/or its affiliates. All rights reserved

155 encryption Copyright 2016, Oracle and/or its affiliates. All rights reserved. 236 Copyright 2016, Oracle and/or its affiliates. All rights reserved

156 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 237 SQL> create table MY_IMPORTANT_STUFF 2 ( name varchar2(50), 3 credit_card varchar2(20), 4 ssn varchar2(20) 5 ) 6 tablespace users; Table created. SQL> insert into MY_IMPORTANT_STUFF 2 values ('Connor McDonald',' ',' '); 1 row created. Copyright 2016, Oracle and/or its affiliates. All rights reserved

157 ~]$ strings users01.dbf } {z 2DB122 USERS AAAAAAAA Connor McDonald Copyright 2016, Oracle and/or its affiliates. All rights reserved. 239 transparent data encryption Copyright 2016, Oracle and/or its affiliates. All rights reserved

158 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 241 Copyright 2016, Oracle and/or its affiliates. All rights reserved

159 12.2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 242 TDE online Copyright 2016, Oracle and/or its affiliates. All rights reserved

160 SQL> ADMINISTER KEY MANAGEMENT CREATE KEYSTORE 2 '/u01/app/oracle/secure' IDENTIFIED BY *******; Keystore altered. SQL> ADMINISTER KEY MANAGEMENT SET KEYSTORE 2 OPEN IDENTIFIED BY *******; Keystore altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 244 SQL> select name from v$datafile; NAME /u01/oradata/mydb/system01.dbf /u01/oradata/mydb/sysaux01.dbf /u01/oradata/mydb/undo01.dbf /u01/oradata/mydb/users01.dbf Copyright 2016, Oracle and/or its affiliates. All rights reserved

161 SQL> select name from v$datafile; NAME /u01/oradata/mydb/system01.dbf /u01/oradata/mydb/sysaux01.dbf /u01/oradata/mydb/undo01.dbf /u01/oradata/mydb/users01.dbf SQL> ALTER TABLESPACE users ENCRYPTION ONLINE USING 'AES192' 2 ENCRYPT FILE_NAME_CONVERT= ('users', 'users_enc'); Copyright 2016, Oracle and/or its affiliates. All rights reserved. 245 SQL> select name from v$datafile; NAME /u01/oradata/mydb/system01.dbf /u01/oradata/mydb/sysaux01.dbf /u01/oradata/mydb/undo01.dbf /u01/oradata/mydb/users01.dbf SQL> ALTER TABLESPACE users ENCRYPTION ONLINE USING 'AES192' 2 ENCRYPT FILE_NAME_CONVERT= ('users', 'users_enc'); SQL> select name from v$datafile; NAME /u01/oradata/mydb/system01.dbf /u01/oradata/mydb/sysaux01.dbf /u01/oradata/mydb/undo01.dbf /u01/oradata/mydb/users_enc01.dbf Copyright 2016, Oracle and/or its affiliates. All rights reserved

162 ~]$ strings users_enc01.dbf } {z 2DB122 USERS AAAAAAAA sio+ #Hcc M ]Q ZRk+s C 24Dk Ah!X... Copyright 2016, Oracle and/or its affiliates. All rights reserved. 246 Copyright 2016, Oracle and/or its affiliates. All rights reserved

163 outages... Copyright 2016, Oracle and/or its affiliates. All rights reserved suck Copyright 2016, Oracle and/or its affiliates. All rights reserved

164 12.2 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 250 online "everything" Copyright 2016, Oracle and/or its affiliates. All rights reserved

165 SQL> create table t as select * from dba_objects; Table created. SQL> create index ix on t ( object_id ); Index created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 252 SQL> create table t as select * from dba_objects; Table created. SQL> insert into t select * from t where rownum = 1; SQL> create index ix on t ( object_id ); 1 row created. Index created. SQL> insert into t select * from t where rownum = 1; 1 row created.... Copyright 2016, Oracle and/or its affiliates. All rights reserved

166 SQL> create table t as select * from dba_objects; Table created. SQL> insert into t select * from t where rownum = 1; SQL> create index ix on t ( object_id ); 1 row created. Index created. SQL> insert into t select * from t where rownum = 1; 1 row created. SQL> alter table t move online;... [working] Copyright 2016, Oracle and/or its affiliates. All rights reserved. 252 SQL> commit; Commit complete. Copyright 2016, Oracle and/or its affiliates. All rights reserved

167 SQL> commit; Commit complete. SQL> alter table t move online; [working] Table altered. SQL> select index_name, status from user_indexes; INDEX_NAME STATUS IX VALID Copyright 2016, Oracle and/or its affiliates. All rights reserved. 253 composite operations Copyright 2016, Oracle and/or its affiliates. All rights reserved. 167

168 SQL> alter table MY_SALES move 2 compress tablespace users 3 update indexes 4 (sales_ix1 tablespace indexes01, 5 sales_ix2 tablespace indexes02) 6 online; Table altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 255 partition existing table one command Copyright 2016, Oracle and/or its affiliates. All rights reserved. 168

169 SQL> create table T as 2 select d.* 3 from dba_objects d, 4 ( select 1 from dual 5 connect by level <= 20 ) 6 where d.object_id is not null; Table created. SQL> create index IX on t ( object_id ); Index created. SQL> create index IX2 on t ( created, object_name ); Index created. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 257 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved

170 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. Copyright 2016, Oracle and/or its affiliates. All rights reserved. 258 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. compress Copyright 2016, Oracle and/or its affiliates. All rights reserved

171 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. compress Copyright 2016, Oracle and/or its affiliates. All rights reserved. 258 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. compress Copyright 2016, Oracle and/or its affiliates. All rights reserved

172 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. compress Copyright 2016, Oracle and/or its affiliates. All rights reserved. 258 SQL> alter table T modify 2 partition by range (object_id) interval (10000) 3 ( 4 partition p1 values less than (20000) 5 ) online 6 including rows where created > date ' ' 7 update indexes 8 ( ix local tablespace new_idx_ts, 9 ix2 global partition by range (created) 10 ( 11 partition ix2_p1 values less than (date ' '), 12 partition ix2_p2 values less than (maxvalue) 13 ) 14 ); Table altered. compress Copyright 2016, Oracle and/or its affiliates. All rights reserved

173 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 259 LOBs Copyright 2016, Oracle and/or its affiliates. All rights reserved

174 hey! Copyright 2016, Oracle and/or its affiliates. All rights reserved. 261 that's not new! Copyright 2016, Oracle and/or its affiliates. All rights reserved

175 1997 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 263 securefile LOBs Copyright 2016, Oracle and/or its affiliates. All rights reserved

176 hey! Copyright 2016, Oracle and/or its affiliates. All rights reserved. 265 that's not new! Copyright 2016, Oracle and/or its affiliates. All rights reserved

177 2007 Copyright 2016, Oracle and/or its affiliates. All rights reserved. 267 LOBs are cool Copyright 2016, Oracle and/or its affiliates. All rights reserved

ARE SHOWING CODING SAMPLES SO IF YOU HAVE PASSED THE AGE OF TWENTY THEN YOU SHOULD PROBABLY THINK

ARE SHOWING CODING SAMPLES SO IF YOU HAVE PASSED THE AGE OF TWENTY THEN YOU SHOULD PROBABLY THINK WE ARE SHOWING CODING SAMPLES SO IF YOU HAVE PASSED THE AGE OF TWENTY THEN YOU SHOULD PROBABLY THINK ABOUT SITTING RIGHT UP CLOSE TO THE FRONT OF THE ROOM BECAUSE OTHERWISE YOU MIGHT MISS OUT A N D I F

More information

Programming Languages

Programming Languages Programming Languages Chapter 19 - Continuations Dr. Philip Cannata 1 Exceptions (define (f n) (let/cc esc (/ 1 (if (zero? n) (esc 1) n)))) > (f 0) 1 > (f 2) 1/2 > (f 1) 1 > Dr. Philip Cannata 2 Exceptions

More information

Real-World Performance Training SQL Introduction

Real-World Performance Training SQL Introduction Real-World Performance Training SQL Introduction Real-World Performance Team Basics SQL Structured Query Language Declarative You express what you want to do, not how to do it Despite the name, provides

More information

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries

CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 3: SQL - Joins and Subqueries Chris Walton (cdw@dcs.ed.ac.uk) 11 February 2002 Multiple Tables 1 Redundancy requires excess

More information

Creating and Managing Tables Schedule: Timing Topic

Creating and Managing Tables Schedule: Timing Topic 9 Creating and Managing Tables Schedule: Timing Topic 30 minutes Lecture 20 minutes Practice 50 minutes Total Objectives After completing this lesson, you should be able to do the following: Describe the

More information

King Fahd University of Petroleum and Minerals

King Fahd University of Petroleum and Minerals 1 King Fahd University of Petroleum and Minerals Information and Computer Science Department ICS 334: Database Systems Semester 041 Major Exam 1 18% ID: Name: Section: Grades Section Max Scored A 5 B 25

More information

CS2 Current Technologies Note 1 CS2Bh

CS2 Current Technologies Note 1 CS2Bh CS2 Current Technologies Note 1 Relational Database Systems Introduction When we wish to extract information from a database, we communicate with the Database Management System (DBMS) using a query language

More information

What are temporary tables? When are they useful?

What are temporary tables? When are they useful? What are temporary tables? When are they useful? Temporary tables exists solely for a particular session, or whose data persists for the duration of the transaction. The temporary tables are generally

More information

SQL Structured Query Language Introduction

SQL Structured Query Language Introduction SQL Structured Query Language Introduction Rifat Shahriyar Dept of CSE, BUET Tables In relational database systems data are represented using tables (relations). A query issued against the database also

More information

CS2 Current Technologies Lecture 2: SQL Programming Basics

CS2 Current Technologies Lecture 2: SQL Programming Basics T E H U N I V E R S I T Y O H F R G E D I N B U CS2 Current Technologies Lecture 2: SQL Programming Basics Dr Chris Walton (cdw@dcs.ed.ac.uk) 4 February 2002 The SQL Language 1 Structured Query Language

More information

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University

Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University 1 Department of Computer Science and Information Systems, College of Business and Technology, Morehead State University Lecture 3 Part A CIS 311 Introduction to Management Information Systems (Spring 2017)

More information

Oracle Database 18c. Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases

Oracle Database 18c. Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases Oracle Database 18c Gentle introduction to Polymorphic Tables Functions with Common patterns and sample use cases About me. Keith Laker Product Manager for Analytic SQL and Autonomous DW Oracle Blog: oracle-big-data.blogspot.com

More information

Introduction. Introduction to Oracle: SQL and PL/SQL

Introduction. Introduction to Oracle: SQL and PL/SQL Introduction Introduction to Oracle: SQL and PL/SQL 1 Objectives After completing this lesson, you should be able to do the following: Discuss the theoretical and physical aspects of a relational database

More information

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM

ORACLE 12C NEW FEATURE. A Resource Guide NOV 1, 2016 TECHGOEASY.COM ORACLE 12C NEW FEATURE A Resource Guide NOV 1, 2016 TECHGOEASY.COM 1 Oracle 12c New Feature MULTITENANT ARCHITECTURE AND PLUGGABLE DATABASE Why Multitenant Architecture introduced with 12c? Many Oracle

More information

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1

Part III. Data Modelling. Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Part III Data Modelling Marc H. Scholl (DBIS, Uni KN) Information Management Winter 2007/08 1 Outline of this part (I) 1 Introduction to the Relational Model and SQL Relational Tables Simple Constraints

More information

Oracle Database 12c Release 2

Oracle Database 12c Release 2 Oracle Database 12c Release 2 New Features (OVERVIEW) Rhoda Sarmiento-Pereira Oracle Support Safe Harbor Statement The following is intended to outline our general product direction. It is intended for

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1 The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any

More information

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables)

Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) Top 5 Issues that Cannot be Resolved by DBAs (other than missed bind variables) March 12, 2013 Michael Rosenblum Dulcian, Inc. www.dulcian.com 1 of 43 Who Am I? Misha Oracle ACE Co-author of 2 books PL/SQL

More information

Objectives. After completing this lesson, you should be able to do the following:

Objectives. After completing this lesson, you should be able to do the following: Objectives After completing this lesson, you should be able to do the following: Describe the types of problems that subqueries can solve Define subqueries List the types of subqueries Write single-row

More information

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

Oracle Flashback Data Archive (FDA) O R A C L E W H I T E P A P E R M A R C H

Oracle Flashback Data Archive (FDA) O R A C L E W H I T E P A P E R M A R C H Oracle Flashback Data Archive (FDA) O R A C L E W H I T E P A P E R M A R C H 2 0 1 8 Table of Contents Disclaimer 1 Introduction 2 Tracking/Viewing Changes is Complicated 3 Enabling Flashback Data Archive

More information

Oracle Database 18c and Autonomous Database

Oracle Database 18c and Autonomous Database Oracle Database 18c and Autonomous Database Maria Colgan Oracle Database Product Management March 2018 @SQLMaria Safe Harbor Statement The following is intended to outline our general product direction.

More information

Oracle DB-Tuning Essentials

Oracle DB-Tuning Essentials Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.

More information

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement

GIFT Department of Computing Science Data Selection and Filtering using the SELECT Statement GIFT Department of Computing Science [Spring 2013] CS-217: Database Systems Lab-2 Manual Data Selection and Filtering using the SELECT Statement V1.0 4/12/2016 Introduction to Lab-2 This lab reinforces

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN LAUSANNE

More information

Oracle Database Server 12c Pros and Cons

Oracle Database Server 12c Pros and Cons Oracle Database Server 12c Pros and Cons Hans Forbrich Forbrich Consulting Ltd Based in Alberta, Canada Fact Oracle DB 12c is the largest architectural change since Oracle8i Fact Oracle documentation

More information

1 SQL Structured Query Language

1 SQL Structured Query Language 1 SQL Structured Query Language 1.1 Tables In relational database systems (DBS) data are represented using tables (relations). A query issued against the DBS also results in a table. A table has the following

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 - Multitenancy for Applications Markus Flechtner BASLE BERN BRUGG DÜSSELDORF FRANKFURT A.M. FREIBURG I.BR. GENEVA HAMBURG COPENHAGEN

More information

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse.

Database Management System. * First install Mysql Database or Wamp Server which contains Mysql Databse. Database Management System * First install Mysql Database or Wamp Server which contains Mysql Databse. * Installation steps are provided in pdf named Installation Steps of MySQL.pdf or WAMP Server.pdf

More information

Application Containers an Introduction

Application Containers an Introduction Application Containers an Introduction Oracle Database 12c Release 2 Multitenancy for Applications Markus Flechtner @markusdba doag2017 Our company. Trivadis is a market leader in IT consulting, system

More information

Oracle Login Max Length Table Name 11g Column Varchar2

Oracle Login Max Length Table Name 11g Column Varchar2 Oracle Login Max Length Table Name 11g Column Varchar2 Get max(length(column)) for all columns in an Oracle table tables you are looking at BEGIN -- loop through column names in all_tab_columns for a given

More information

ACCESS isn t only a great development tool it s

ACCESS isn t only a great development tool it s Upsizing Access to Oracle Smart Access 2000 George Esser In addition to showing you how to convert your Access prototypes into Oracle systems, George Esser shows how your Access skills translate into Oracle.

More information

Load data into Table from external files, using two methods:

Load data into Table from external files, using two methods: Load data into Table from external files, using two methods: 1) SQL Loader 2) External tables I) SQL Loader. Source Table Name : SYS.DBA_USERS Target Table Name : SYS.MY_DBA_USERS 1) We need to have the

More information

Safe Harbor Statement

Safe Harbor Statement Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment

More information

Oracle. Exam Questions 1Z Oracle Database 11g: New Features for 9i OCPs. Version:Demo

Oracle. Exam Questions 1Z Oracle Database 11g: New Features for 9i OCPs. Version:Demo Oracle Exam Questions 1Z0-055 Oracle Database 11g: New Features for 9i OCPs Version:Demo 1. Which is the source used by Automatic SQL Tuning that runs as part of the AUTOTASK framework? A. SQL statements

More information

PBarel@Qualogy.com http://blog.bar-solutions.com About me Patrick Barel Working with Oracle since 1997 Working with PL/SQL since 1999 Playing with APEX since 2003 (mod_plsql) ACE since 2011 OCA since December

More information

Automating Information Lifecycle Management with

Automating Information Lifecycle Management with Automating Information Lifecycle Management with Oracle Database 2c The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated

More information

Sqlplus To Create The Plan_table In Your Schema

Sqlplus To Create The Plan_table In Your Schema Sqlplus To Create The Plan_table In Your Schema It provides an example of how to create a SQL Plan Baseline for a query with auto capture, and it demonstrates how You can use sqlplus on the commandline

More information

Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)?

Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)? Volume: 176 Questions Question No : 1 Which three statements are true regarding the use of the Database Migration Assistant for Unicode (DMU)? A. A DBA can check specific tables with the DMU B. The database

More information

Pivot Tables Motivation (1)

Pivot Tables Motivation (1) Pivot Tables The Pivot relational operator (available in some SQL platforms/servers) allows us to write cross-tabulation queries from tuples in tabular layout. It takes data in separate rows, aggregates

More information

Informatics Practices (065) Sample Question Paper 1 Section A

Informatics Practices (065) Sample Question Paper 1 Section A Informatics Practices (065) Sample Question Paper 1 Note 1. This question paper is divided into sections. Section A consists 30 marks. 3. Section B and Section C are of 0 marks each. Answer the questions

More information

Granting Read-only Access To An Existing Oracle Schema

Granting Read-only Access To An Existing Oracle Schema Granting Read-only Access To An Existing Oracle Schema Oracle recommends that you only grant the ANY privileges to trusted users. Use the IDENTIFIED BY clause to specify a new password for an existing

More information

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date

Table : Purchase. Field DataType Size Constraints CustID CHAR 5 Primary key CustName Varchar 30 ItemName Varchar 30 PurchaseDate Date Q1. Write SQL query for the following : (i) To create above table as per specification given (ii) To insert 02 records as per your choice (iii) Display the Item name, qty & s of all items purchased by

More information

Query Rewrite. 9.1 Setting up Query Rewrite

Query Rewrite. 9.1 Setting up Query Rewrite Query Rewrite 9 In Chapter 7, we described materialized views, which can be used to precompute and store results of frequently used queries. A major benefit of doing this is that you can use query rewrite

More information

Partitioning. The Uses of Partitioning

Partitioning. The Uses of Partitioning Partitioning Partitioning in Oracle was first introduced in Oracle 8.0. It is the ability to physically break a table or index into many smaller more manageable pieces. As far as the application accessing

More information

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g

<Insert Picture Here> DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g DBA s New Best Friend: Advanced SQL Tuning Features of Oracle Database 11g Peter Belknap, Sergey Koltakov, Jack Raitto The following is intended to outline our general product direction.

More information

Tablespace Usage By Schema In Oracle 11g Query To Check Temp

Tablespace Usage By Schema In Oracle 11g Query To Check Temp Tablespace Usage By Schema In Oracle 11g Query To Check Temp The APPS schema has access to the complete Oracle E-Business Suite data model. E-Business Suite Release 12.2 requires an Oracle database block

More information

Disaster Recovery: Restore Database from One Server to another Server when Different Location

Disaster Recovery: Restore Database from One Server to another Server when Different Location Disaster Recovery: Restore Database from One Server to another Server when Different Location Mohamed Azar Oracle DBA http://mohamedazar.wordpress.com 1 Mohamed Azar http://mohamedazar.wordpress.com Step

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 13 1 What s New in Security in the Latest Generation of Database Technology Thomas Kyte http://asktom.oracle.com 2 The following is intended to outline our general product direction. It is intended for information

More information

Oracle DB-Tuning Essentials

Oracle DB-Tuning Essentials Infrastructure at your Service. Oracle DB-Tuning Essentials Agenda 1. The DB server and the tuning environment 2. Objective, Tuning versus Troubleshooting, Cost Based Optimizer 3. Object statistics 4.

More information

5 Integrity Constraints and Triggers

5 Integrity Constraints and Triggers 5 Integrity Constraints and Triggers 5.1 Integrity Constraints In Section 1 we have discussed three types of integrity constraints: not null constraints, primary keys, and unique constraints. In this section

More information

"Charting the Course... Oracle 18c DBA I (3 Day) Course Summary

Charting the Course... Oracle 18c DBA I (3 Day) Course Summary Oracle 18c DBA I (3 Day) Course Summary Description This course provides a complete, hands-on introduction to Oracle Database Administration including the use of Enterprise Manager (EMDE), SQL Developer

More information

Get Oracle Schema Ddl Syntax With Dbms_metadata

Get Oracle Schema Ddl Syntax With Dbms_metadata Get Oracle Schema Ddl Syntax With Dbms_metadata It there an easy way to extract DDLs from an Oracle 10 schema (tables and route, then rather than trying to convert Oracle DDL syntax to H2 you'd be better

More information

Oracle 11g Partitioning new features and ILM

Oracle 11g Partitioning new features and ILM Oracle 11g Partitioning new features and ILM H. David Gnau Sales Consultant NJ Mark Van de Wiel Principal Product Manager The following is intended to outline our general product

More information

Oracle Application Express fast = true

Oracle Application Express fast = true Oracle Application Express fast = true Joel R. Kallman Director, Software Development Oracle Application Express, Server Technologies Division November 19, 2014 APEX Open Mic Night 2030 in Istanbul Demonstrations

More information

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12

Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1 Copyright 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 Managing Oracle Database 12c with Oracle Enterprise Manager 12c Martin

More information

Real Application Security Administration

Real Application Security Administration Oracle Database Real Application Security Administration Console (RASADM) User s Guide 12c Release 2 (12.2) E85615-01 June 2017 Real Application Security Administration Oracle Database Real Application

More information

Copyright 2013, Oracle and/or its affiliates. All rights reserved.

Copyright 2013, Oracle and/or its affiliates. All rights reserved. 1 Upgrade to Oracle Database 12c 何革新 Gexin.he@oracle.com The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into

More information

Tuning Considerations for Different Applications Lesson 4

Tuning Considerations for Different Applications Lesson 4 4 Tuning Considerations for Different Applications Lesson 4 Objectives After completing this lesson, you should be able to do the following: Use the available data access methods to tune the logical design

More information

Introduc.on to Databases

Introduc.on to Databases Introduc.on to Databases G6921 and G6931 Web Technologies Dr. Séamus Lawless Housekeeping Course Structure 1) Intro to the Web 2) HTML 3) HTML and CSS Essay Informa.on Session 4) Intro to Databases 5)

More information

Optimizer Plan Stability

Optimizer Plan Stability Optimizer Plan Stability Oracle8i allows a developer to save a set of hints to the server describing how to execute a specific SQL statement in the database. This feature is referred to as Optimizer Plan

More information

Discuss the various parameters and privileges that must be set in order to use this feature.

Discuss the various parameters and privileges that must be set in order to use this feature. Materialized Views Materialized views are a data warehousing/decision support system tool that can increase by many orders of magnitude the speed of queries that access a large number (maybe many hundreds

More information

18(ish) Things Developers Will About 18c

18(ish) Things Developers Will About 18c 18(ish) Things Developers Will About 18c Chris Saxon, @ChrisRSaxon & @SQLDaily blogs.oracle.com/sql youtube.com/c/themagicofsql asktom.oracle.com Copyright 2017, Oracle and/or its affiliates. All rights

More information

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express

Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express Lab4 - Managing Database Storage Structures Using Enterprise Manager Database Express Contents Managing Database Storage Structures Using Enterprise Manager Database Express... 1 Overview... 2 Configuring

More information

Topic 8 Structured Query Language (SQL) : DML Part 2

Topic 8 Structured Query Language (SQL) : DML Part 2 FIT1004 Database Topic 8 Structured Query Language (SQL) : DML Part 2 Learning Objectives: Use SQL functions Manipulate sets of data Write subqueries Manipulate data in the database References: Rob, P.

More information

Scaling To Infinity: Making Star Transformations Sing. Thursday 15-November 2012 Tim Gorman

Scaling To Infinity: Making Star Transformations Sing. Thursday 15-November 2012 Tim Gorman Scaling To Infinity: Making Star Transformations Sing Thursday 15-November 2012 Tim Gorman www.evdbt.com Speaker Qualifications Co-author 1. Oracle8 Data Warehousing, 1998 John Wiley & Sons 2. Essential

More information

Active Databases Part 1: Introduction CS561

Active Databases Part 1: Introduction CS561 Active Databases Part 1: Introduction CS561 1 Active Databases n Triggers and rules are developed for data integrity and constraints n Triggers make passive database active Database reacts to certain situations

More information

TestsDumps. Latest Test Dumps for IT Exam Certification

TestsDumps.  Latest Test Dumps for IT Exam Certification TestsDumps http://www.testsdumps.com Latest Test Dumps for IT Exam Certification Exam : 1z1-067 Title : Upgrade Oracle9i/10g/11g OCA to Oracle Database 12c OCP Vendor : Oracle Version : DEMO 1 NO.1 Examine

More information

Oracle Database: SQL and PL/SQL Fundamentals

Oracle Database: SQL and PL/SQL Fundamentals Oracle University Contact Us: 001-855-844-3881 & 001-800-514-06-9 7 Oracle Database: SQL and PL/SQL Fundamentals Duration: 5 Days What you will learn This Oracle Database: SQL and PL/SQL Fundamentals training

More information

Autonomous Transactions

Autonomous Transactions Autonomous Transactions Autonomous transactions allow you to create a new transaction within a transaction that may commit or roll back changes, independently of its parent transaction. They allow you

More information

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability

SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability SQL Gone Wild: Taming Bad SQL the Easy Way (or the Hard Way) Sergey Koltakov Product Manager, Database Manageability Oracle Enterprise Manager Top-Down, Integrated Application Management Complete, Open,

More information

Oracle 1Z Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP. Download Full Version :

Oracle 1Z Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP. Download Full Version : Oracle 1Z0-034 Upgrade Oracle9i/10g OCA to Oracle Database 11g OCP Download Full Version : http://killexams.com/pass4sure/exam-detail/1z0-034 QUESTION: 142 You executed the following query: SELECT oldest_flashback_scn,

More information

Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1

Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1 Oracle University Contact Us: Local: 0180 2000 526 Intl: +49 8914301200 Oracle Database 12c R2: New Features for 12c R1 Administrators Ed 1 Duration: 5 Days What you will learn The Oracle Database 12c

More information

Things to remember when working with Oracle... (for UDB specialists)

Things to remember when working with Oracle... (for UDB specialists) TRAINING & CONSULTING Things to remember when working with Oracle... (for UDB specialists) Kris Van Thillo, ABIS ABIS Training & Consulting www.abis.be training@abis.be 2013 Document number: DB2LUWUserMeeting2013Front.fm

More information

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database.

SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL SQL is an English like language consisting of commands to store, retrieve, maintain & regulate access to your database. SQL*Plus SQL*Plus is an application that recognizes & executes SQL commands &

More information

Enhancements and New Features in Oracle 12c Summarized

Enhancements and New Features in Oracle 12c Summarized Enhancements and New Features in Oracle 12c Summarized In this blog post I would be highlighting few of the features that are now available on Oracle Database 12cRelease. Here listing below in a summarized

More information

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved.

Database Foundations. 6-3 Data Definition Language (DDL) Copyright 2015, Oracle and/or its affiliates. All rights reserved. Database Foundations 6-3 Roadmap You are here Introduction to Oracle Application Express Structured Query Language (SQL) Data Definition Language (DDL) Data Manipulation Language (DML) Transaction Control

More information

DBAs can use Oracle Application Express? Why?

DBAs can use Oracle Application Express? Why? DBAs can use Oracle Application Express? Why? 20. Jubilarna HROUG Konferencija October 15, 2015 Joel R. Kallman Director, Software Development Oracle Application Express, Server Technologies Division Copyright

More information

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators

OpenWorld 2018 SQL Tuning Tips for Cloud Administrators OpenWorld 2018 SQL Tuning Tips for Cloud Administrators GP (Prabhaker Gongloor) Senior Director of Product Management Bjorn Bolltoft Dr. Khaled Yagoub Systems and DB Manageability Development Oracle Corporation

More information

Definitions. Database Architecture. References Fundamentals of Database Systems, Elmasri/Navathe, Chapter 2. HNC Computing - Databases

Definitions. Database Architecture. References Fundamentals of Database Systems, Elmasri/Navathe, Chapter 2. HNC Computing - Databases HNC Computing - s HNC Computing - s Architecture References Fundamentals of Systems, Elmasri/Navathe, Chapter 2 Systems : A Practical Approach, Connolly/Begg/Strachan, Chapter 2 Definitions Schema Description

More information

What's New in MySQL 5.7?

What's New in MySQL 5.7? What's New in MySQL 5.7? Norvald H. Ryeng Software Engineer norvald.ryeng@oracle.com Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information

More information

Databases IIB: DBMS-Implementation Exercise Sheet 13

Databases IIB: DBMS-Implementation Exercise Sheet 13 Prof. Dr. Stefan Brass January 27, 2017 Institut für Informatik MLU Halle-Wittenberg Databases IIB: DBMS-Implementation Exercise Sheet 13 As requested by the students, the repetition questions a) will

More information

Oracle 1Z Upgrade to Oracle Database 12c. Download Full Version :

Oracle 1Z Upgrade to Oracle Database 12c. Download Full Version : Oracle 1Z0-060 Upgrade to Oracle Database 12c Download Full Version : https://killexams.com/pass4sure/exam-detail/1z0-060 QUESTION: 141 Which statement is true about Enterprise Manager (EM) express in

More information

Database implementation Further SQL

Database implementation Further SQL IRU SEMESTER 2 January 2010 Semester 1 Session 2 Database implementation Further SQL Objectives To be able to use more advanced SQL statements, including Renaming columns Order by clause Aggregate functions

More information

An Overview of Oracle Indexes

An Overview of Oracle Indexes Indexes Indexing is a crucial aspect of your application design and development. Too many indexes and the performance of DML will suffer. Too few indexes and the performance of queries (including inserts,

More information

Miguel Anjo (IT/ADC)

Miguel Anjo (IT/ADC) Database Workshop for LHC online/offline developers SQL (2/2) (IT/ADC) Miguel.Anjo@cern.ch http://cern.ch/it-adc (based on Andrea Valassi slides on Advanced SQL) 26 January 2005 Previous tutorials: Database

More information

Oracle parallelism. Do It Yourself: 9i, 10g Oracle: in dbms_parallel_execute

Oracle parallelism. Do It Yourself: 9i, 10g Oracle: in dbms_parallel_execute Oracle parallelism Do It Yourself: 9i, 10g Oracle: in 11.2 dbms_parallel_execute Boris Oblak Abakus plus d.o.o. Parallel executing Abakus plus d.o.o. History from 1992, ~20 employees Applications: special

More information

Developing Integrated Engine for Database Administrator and Developer

Developing Integrated Engine for Database Administrator and Developer Developing Integrated Engine for Database Administrator and Developer Alan Seelan, Jeongkyu Lee Department of Computer Science and Engineering University of Bridgeport, CT {aseelan,jelee}@bridgeport.edu

More information

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 )

SQL. - single row functions - Database Design ( 데이터베이스설계 ) JUNG, Ki-Hyun ( 정기현 ) SQL Database Design ( 데이터베이스설계 ) - single row functions - JUNG, Ki-Hyun ( 정기현 ) 1 SQL Functions Input Function Output Function performs action that defined already before execution 2 Two Types of SQL Functions

More information

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration

Overview of PL/SQL. About PL/SQL. PL/SQL Environment. Benefits of PL/SQL. Integration About PL/ Overview of PL/ PL/ is an extension to with design features of programming languages. Data manipulation and query statements of are included within procedural units of code. PL/ Environment Benefits

More information

Oracle DBA Course Content

Oracle DBA Course Content 1 Oracle DBA Course Content Database Architecture: Introduction to Instance and Database How user connects to database How SQL statement process in the database Oracle data dictionary and its role Memory

More information

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012

Ensuring Optimal Performance. Vivek Sharma. 3 rd November 2012 Sangam 2012 Ensuring Optimal Performance Vivek Sharma 3 rd November 2012 Sangam 2012 Who am I? Around 12 Years using Oracle Products Certified DBA versions 8i Specializes in Performance Optimization COE Lead with

More information

Oracle Multitenant What s new in Oracle Database 12c Release ?

Oracle Multitenant What s new in Oracle Database 12c Release ? Oracle Multitenant What s new in Oracle Database 12c Release 12.1.0.2? Saurabh K. Gupta Principal Technologist, Database Product Management Who am I? Principal Technologist, Database Product Management

More information

Oracle Schema Create Date Index Trunc >>>CLICK HERE<<<

Oracle Schema Create Date Index Trunc >>>CLICK HERE<<< Oracle Schema Create Date Index Trunc Changes in This Release for Oracle Database SQL Language Reference. open References to Partitioned Tables and Indexes References to Object Type Attributes and Methods

More information

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved.

What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering. Copyright 2015, Oracle and/or its affiliates. All rights reserved. What s New in MySQL 5.7 Geir Høydalsvik, Sr. Director, MySQL Engineering Safe Harbor Statement The following is intended to outline our general product direction. It is intended for information purposes

More information

1z0-062.exam.215q 1z0-062 Oracle Database 12c: Installation and Administration

1z0-062.exam.215q 1z0-062 Oracle Database 12c: Installation and Administration 1z0-062.exam.215q Number: 1z0-062 Passing Score: 800 Time Limit: 120 min 1z0-062 Oracle Database 12c: Installation and Administration Exam A QUESTION 1 You notice a high number of waits for the db file

More information

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites

Oracle Database. Installation and Configuration of Real Application Security Administration (RASADM) Prerequisites Oracle Database Real Application Security Administration 12c Release 1 (12.1) E61899-04 May 2015 Oracle Database Real Application Security Administration (RASADM) lets you create Real Application Security

More information

RMOUG Training Days 2018

RMOUG Training Days 2018 RMOUG Training Days 2018 Pini Dibask Product Manager for Database Tools February 22 nd, 2018 Oracle Database Locking Mechanism Demystified About the Speaker Pini Dibask, Product Manager for Database Tools,

More information

October 3, 2017 Vit Spinka Chief Architect

October 3, 2017 Vit Spinka Chief Architect Reading the execution plan deep dive into SGA memory October 3, 2017 Vit Spinka Chief Architect Explain plan, dbms_xplan How to read the SGA and PGA Find the plan for a SQL Rows of a plan Column projections,

More information

IS4510 Compiled by: Zafar Iqbal Khan Lecturer, Dept of IS, CCES, Salaman bin Abdul Aziz University

IS4510 Compiled by: Zafar Iqbal Khan Lecturer, Dept of IS, CCES, Salaman bin Abdul Aziz University Database Administration Lab Manual IS4510 Compiled by: Zafar Iqbal Khan Lecturer, Dept of IS, CCES, Salaman bin Abdul Aziz University Lab Session - 1 Objective:- To be aware of various Oracle Database

More information