Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

The Oracle Autonomous Database

184 views

Published on

The Autonomous Database.
What does that mean? What does it do?
A beginner's walk-through of the technology and what the implications are for DBAs

Published in: Technology
  • Be the first to comment

  • Be the first to like this

The Oracle Autonomous Database

  1. 1. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 2
  2. 2. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Typical speaker ego slide youtube tinyurl.com/connor-tube blog connor-mcdonald.com twitter @connor_mc_d
  3. 3. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 4 https://asktom.oracle.com
  4. 4. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 5https://asktom.oracle.com/officehours
  5. 5. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 80 hours of free access / Q&A so far 6 Feb - Jun
  6. 6. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 18c - The Autonomous Database Connor McDonald Developer Advocate
  7. 7. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 8 18c - The Autonomous Database
  8. 8. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "18c - the autonomous database" 9
  9. 9. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "Whoa....hold on!" 10
  10. 10. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 12c, 13, 14, 15, 16, 17, 18c 11 ? 10g, 11g,
  11. 11. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 18c = 12.2.0.2 12 MOS 2285040.1
  12. 12. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 13 1 2 18 19 20
  13. 13. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 14 No “FIRST” and “SECOND” releases anymore!
  14. 14. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 15 Fewer One-Off Patches!
  15. 15. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 16 3 Number Format Year.Update.Revision
  16. 16. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 17 18.1.0 target - quarterly
  17. 17. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 18 18c Oracle Database 18.1.0 Production 18.2.0 First Update 18.2.1 First Revision
  18. 18. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 19 Version number reflects patch level!
  19. 19. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 20 A Release Update or Revision is only a patch, not a database upgrade!
  20. 20. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 21 Patch: Oracle 18.2.1 ⇢ Oracle 18.6.0 opatch Upgrade: Oracle 18.2.1 ⇢ Oracle 19.1.0 dbupgrade and DBUA
  21. 21. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "revision" versus "update" 22
  22. 22. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 23 18.1.0 18.2.0 First Update 18.1.1 First Revision security, regression, no functionality changes no optimizer changes security, regression, functional changes optimizer changes
  23. 23. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "18c - the autonomous database" 24
  24. 24. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | autonomous is a cloud offering 25
  25. 25. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 26 Autonomous Database = + +
  26. 26. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | so what is the big deal ? 27
  27. 27. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | trip down memory lane #1 28
  28. 28. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | who remembers these numbers ? 29
  29. 29. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 121 249 505 30
  30. 30. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 31 ORA-1631: max # extents 505 reached in table SCOTT.EMP 121 = 2k block size 249 = 4k block size
  31. 31. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | who thinks about extents anymore? 32
  32. 32. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 7.3 = unlimited extents 33 semi-automatic uet$, fet$
  33. 33. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 8.1 = locally managed tablespaces 34 fully automatic bitmap extents
  34. 34. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | trip down memory lane #2 35
  35. 35. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 36 create table SALES ( ... ... ... ) freelists 4 freelist groups 1
  36. 36. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ASSM 37
  37. 37. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | automatic segment space management 38
  38. 38. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | automation = 39 "we know the implementation, and it is being performed by the software based on our rules"
  39. 39. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | automation ... towards autonomy 40
  40. 40. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | trip down memory lane #3 41
  41. 41. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | who remembers these parameters ? 42
  42. 42. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 43 ROLLBACK_SEGMENTS = (r0,r1,r2,r3,r4,r5,r6) TRANSACTIONS_PER_ROLLBACK_SEGMENT = 20 CLEANUP_ROLLBACK_ENTRIES = 10 SYSTEM non-SYSTEM
  43. 43. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | who thinks about undo anymore? 44
  44. 44. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 9.0 = automatic undo 45 undo_tablespace =
  45. 45. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 46 but it's more than automation
  46. 46. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 47 SQL> select count(*) from dba_rollback_segs; COUNT(*) ---------- ????
  47. 47. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 48 segment count growth / reduction ...
  48. 48. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 49 ... decided by the database
  49. 49. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | autonomy = 50 "we do not know the implementation, we do not set the rules, decisions by the software"
  50. 50. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 51 we've been doing this for a while :-)
  51. 51. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 52 Oracle Database 10g and below • Automatic Storage Management (ASM) • Automatic Memory Management • Automatic DB Diagnostic Monitor (ADDM) • Automatic Workload Repository (AWR) • Automatic Undo tablespaces • Automatic Segment Space Management • Automatic Statistics Gathering • Automatic Standby Management (Broker) • Automatic Query Rewrite Oracle Database 11g, 12c • Automatic SQL Tuning • Automatic Workload Replay • Automatic Capture of SQL Monitor • Automatic Data Optimization • Automatic Storage Indexes • Automatic Columnar Cache • Automatic Diagnostic Framework • Automatic Refresh of Database Cloning • Autonomous Health Framework
  52. 52. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  53. 53. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 54 well ... sort of
  54. 54. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 55 databases ... are hard transactional, instantaneous response standard reports, fast response end of day/week/month batch, longer but capped window ad hoc query, arbitrary criteria/duration
  55. 55. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 56 all at the same time transactional, instantaneous response standard reports, fast response end of day/week/month batch, longer but capped window ad hoc query, arbitrary criteria/duration
  56. 56. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 57 so we started "easy" :-)
  57. 57. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 58 data warehousing usage commonality flexible response times
  58. 58. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 59 Oracle Autonomous Database Enterprise OLTP Data Warehousing Q1 2018 CY 2018 Data Warehousing
  59. 59. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 60 autonomous objectives
  60. 60. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 61 1) easy storage quotas indexing partitioning parallelism compression availability etc etc load data run queries
  61. 61. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 62 2) fast or faster Exadata infrastructure Enterprise edition
  62. 62. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 63 3) elastic
  63. 63. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 64 3) truly elastic scale CPU & storage up, no outage scale CPU down to save $
  64. 64. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 65 4) fully managed backup / recovery patching upgrades HA (99.95)
  65. 65. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Oracle Exadata Cloud Service Oracle Database Cloud Service Express Cloud Service Data Warehouse Services (EDWs, DW, departmental marts and sandboxes) Autonomous Data Warehouse Cloud Service Console Built-in Access Tools SQL Worksheet Oracle ML Service Management DW Database SQL Developer Developer Tools Data Integration Services Oracle Data Integration Cloud Service 3rd Party DI on Oracle Cloud Compute 3rd Party DI on-premises
  66. 66. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 67 walkthrough
  67. 67. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 68 "5 easy steps"
  68. 68. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 69
  69. 69. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | creating your database 70 name region CPUs storage
  70. 70. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | you're done! 71 admin user password
  71. 71. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "demo" 72
  72. 72. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 73
  73. 73. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  74. 74. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  75. 75. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  76. 76. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  77. 77. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  78. 78. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  79. 79. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  80. 80. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 81
  81. 81. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | connecting to your database 82
  82. 82. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | emphasis on security 83 SSL only wallet
  83. 83. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | single download 84 service console
  84. 84. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "demo" 85
  85. 85. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  86. 86. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  87. 87. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  88. 88. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  89. 89. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  90. 90. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  91. 91. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | SQL Developer 92 native support
  92. 92. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Location of the zip file Wallet password Database service name
  93. 93. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | other tools 94 standard connectivty
  94. 94. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 95 C:temp>unzip -l credential.zip Archive: credential.zip Length Date Time Name --------- ---------- ----- ---- 0 04/06/2018 08:37 7045 04/06/2018 08:22 cwallet.sso 0 04/06/2018 08:37 cwallet.sso.lck 7000 04/06/2018 08:22 ewallet.p12 0 04/06/2018 08:37 ewallet.p12.lck 3182 04/06/2018 08:22 keystore.jks 132 11/06/2018 11:04 sqlnet.ora 334 04/06/2018 08:22 tnsnames.ora 3797 04/06/2018 08:22 truststore.jks --------- ------- 21490 9 files
  95. 95. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 96 sqlnet.ora WALLET_LOCATION = (SOURCE = (METHOD = file) (METHOD_DATA = (DIRECTORY="..."))) SSL_SERVER_DN_MATCH=yes tnsnames.ora DW = (description= (address=(protocol=tcps)(port=1522)(host=...)) (connect_data=(service_name=...)) (security=(ssl_server_cert_dn="CN=...")) )
  96. 96. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | database services 97 predefined
  97. 97. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | No of concurrent queries Max idle time CPU shares HIGH 3 5 mins 4 MEDIUM 20 5 mins 2 LOW 32 1 hour 1 MY_DBNAME_ MY_DBNAME_ MY_DBNAME_
  98. 98. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 99
  99. 99. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | users for your database 100
  100. 100. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 101 SQL> create user MY_DATA identified by MY_PASSWORD; SQL> grant DWROLE to MY_DATA; You're done!
  101. 101. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | other users as per normal 102
  102. 102. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 103
  103. 103. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | loading your database 104
  104. 104. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ADWC Object Storage SQL*Net
  105. 105. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | DBMS_CLOUD 106 focus on "1) easy"
  106. 106. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | external tables are .... "fun" 107
  107. 107. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 108 CREATE TABLE emp_ext ( EMPNO NUMBER(4), ENAME VARCHAR2(10), JOB VARCHAR2(9), MGR NUMBER(4), HIREDATE DATE, SAL NUMBER(7,2), COMM NUMBER(7,2), DEPTNO NUMBER(2) ) ORGANIZATION EXTERNAL ( TYPE ORACLE_LOADER DEFAULT DIRECTORY NFS_DIR ACCESS PARAMETERS ... ( RECORDS DELIMITED BY NEWLINE DNFS_ENABLE DNFS_READBUFFERS 10 FIELDS TERMINATED BY ',' MISSING FIELD VALUES ARE NULL ( empno, ename, job, mgr, hiredate CHAR(21) DATE_FORMAT MASK "DD-MON-YYYY HH24:MI:SS", sal, comm, deptno ) ) LOCATION ('EMP.dat') ) PARALLEL 1 REJECT LIMIT UNLIMITED; SQL> select * from emp_ext; ORA-12801: error signaled in parallel query server P002 ORA-29913: error in executing ODCIEXTTABLEOPEN callout ORA-29400: data cartridge error ORA-06512: at "SYS.ORACLE_LOADER", line 19
  108. 108. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | loading from object store 109
  109. 109. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 1) credentials 110
  110. 110. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 111 begin dbms_cloud.create_credential( credential_name => 'OBJ_STORE_CRED', username => 'connor', password => 'password' ); end; /
  111. 111. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 2) load/transform to table 112
  112. 112. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 113 begin dbms_cloud.copy_data( table_name=>'CHANNELS', credential_name=>'OBJ_STORE_CRED', file_uri_list=> 'https://objectstorage..../DEMO_DATA/chan_v3.dat', format=> json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true') ); end;
  113. 113. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 3) do the usual :-) 114
  114. 114. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 115 SQL> select table_name, 2 status, 3 rows_loaded, 4 logfile_table, 5 badfile_table 6 from user_load_operations; TABLE_NAME STATUS ROWS_LOADED LOGFILE_TABLE BADFILE_TABLE ------------ ------- ------------ ------------- --------------- CHANNELS FAILED COPY$1_LOG COPY$1_BAD CHANNELS COMPLETED 5 COPY$2_LOG COPY$2_BAD
  115. 115. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | data pump option 116
  116. 116. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 117 begin dbms_cloud.create_credential( credential_name => 'OBJ_STORE_CRED', username => 'connor', password => 'password' ); end; / impdp sh/sh@salesdb_low directory=data_pump_dir credential=OBJ_STORE_CRED dumpfile=https://objectstorage.../dump/sh.dmp
  117. 117. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 118
  118. 118. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | querying your database 119
  119. 119. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 120 SQL> select * 2 from MY_TABLE 3 ... "Well...duh"
  120. 120. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | but you can do more 121
  121. 121. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ADWC Object Storage SQL*Net
  122. 122. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | query before you load 123
  123. 123. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | external table on object store 124 "Whoa there!"
  124. 124. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 125 begin dbms_cloud.create_external_table( table_name =>'CHANNELS_EXT', credential_name =>'OBJ_STORE_CRED', file_uri_list => 'https://...chan_v3.dat', format => json_object('ignoremissingcolumns' value 'true', 'removequotes' value 'true'), column_list => 'CHANNEL_ID NUMBER, CHANNEL_DESC VARCHAR2(20), CHANNEL_CLASS VARCHAR2(20), CHANNEL_CLASS_ID NUMBER, CHANNEL_TOTAL VARCHAR2(13), CHANNEL_TOTAL_ID NUMBER' ); end; select count(*) from channels_ext;
  125. 125. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | recap 126 creation/connection users loaded queried
  126. 126. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | We're done !!! 127
  127. 127. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "Fast, unlimited data access is the crack cocaine for data scientists" - James Morle 128
  128. 128. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "3) elasticity" 129
  129. 129. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | CPU increase ... anytime, no outage 130
  130. 130. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  131. 131. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  132. 132. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  133. 133. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  134. 134. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  135. 135. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  136. 136. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 137 "Yeah...I know what that means"
  137. 137. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  138. 138. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | You can scale to zero 139 service console REST API
  139. 139. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 140 load yesterday's data cpu = 2
  140. 140. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 141 unleash the dogs :-) cpu = 8
  141. 141. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | all other times = zero CPU cost 142
  142. 142. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | "4) fully managed" 143
  143. 143. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 144
  144. 144. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | init.ora 145 all automatic NLS etc
  145. 145. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | tablespaces 146 nope
  146. 146. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | indexes 147 nope
  147. 147. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | materialized views 148 nope
  148. 148. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | constraints 149 nope ... "yes"
  149. 149. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | compression 150 nope (HCC)
  150. 150. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | partitioning 151 future perhaps nope (storage indexes)
  151. 151. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | sidebar: Maybe you're doing it wrong :-) 152
  152. 152. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | statistics 153 advanced direct mode automatic or explicit
  153. 153. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | recall: 12c, direct load statistics 154
  154. 154. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 155 SQL> insert /*+ APPEND */ into MY_EMPTY_TABLE 2 select ... 10000 rows inserted. SQL> select num_rows 2 from user_tables 3 where table_name = '...'; NUM_ROWS ---------- 10000 SQL> insert /*+ APPEND */ into ... 10000 rows inserted. SQL> select num_rows 2 from user_tables 3 where table_name = '...'; NUM_ROWS ---------- 20000
  155. 155. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | histograms too! 156
  156. 156. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 157 SQL> select column_name, 2 low_value, 3 high_value, 4 sample_size, 5 histogram 6 from user_tab_col_statistics 7 where table_name = '...'; COLUMN_NAME LOW_VALUE HIGH_VALUE SAMPLE_SIZE HISTOGRAM ------------ ---------- --------------- ----------- ----------- NUM0 C102 C302 20000 HYBRID NUM1 C102 C111 20000 FREQUENCY TXT1 58585831 58585839393939 20000 HYBRID
  157. 157. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | caching 158 result_cache
  158. 158. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | hints 159 can be enabled ignored by default
  159. 159. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | backup / recovery 160 daily incremental weekly full
  160. 160. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | backup / recovery 161 point-in-time nomination (process is automatic) 60 days
  161. 161. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | graph, text, spatial 162 coming later
  162. 162. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | monitoring 163 real time SQL monitoring service console
  163. 163. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  164. 164. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  165. 165. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  166. 166. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  167. 167. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | which brings us to ... 168
  168. 168. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 169
  169. 169. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 170 • Will my job go away? • Will my job change? • Will I lose control?
  170. 170. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 72% http://www.computerworld.com/article/2486278/it-management/how-to-balance-maintenance-and-it-innovation.html
  171. 171. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 172 Value Scale Cool stuff Maintenance
  172. 172. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | think back to automatic undo ... 173
  173. 173. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | ... did you lose your job ? 174 or just get more databases :-)
  174. 174. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | but let's not beat around the bush 175
  175. 175. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | it is about business success 176
  176. 176. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 177 Data Modeling Architecture, Design
  177. 177. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 178 End-to-End Service Level Management Full stack availability
  178. 178. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 179 Data Security Data classification, Data life-cycle management
  179. 179. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 180 Application Tuning SQL tuning, Connection management
  180. 180. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 181 Value Scale Cool stuff Maintenance
  181. 181. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. |
  182. 182. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 183 wrap up
  183. 183. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 184 https://cloud.oracle.com/tryit
  184. 184. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | the appeal of "set and forget" 185
  185. 185. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | oh .. nearly forgot 186
  186. 186. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | 18c XE !!! 187
  187. 187. Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | Thanks for your time youtube tinyurl.com/connor-tube blog connor-mcdonald.com twitter @connor_mc_d

×