Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Connor McDonald
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
2
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
3
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
4
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
5
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Stuff
youtube bit.ly/youtube-connor
blog bit.ly/blog-connor
twitter bit.ly/twitter-connor
400+ posts mainly on database & development
250 technical videos, new uploads every week
rants and raves on tech and the world :-)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
etc...
facebook bit.ly/facebook-connor
linkedin bit.ly/linkedin-connor
instagram bit.ly/instagram-connor
slideshare bit.ly/slideshare-connor
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
https://asktom.oracle.com
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
9https://asktom.oracle.com/officehours
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
200 hours of free access (so far)
10
18c - The Autonomous Database
Connor McDonald
Database Advocate
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 12
18c - The Autonomous Database
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"18c - the autonomous database"
13
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
12c, 13, 14, 15, 16, 17, 18c
14
?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
18c = 12.2.0.2
15
MOS 2285040.1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 16
No “FIRST” and “SECOND” releases anymore!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 17
Fewer One-Off Patches!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 18
3 Number Format
Year.Update.Revision
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19
Version number reflects patch level!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 20
A Release Update or Revision is only a patch,
not a database upgrade!
Copyright © 2018, 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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 22
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"18c - the autonomous database"
23
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
autonomous is a service
24
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 25
Autonomous
Database
= + +
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
so what is the big deal ?
26
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
trip down memory lane #1
27
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
who remembers these numbers ?
28
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
121
249
505
29
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 30
ORA-1631: max # extents 505 reached in table SCOTT.EMP
121 = 2k block size
249 = 4k block size
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
who thinks about extents anymore?
31
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
7.3 = unlimited extents
32
semi-automatic
uet$, fet$
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
8.1 = locally managed tablespaces
33
fully automatic
bitmap extents
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
trip down memory lane #2
34
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 35
create table SALES (
...
...
...
)
freelists 4
freelist groups 1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
ASSM
36
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
automatic segment space management
37
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
automation =
38
"we know the implementation, and
it is being performed by the software
based on our rules"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
automation ... towards autonomy
39
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
trip down memory lane #3
40
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
who remembers these parameters ?
41
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 42
ROLLBACK_SEGMENTS = (r0,r1,r2,r3,r4,r5,r6)
TRANSACTIONS_PER_ROLLBACK_SEGMENT = 20
CLEANUP_ROLLBACK_ENTRIES = 10
SYSTEM non-SYSTEM
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
who thinks about undo anymore?
43
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
9.0 = automatic undo
44
undo_tablespace =
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 45
but it's more than automation
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 46
SQL> select count(*) from dba_rollback_segs;
COUNT(*)
----------
????
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 47
segment count growth / reduction ...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 48
... decided by the database
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
autonomy =
49
"we do not know the implementation,
we do not set the rules,
decisions by the software"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 50
Oracle has been doing this for a while :-)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 51
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 53
well ... sort of
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 54
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 55
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 56
so we started with "easy" :-)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 57
data warehousing
usage commonality
flexible response times
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 58
Oracle Autonomous Database
Enterprise
OLTP
Data
Warehousing
Q1 2018 C4 2018
Data
Warehousing
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 59
autonomous objectives
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 60
1) easy
storage
quotas
indexing
partitioning
parallelism
compression
availability
etc
etc
load data
run queries
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 61
2) fast or faster
Exadata infrastructure
Enterprise edition
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 62
3) elastic
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63
3) truly elastic
scale CPU & storage up, no outage
scale CPU down to save $
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 64
4) fully managed
backup / recovery
patching
upgrades
HA (99.95)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 65
walkthrough
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 66
"5 easy steps"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 67
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
creating your database
68
name
region
CPUs
storage
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
you're done!
69
admin user password
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"demo"
70
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 77
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
connecting to your database
78
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
emphasis on security
79
SSL only
wallet
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
we can't see your data
80
Data Vault
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
single download
81
service console
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"demo"
82
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL Developer
87
native support
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
most tools
90
standard connectivty
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 91
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 92
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=..."))
)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
JDBC more complicated
93
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 94
props.setProperty("oracle.net.ssl_server_dn_match" ,"true");
props.setProperty("javax.net.ssl.trustStore" ,"truststore.jks" );
props.setProperty("javax.net.ssl.trustStorePassword","blahblah" );
props.setProperty("javax.net.ssl.trustStoreType" ,"JKS" );
props.setProperty("javax.net.ssl.keyStore" ,"keystore.jks" );
props.setProperty("javax.net.ssl.keyStoreType" ,"JKS" );
props.setProperty("javax.net.ssl.keyStorePassword" ,"blahblah");
con =
DriverManager.getConnection(
"jdbc:oracle:thin:myuser/mypassword@tnsdetails",props);
use latest drivers!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
database services
95
predefined
Copyright © 2018, 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_
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 97
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
users for your database
98
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 99
SQL> create user MY_DATA identified by MY_PASSWORD;
SQL> grant DWROLE | CONNECT to MY_DATA;
You're done!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
other privileges as per normal
100
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 101
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
loading your database
102
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
ADW
Object
Storage
SQL*Net
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
DBMS_CLOUD
104
focus on "1) easy"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
loading from object store
105
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
1) credentials
106
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 107
begin
dbms_cloud.create_credential(
credential_name => 'OBJ_STORE_CRED',
username => 'connor',
password => 'password'
);
end;
/
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
2) load/transform to table
108
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 109
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;
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
3) do the usual :-)
110
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 111
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
data pump option
112
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 113
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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 114
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
querying your database
115
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 116
SQL> select *
2 from MY_TABLE
3 ...
"Well...duh"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
but you can do more
117
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
ADWC
Object
Storage
SQL*Net
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
query before you load
119
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
external table on object store
120
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 121
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;
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
recap
122
creation/connection
users
loaded
queried
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
We're done !!!
123
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"Fast, unlimited data access is the
crack cocaine for data scientists"
- James Morle
124
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"3) elasticity"
125
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
CPU increase ... anytime, no outage
126
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 131
SQL> show parameter cpu_count
NAME TYPE VALUE
------------------------------------ ----------- ---------------
cpu_count integer 1
SQL> show parameter cpu_count
NAME TYPE VALUE
------------------------------------ ----------- ---------------
cpu_count integer 2
SQL>
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 132
"Yeah...I know what that means"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
You can scale to zero
134
service console
REST API
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
135
load yesterday's data
cpu = 2
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
136
unleash the dogs :-)
cpu = 8
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
all other times = zero CPU cost
137
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
"4) fully managed"
138
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 139
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
OS access
140
nope
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SYSDBA access
141
nope
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
patching
142
automated
online* (AppCont)
gold image
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
encryption
143
mandatory
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
init.ora
144
all automatic
nls...
approx...
plsql...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
tablespaces
145
nope
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
indexes
146
nope*
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
materialized views
147
nope
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
constraints
148
nope ... "yes"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
compression
149
nope (HCC)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 150
SQL> create table t
2 as select a.* from all_objects a,
3 ( select 1 from dual connect by level <= 100 );
Table created.
CREATE TABLE "ADMIN"."T"
( "OWNER" VARCHAR2(128) NOT NULL ENABLE,
"OBJECT_NAME" VARCHAR2(128) NOT NULL ENABLE,
...
...
"MODIFIED_VSNID" NUMBER
)
PCTFREE 1 PCTUSED 40
COLUMN STORE COMPRESS FOR QUERY HIGH
ROW LEVEL LOCKING
TABLESPACE "DATA"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
partitioning
151
nope*
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Maybe you're doing it wrong :-)
152
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
statistics
153
advanced direct mode
automatic or explicit
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
caching
154
result_cache
everything!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
hints
155
can be enabled
ignored by default
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
backup / recovery
156
daily incremental
weekly full
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
backup / recovery
157
point-in-time nomination
(process is automatic)
(flashback possible)
60 days
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 158
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
migration
159
focus on easy
data pump
(tde, compression, etc)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 160
SQL> create table T ( x int) tablespace system;
Table created.
SQL> insert into t values (1);
1 row created.
SQL> select tablespace_name
2 from dba_segments
3 where segment_name = 'T';
TABLESPACE_NAME
------------------------
DATA
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
monitoring
161
real time SQL monitoring
service console
(and REST)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
from "easy" to "not so easy"
166
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 167
Oracle Autonomous Database
Enterprise
OLTP
Data
Warehousing
Q1 2018 CY 2018
Data
Warehousing
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
general purpose database
169
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 170
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
just a normal database?
171
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
based on 19c
172
critical features
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 173
talk about these later today ...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
which brings us to ...
174
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 175
• Will my job go away?
• Will my job change?
• What is in it for me?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
warning: pie graph !
176
Copyright © 2018, 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
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
think back to automatic undo ...
178
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
... did you lose your job ?
179
or just get more databases :-)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
it is about business success
180
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 181
Data Modeling
Architecture,
Design
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 182
End-to-End Service
Level Management
Full stack availability
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 183
Data Security
Data classification,
Data life-cycle management
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 184
Application Tuning
SQL tuning,
Connection management
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 185
and ...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 186
... stop focussing on the negatives
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 187
• Will my job go away?
• Will my job change?
• What is in it for me?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 188
1) provisioning
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
the appeal of bypassing this!
189
Request for Provisioning of Resources
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 190
2) patching
after the CVE was published
- DB Maestro
Breaches
85%
security
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 191
patching = zugzwang for DBAs
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 192
"A player who has no move that
does not worsen his position is
said to be in 'zugzwang'"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 193
3) problem detection
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 194
ORAchk
Cluster Verification Utility
Cluster Health Monitor
Cluster Trace File Analyzer
etc
Autonomous Health Framework
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 195
4) control ...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 196
... can be a bad thing :-)
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 198
wrap up
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
the appeal of "set and forget"
199
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
2TB for 3500 compute hours
200
https://cloud.oracle.com/try-autonomous-database
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Stay in touch !
youtube bit.ly/youtube-connor
blog bit.ly/blog-connor
twitter bit.ly/twitter-connor

Hyderabad Mar 2019 - Autonomous Database

  • 1.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. Connor McDonald
  • 2.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 2
  • 3.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 3
  • 4.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 4
  • 5.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 5
  • 6.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | Stuff youtube bit.ly/youtube-connor blog bit.ly/blog-connor twitter bit.ly/twitter-connor 400+ posts mainly on database & development 250 technical videos, new uploads every week rants and raves on tech and the world :-)
  • 7.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. etc... facebook bit.ly/facebook-connor linkedin bit.ly/linkedin-connor instagram bit.ly/instagram-connor slideshare bit.ly/slideshare-connor
  • 8.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | https://asktom.oracle.com
  • 9.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 9https://asktom.oracle.com/officehours
  • 10.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 200 hours of free access (so far) 10
  • 11.
    18c - TheAutonomous Database Connor McDonald Database Advocate
  • 12.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 12 18c - The Autonomous Database
  • 13.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "18c - the autonomous database" 13
  • 14.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 12c, 13, 14, 15, 16, 17, 18c 14 ?
  • 15.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 18c = 12.2.0.2 15 MOS 2285040.1
  • 16.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 16 No “FIRST” and “SECOND” releases anymore!
  • 17.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 17 Fewer One-Off Patches!
  • 18.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 18 3 Number Format Year.Update.Revision
  • 19.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 19 Version number reflects patch level!
  • 20.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 20 A Release Update or Revision is only a patch, not a database upgrade!
  • 21.
    Copyright © 2018,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
  • 22.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 22 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.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "18c - the autonomous database" 23
  • 24.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | autonomous is a service 24
  • 25.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 25 Autonomous Database = + +
  • 26.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | so what is the big deal ? 26
  • 27.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | trip down memory lane #1 27
  • 28.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | who remembers these numbers ? 28
  • 29.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 121 249 505 29
  • 30.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 30 ORA-1631: max # extents 505 reached in table SCOTT.EMP 121 = 2k block size 249 = 4k block size
  • 31.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | who thinks about extents anymore? 31
  • 32.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 7.3 = unlimited extents 32 semi-automatic uet$, fet$
  • 33.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 8.1 = locally managed tablespaces 33 fully automatic bitmap extents
  • 34.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | trip down memory lane #2 34
  • 35.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 35 create table SALES ( ... ... ... ) freelists 4 freelist groups 1
  • 36.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | ASSM 36
  • 37.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | automatic segment space management 37
  • 38.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | automation = 38 "we know the implementation, and it is being performed by the software based on our rules"
  • 39.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | automation ... towards autonomy 39
  • 40.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | trip down memory lane #3 40
  • 41.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | who remembers these parameters ? 41
  • 42.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 42 ROLLBACK_SEGMENTS = (r0,r1,r2,r3,r4,r5,r6) TRANSACTIONS_PER_ROLLBACK_SEGMENT = 20 CLEANUP_ROLLBACK_ENTRIES = 10 SYSTEM non-SYSTEM
  • 43.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | who thinks about undo anymore? 43
  • 44.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 9.0 = automatic undo 44 undo_tablespace =
  • 45.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 45 but it's more than automation
  • 46.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 46 SQL> select count(*) from dba_rollback_segs; COUNT(*) ---------- ????
  • 47.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 47 segment count growth / reduction ...
  • 48.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 48 ... decided by the database
  • 49.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | autonomy = 49 "we do not know the implementation, we do not set the rules, decisions by the software"
  • 50.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 50 Oracle has been doing this for a while :-)
  • 51.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 51 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.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 53.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 53 well ... sort of
  • 54.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 54 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.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 55 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.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 56 so we started with "easy" :-)
  • 57.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 57 data warehousing usage commonality flexible response times
  • 58.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 58 Oracle Autonomous Database Enterprise OLTP Data Warehousing Q1 2018 C4 2018 Data Warehousing
  • 59.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 59 autonomous objectives
  • 60.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 60 1) easy storage quotas indexing partitioning parallelism compression availability etc etc load data run queries
  • 61.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 61 2) fast or faster Exadata infrastructure Enterprise edition
  • 62.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 62 3) elastic
  • 63.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 63 3) truly elastic scale CPU & storage up, no outage scale CPU down to save $
  • 64.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 64 4) fully managed backup / recovery patching upgrades HA (99.95)
  • 65.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 65 walkthrough
  • 66.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 66 "5 easy steps"
  • 67.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 67
  • 68.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | creating your database 68 name region CPUs storage
  • 69.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | you're done! 69 admin user password
  • 70.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "demo" 70
  • 71.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 72.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 73.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 74.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 75.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 76.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 77.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 77
  • 78.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | connecting to your database 78
  • 79.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | emphasis on security 79 SSL only wallet
  • 80.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | we can't see your data 80 Data Vault
  • 81.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | single download 81 service console
  • 82.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "demo" 82
  • 83.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 84.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 85.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 86.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 87.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | SQL Developer 87 native support
  • 88.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 89.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 90.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | most tools 90 standard connectivty
  • 91.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 91 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
  • 92.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 92 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=...")) )
  • 93.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | JDBC more complicated 93
  • 94.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 94 props.setProperty("oracle.net.ssl_server_dn_match" ,"true"); props.setProperty("javax.net.ssl.trustStore" ,"truststore.jks" ); props.setProperty("javax.net.ssl.trustStorePassword","blahblah" ); props.setProperty("javax.net.ssl.trustStoreType" ,"JKS" ); props.setProperty("javax.net.ssl.keyStore" ,"keystore.jks" ); props.setProperty("javax.net.ssl.keyStoreType" ,"JKS" ); props.setProperty("javax.net.ssl.keyStorePassword" ,"blahblah"); con = DriverManager.getConnection( "jdbc:oracle:thin:myuser/mypassword@tnsdetails",props); use latest drivers!
  • 95.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | database services 95 predefined
  • 96.
    Copyright © 2018,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_
  • 97.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 97
  • 98.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | users for your database 98
  • 99.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 99 SQL> create user MY_DATA identified by MY_PASSWORD; SQL> grant DWROLE | CONNECT to MY_DATA; You're done!
  • 100.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | other privileges as per normal 100
  • 101.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 101
  • 102.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | loading your database 102
  • 103.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | ADW Object Storage SQL*Net
  • 104.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | DBMS_CLOUD 104 focus on "1) easy"
  • 105.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | loading from object store 105
  • 106.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 1) credentials 106
  • 107.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 107 begin dbms_cloud.create_credential( credential_name => 'OBJ_STORE_CRED', username => 'connor', password => 'password' ); end; /
  • 108.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 2) load/transform to table 108
  • 109.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 109 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;
  • 110.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 3) do the usual :-) 110
  • 111.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 111 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
  • 112.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | data pump option 112
  • 113.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 113 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
  • 114.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 114
  • 115.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | querying your database 115
  • 116.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 116 SQL> select * 2 from MY_TABLE 3 ... "Well...duh"
  • 117.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | but you can do more 117
  • 118.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | ADWC Object Storage SQL*Net
  • 119.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | query before you load 119
  • 120.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | external table on object store 120
  • 121.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 121 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;
  • 122.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | recap 122 creation/connection users loaded queried
  • 123.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | We're done !!! 123
  • 124.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "Fast, unlimited data access is the crack cocaine for data scientists" - James Morle 124
  • 125.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "3) elasticity" 125
  • 126.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | CPU increase ... anytime, no outage 126
  • 127.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 128.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 129.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 130.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 131.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 131 SQL> show parameter cpu_count NAME TYPE VALUE ------------------------------------ ----------- --------------- cpu_count integer 1 SQL> show parameter cpu_count NAME TYPE VALUE ------------------------------------ ----------- --------------- cpu_count integer 2 SQL>
  • 132.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 132 "Yeah...I know what that means"
  • 133.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 134.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | You can scale to zero 134 service console REST API
  • 135.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 135 load yesterday's data cpu = 2
  • 136.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 136 unleash the dogs :-) cpu = 8
  • 137.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | all other times = zero CPU cost 137
  • 138.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | "4) fully managed" 138
  • 139.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 139
  • 140.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | OS access 140 nope
  • 141.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | SYSDBA access 141 nope
  • 142.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | patching 142 automated online* (AppCont) gold image
  • 143.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | encryption 143 mandatory
  • 144.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | init.ora 144 all automatic nls... approx... plsql...
  • 145.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | tablespaces 145 nope
  • 146.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | indexes 146 nope*
  • 147.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | materialized views 147 nope
  • 148.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | constraints 148 nope ... "yes"
  • 149.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | compression 149 nope (HCC)
  • 150.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 150 SQL> create table t 2 as select a.* from all_objects a, 3 ( select 1 from dual connect by level <= 100 ); Table created. CREATE TABLE "ADMIN"."T" ( "OWNER" VARCHAR2(128) NOT NULL ENABLE, "OBJECT_NAME" VARCHAR2(128) NOT NULL ENABLE, ... ... "MODIFIED_VSNID" NUMBER ) PCTFREE 1 PCTUSED 40 COLUMN STORE COMPRESS FOR QUERY HIGH ROW LEVEL LOCKING TABLESPACE "DATA"
  • 151.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | partitioning 151 nope*
  • 152.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | Maybe you're doing it wrong :-) 152
  • 153.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | statistics 153 advanced direct mode automatic or explicit
  • 154.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | caching 154 result_cache everything!
  • 155.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | hints 155 can be enabled ignored by default
  • 156.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | backup / recovery 156 daily incremental weekly full
  • 157.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | backup / recovery 157 point-in-time nomination (process is automatic) (flashback possible) 60 days
  • 158.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 158
  • 159.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | migration 159 focus on easy data pump (tde, compression, etc)
  • 160.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 160 SQL> create table T ( x int) tablespace system; Table created. SQL> insert into t values (1); 1 row created. SQL> select tablespace_name 2 from dba_segments 3 where segment_name = 'T'; TABLESPACE_NAME ------------------------ DATA
  • 161.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | monitoring 161 real time SQL monitoring service console (and REST)
  • 162.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 163.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 164.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 165.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 166.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | from "easy" to "not so easy" 166
  • 167.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 167 Oracle Autonomous Database Enterprise OLTP Data Warehousing Q1 2018 CY 2018 Data Warehousing
  • 168.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 169.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | general purpose database 169
  • 170.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 170
  • 171.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | just a normal database? 171
  • 172.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | based on 19c 172 critical features
  • 173.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 173 talk about these later today ...
  • 174.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | which brings us to ... 174
  • 175.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 175 • Will my job go away? • Will my job change? • What is in it for me?
  • 176.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | warning: pie graph ! 176
  • 177.
    Copyright © 2018,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
  • 178.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | think back to automatic undo ... 178
  • 179.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | ... did you lose your job ? 179 or just get more databases :-)
  • 180.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | it is about business success 180
  • 181.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 181 Data Modeling Architecture, Design
  • 182.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 182 End-to-End Service Level Management Full stack availability
  • 183.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 183 Data Security Data classification, Data life-cycle management
  • 184.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 184 Application Tuning SQL tuning, Connection management
  • 185.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 185 and ...
  • 186.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 186 ... stop focussing on the negatives
  • 187.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 187 • Will my job go away? • Will my job change? • What is in it for me?
  • 188.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 188 1) provisioning
  • 189.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | the appeal of bypassing this! 189 Request for Provisioning of Resources
  • 190.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 190 2) patching after the CVE was published - DB Maestro Breaches 85% security
  • 191.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 191 patching = zugzwang for DBAs
  • 192.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 192 "A player who has no move that does not worsen his position is said to be in 'zugzwang'"
  • 193.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 193 3) problem detection
  • 194.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 194 ORAchk Cluster Verification Utility Cluster Health Monitor Cluster Trace File Analyzer etc Autonomous Health Framework
  • 195.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 195 4) control ...
  • 196.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 196 ... can be a bad thing :-)
  • 197.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. |
  • 198.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 198 wrap up
  • 199.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | the appeal of "set and forget" 199
  • 200.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | 2TB for 3500 compute hours 200 https://cloud.oracle.com/try-autonomous-database
  • 201.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved. | Stay in touch ! youtube bit.ly/youtube-connor blog bit.ly/blog-connor twitter bit.ly/twitter-connor

Editor's Notes

  • #52 So how are we automating generic database operations? What are the key features that underpin the autonomous data warehouse? This process of automation, and move into autonomous data warehousing, isn’t actually a new thing. In fact Oracle has put a huge amount of effort into automating all aspects of the database management for decades including: If we look as far back as Oracle Database 9i and 10g [CLICK] you see that we introduced fully automated management of features such as storage, Memory management, query management and [CLICK] We built on and extended those features in 11g and 12c with the delivery of automated SQL Tuning, automated management of data placement, Cluster health monitoring etc. So it really has been a journey to this point in time when we can offer the Oracle Autonomous Data Warehouse Cloud
  • #136 So to achieve our of goals - run fast - but keep an eye on how to run things faster - then either tell me or do it for me when needed we need something better… And its not something "NEW" in 18c, or 12c, …. Its something you already have !!!
  • #137 So to achieve our of goals - run fast - but keep an eye on how to run things faster - then either tell me or do it for me when needed we need something better… And its not something "NEW" in 18c, or 12c, …. Its something you already have !!!
  • #176 Copyright: <a href='https://www.123rf.com/profile_gstockstudio'>gstockstudio / 123RF Stock Photo</a>
  • #178 Today we are seeing businesses allocating over 72% of the IT budget to “keeping the lights on” or maintenance task, leaving too little time for innovation. So there’s a strong need to optimize legacy environments to cut costs and shift resources from maintenance to innovation. And there’s urgency to act as digital disruptors are eating away market share, and competitors typically ramping up their efforts to become more data-driven. Additionally, we see that existing on-premises infrastructure often do not allow our customers to move fast enough to support the business in the way they would want to (for example to very rapidly spin up new Dev/test environments). Lines of Business may then resort to shadow IT to drive their own initiatives…which can create various issues. And of course the demands from Line-of-Business leads in terms of performance SLAs, uptime, security & regulatory compliance are far from declining.
  • #182 Your job is not going away but it will evolve, so you must change with it You will spend less time on generic maintenance, more time innovating More time with the business Executing more projects, reducing backlog, getting more value from data Cloud’s fast provisioning and pay-as-you-go enables rapid experimentation More time with developers Optimizing data access, improving end-user experience
  • #183 Your job is not going away but it will evolve, so you must change with it You will spend less time on generic maintenance, more time innovating More time with the business Executing more projects, reducing backlog, getting more value from data Cloud’s fast provisioning and pay-as-you-go enables rapid experimentation More time with developers Optimizing data access, improving end-user experience
  • #184 Your job is not going away but it will evolve, so you must change with it You will spend less time on generic maintenance, more time innovating More time with the business Executing more projects, reducing backlog, getting more value from data Cloud’s fast provisioning and pay-as-you-go enables rapid experimentation More time with developers Optimizing data access, improving end-user experience
  • #185 Your job is not going away but it will evolve, so you must change with it You will spend less time on generic maintenance, more time innovating More time with the business Executing more projects, reducing backlog, getting more value from data Cloud’s fast provisioning and pay-as-you-go enables rapid experimentation More time with developers Optimizing data access, improving end-user experience
  • #188 Copyright: <a href='https://www.123rf.com/profile_gstockstudio'>gstockstudio / 123RF Stock Photo</a>