Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
bienvenido
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
Lo siento, no hablo español :-(
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
But I will do my best to help
Pero haré todo lo posible para ayudar
Cool things about 18c and 19c
Connor McDonald
Database Advocate
geniales cosas sobre 18c y 19c
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. |
6
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
7
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Me
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
Más de 400 publicaciones principalmente en bases de datos y desarrollo
250 videos técnicos, nuevas cargas cada semana
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. | 13
why me ?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 14
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 15
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 16
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 17
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19
why you ?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 20
19! 18!
18! 19!
19!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
reality :-(
21
realidad
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 22
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 23
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 24
SQL> select * from v$version;
BANNER
----------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for HPUX: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 25
SQL> select * from v$version;
BANNER
----------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for HPUX: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 26
SQL> select * from v$version;
BANNER
----------------------------------------------------------
Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production
PL/SQL Release 8.1.7.4.0 - Production
CORE 8.1.7.0.0 Production
TNS for HPUX: Version 8.1.7.4.0 - Production
NLSRTL Version 3.4.1.0.0 - Production
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
you still should be here
27
tú todavía debería estar aquí
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 29
there's a lot in 18/19
hay una mucho en 18/19
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 30
get started right now
Empezar ahora mismo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 31
install nothing
instalar nada
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 32
https://cloud.oracle.com/tryit
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 33
install a little bit
instalar un poco
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 34
https://bit.ly/prebuiltora
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 35
install lots :-)
instalar un montón
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 36
http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 37
install lots :-)
instalar un montón
fácil
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 38
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 39
install lots :-)
instalar un montón
muy fácil
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 40
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 41
coming soon
próximamente
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 42
install lots :-)
instalar un montón
muy muy fácil
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 43
1) gold image service
servicio de imagen de oro
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 44
2) read-only ORACLE_HOME
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 45
3) Oracle database in Docker
https://bit.ly/oradocker
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 46
licensing
licenciamiento
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 47
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 48
degustación
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 49
UNZIP INSTALL
RPM INSTALL
DOCKER
READ-ONLY
GOLD IMAGE
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 50
external tables
mesas externas
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
ext_emp
Copyright © 2018, 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
12 ( 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 ('emp20161001.dat'));
Table created.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
ext_emp
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
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 © 2018, Oracle and/or its affiliates. All rights reserved. | 55
easy fix
fácil arreglo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> create table ext_emp (
2 empno number(4),
...
12 ( 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 ('emp20161001.dat'))
21 REJECT LIMIT UNLIMITED;
Table created.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 57
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 58
quick revision 12.2
revisión rápida
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 59
query time modification
consulta modificación de hora
Copyright © 2018, 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
---------- ---------- --------- ---------- --------- ---------- ---
7499 ALLEN SALESMAN 7698 20-FEB-81 1600
7521 WARD SALESMAN 7698 22-FEB-81 1250
7566 JONES MANAGER 7839 02-APR-81 2975
...
7902 FORD ANALYST 7566 03-DEC-81 3000
7934 MILLER CLERK 7782 23-JAN-82 1300
13 rows selected.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select * from ext_emp
2 external modify ( location ('emp20161002.dat') );
EMPNO ENAME JOB MGR HIREDATE SAL
---------- ---------- --------- ---------- --------- ---------- ---
7902 FORD ANALYST 7566 03-DEC-81 3000
7934 MILLER CLERK 7782 23-JAN-82 1300
7566 JONES MANAGER 7839 02-APR-81 2975
...
7499 ALLEN SALESMAN 7698 20-FEB-81 1600
7521 WARD SALESMAN 7698 22-FEB-81 1250
8 rows selected.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
select * from ext_tab external modify (
[ default directory ]
[ location ]
[ access parameters ]
[ reject limit ]
);
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63
18c+
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 64
zero ddl option
opción cero ddl
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select * from external (
2 empno number(4),
3 ename varchar2(10),
4 ...
12 ( 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,...)
19 )
20 location ('emp20161001.dat')
21 );
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 66
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 67
global temporary tablesprivate
tablas temporales globales
privado
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 68
SQL server etc
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 69
read locking
leer bloqueo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 70
SELECT empno, ename, job
INTO #HighPaidJobs
FROM emp
WHERE sal > 3000
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 71
migration to Oracle difficult
migración a Oracle difícil
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 72
SQL> create private temporary table ORA$PTT_MY_TT
2 ( empno int , ename varchar2(20)) ;
Table created.
SQL> insert into ORA$PTT_MY_TT
2 select empno, ename
3 from scott.emp
4 where sal > 3000;
1 row created.
SQL> select * from ORA$PTT_MY_TT;
EMPNO ENAME
---------- --------------------
7839 KING
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 73
"um...looks the same as before"
"er ... se ve igual que antes
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 74
SQL> commit;
Commit complete.
SQL> select * from ORA$PTT_MY_TT;
select * from ORA$PTT_MY_TT
*
ERROR at line 1:
ORA-00942: table or view does not exist
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 75
it's really temporary
es muy temporal
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 76
SQL> create private temporary table ORA$PTT_MY_TT
2 ( empno int , ename varchar2(20)) ;
Table created.
SQL> select *
2 from user_tables
3 where table_name = 'ORA$PTT_MY_TT' ;
no rows selected
SQL> select *
2 from all_objects
3 where object_name = 'ORA$PTT_MY_TT' ;
no rows selected
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 77
SQL> create private temporary table ORA$PTT_MY_TT
2 ( empno , ename )
3 on commit preserve definition
4 as select 123, 'Larry' from dual;
SQL> select * from ORA$PTT_MY_TT;
EMPNO ENAME
---------- -----
123 Larry
SQL> commit;
SQL> select * from ORA$PTT_MY_TT;
EMPNO ENAME
---------- -----
123 Larry
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 78
it's really private
es muy privado
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 79
SQL> create private temporary table ORA$PTT_MY_TT
2 ( empno int ,
3 ename varchar2(20)) ;
Table created.
SQL> create private temporary table ORA$PTT_MY_TT
2 ( deptno int ,
3 dname varchar2(20),
4 bonus int,
5 logo blob) ;
Table created.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 80
it's all in the name !
se trata del nombre
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 81
SQL> create private temporary table MY_TT ( x int ) ;
create private temporary table MY_TT ( x int )
*
ERROR at line 1:
ORA-00903: invalid table name
SQL> show parameter private
NAME TYPE VALUE
------------------------------- ----------- -----------
private_temp_table_prefix string ORA$PTT_
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 82
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 83
remember temporary undo?
te acuerdas de temporary undo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into t values ('Hello','There');
insert into t values ('Hello','There')
*
ERROR at line 1:
ORA-16000: database open for read-only access
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 85
Active Data Guard
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter session set temp_undo_enabled=true;
Session altered.
SQL> create global temporary table GTT_REPORT_STAGING
2 ( ... );
SQL> insert into GTT_REPORT_STAGING
2 select ...
SQL> select * from GTT_REPORT_STAGING join FIN_RESULTS
2 ...
87
100%
% of people that
found this useful
% de personas que
esto me pareció útil
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 88
19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 89
DML redirect
Redireccionamiento DML
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 90
Standby Primary
SQL> insert into REPORTING_STAGING
2 select * from ...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 91
bonus DataGuard
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 92
we've all done this :-)
todos hemos hecho esto
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 93
Standby Primary
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 94
18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
RMAN> connect target sys/oracle@MY_STANDBY
RMAN> connect auxiliary sys/oracle@MY_PRIMARY
RMAN> recover database from service PRIMARY;
Starting recover at 12.10.2018 14:05:17
using target database control file instead of recovery catalog
allocated channel: ORA_DISK_1
channel ORA_DISK_1: SID=187 device type=DISK
...
...
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 96
bonus bonus DataGuard !
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter database force logging;
97
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 98
19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter database set standby nologging for data availability;
99
deferred commit
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter database set standby nologging for load performance;
100
deferred transmission
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 101
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 102
a nice form of murder :-)
asesinato realizado muy bien
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 103
aka, #1 reason for upgrading to 18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE;
104
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 105
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE
4 where LOAD_DATE > sysdate - 1;
106
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter system kill session '123,456' immediate
107
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 108
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 109
18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter system kill cancel sql '123,456';
110
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 111
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 112
speaking of "#1 reason"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 113
#1 reason for upgrading to 19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select deptno, ename
2 from emp
3 order by 1,2;
DEPTNO ENAME
---------- ----------
10 CLARK
10 KING
10 MILLER
20 ADAMS
20 FORD
20 JONES
20 SCOTT
20 SMITH
30 ALLEN
30 BLAKE
30 JAMES
30 MARTIN
30 TURNER
30 WARD
114
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
DEPTNO MEMBERS
---------- -------------------------------------
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
115
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
11g
121
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select deptno,
2 listagg( ename, ',')
3 within group (order by empno) members
4 from emp
5 group by deptno;
DEPTNO MEMBERS
---------- -----------------------------------------
10 CLARK,KING,MILLER
20 SMITH,JONES,SCOTT,ADAMS,FORD
30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES
122
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
except
123
excepción
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select deptno
2 listagg(job,',') within group ( order by job) as jobs
3 from scott.emp
4 group by deptno
5 order by 1;
DEPTNO JOBS
--------- --------------------------------------------------
10 CLERK,MANAGER,PRESIDENT
20 ANALYST,ANALYST,CLERK,CLERK,MANAGER
30 CLERK,MANAGER,SALESMAN,SALESMAN,SALESMAN,SALESMAN
124
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select owner
2 listagg(object_type,',') within group
3 ( order by object_id ) as types
4 from all_ojects
5 group by owner
6 order by 1;
ERROR:
ORA-01499: result of string concatenation is too long
125
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
19c
126
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> select deptno
2 listagg(distinct job,',') within group ( order by job) as jobs
3 from scott.emp
4 group by deptno
5 order by 1;
DEPTNO JOBS
--------- --------------------------------------------------
10 CLERK,MANAGER,PRESIDENT
20 ANALYST,CLERK,MANAGER
30 CLERK,MANAGER,SALESMAN
127
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 128
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 129
back to #1 reason for upgrading to 19c
otra razón para actualizar a 19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 130
back to bad SQL
hablar de nuevo sobre SQL travieso
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 131
maybe murder won't help
tal vez el asesinato no ayudará
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
132
BAD
SQL
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 133
bad SQL just keeps coming back...
SQL malo sigue volviendo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 134
19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 135
automatic quarantine of bad SQL
elapsed time
resource consumption
cuarentena automática de SQL incorrecto
consumo de recursos
tiempo transcurrido
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 136
error on subsequent execution
error en la ejecución posterior
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 137
1) alerts to administrator
alertas al administrador
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 138
future
futura
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 139
2) automated historical diagnosis/repair
arreglar automáticamente
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 140
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 141
maybe murder wasn't the right thing
tal vez el asesinato no fue correcto
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE
4 where LOAD_DATE > sysdate - 900;
142
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 143
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE w
4 where LOAD_DATE > sysdate - 900;
144
/*+ INDEX(W CUST_DATE_IX) */ *
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 145
18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter system set optimizer_ignore_hints = true
146
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 147
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 148
coolguay
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 149
maybe it was the opposite ?
tal vez fue lo contrario?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE
4 where LOAD_DATE > sysdate - 1/24;
150
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 151
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> insert into MY_TABLE
2 select *
3 from MY_HUGE_GREAT_FAT_TABLE
4 where LOAD_DATE > sysdate - 1/24;
152
need an index?
necesita un índice?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 153
but what is best practice ?
Pero cuál es la mejor práctica?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 154
1) monitor the SQL workload
AWR / Top SQL
supervisar la carga de trabajo de SQL
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 155
2) consider indexes per SQL
leading columns
considerar índices
columnas principales
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 156
3) consolidate tables/columns
(a)
(a,b)
(a,b,c)
consolidar tablas / columnas
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 157
4) create nosegment/unusable
dictionary only
solo diccionario
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 158
5) check "virtual" explain plan
cost/cardinality
plan de explicación "virtual"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 159
6) create true index (as invisible)
no impact risk
sin riesgo de impacto
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 160
7) test execute each SQL for benefit
response time/IO
ejecutar cada SQL para beneficio
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 161
8) decide on each index worth
decidir sobre cada valor del índice
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 162
9) SPM quarantine the others
no regression
SPM pone en cuarentena
sin regresión
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 163
10) make new indexes visible
hacer nuevos índices visibles
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 164
we're done!
hemos terminado!
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 165
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 166
go to step 1
ir al paso 1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 168
19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 169
automatic indexes
índices automático
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 170
we follow best practice
usamos las mejores prácticas
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 172
only need to set preferences
solo necesita establecer preferencias
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 173
AUTO_INDEX_EXCLUDE_SCHEMA
AUTO_INDEX_REPORT_RETENTION
AUTO_INDEX_RETENTION_FOR_AUTO
AUTO_INDEX_RETENTION_FOR_MANUAL
AUTO_INDEX_DEFAULT_TABLESPACE
AUTO_INDEX_TEMP_TABLESPACE
AUTO_INDEX_MODE
AUTO_INDEX_SPACE_BUDGET
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 174
expect this to evolve over time
esperar que esto evolucione con el tiempo
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 175
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 176
statistics
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 177
what most of us do
esto es lo que hace la mayoría de la gente
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 178
TIME
Gather
Stale
overnight
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 179
19c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 180
Conventional
DML
Real-time
Statistics
Gathered Statistics
Lightweight
Statistics
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 181
real time statistics
DML driven
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 182
only "cheap" essential statistics
high/low values
row/column counts
solo estadísticas esenciales "baratas"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 183
lightweight rapid gather
resource manager
reunión rápida ligera
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 184
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 185
revisit: security
seguridad
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 186
18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 187
better schema management
mejor gestión de esquemas
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> create user data_owner
2 no authentication;
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 189
"I already do this"
"Ya hago esto"
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> alter user data_owner account lock
User altered.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 191
security risk
riesgo de seguridad
Copyright © 2018, 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 © 2018, Oracle and/or its affiliates. All rights reserved. | 193
schema only accounts
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
SQL> conn data_owner/random_password
ORA-01017: invalid username/password; logon denied
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 195
bonus security
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 196
DBSAT
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 197
10.2 and above
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 198
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
THIS
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
IS
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
THE
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
BIG
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.
ONEeste es el grande
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
18c XE
204
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 205
100% free
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 206
We grant you a nonexclusive, nontransferable limited license to use the programs for:
(a) purposes of developing, prototyping and running your applications for your own
internal data processing operations;
(b) you may also distribute the programs with your applications;
(c) you may use the programs to provide third party demonstrations and training; and
d) you may copy and distribute the programs to your licensees provided that each such
licensee agrees to the terms of this Agreement
https://www.oracle.com/technetwork/licenses/db18c-express-license-5137264.html
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 207
Derechos de licencia
Oracle le otorga una licencia limitada no exclusiva e intransferible para utilizar los
programas para:
(a) propósitos de desarrollo, creación de prototipos y ejecución de sus aplicaciones para
sus propias operaciones internas de procesamiento de datos;
(b) también puede distribuir los programas con sus aplicaciones;
(c) puede utilizar los programas para proporcionar demostraciones y capacitación de
terceros; y
d) puede copiar y distribuir los programas a sus licenciatarios siempre que cada uno de
los licenciatarios acepte los términos de este Acuerdo.
https://www.oracle.com/technetwork/licenses/db18c-express-license-5137264.html
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 208
12 GB of user data
2 GB of database RAM
2 CPU threads
3 Pluggable Databases
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 209
"Is it feature limited?"
son las funciones restringidas
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 210
Oracle Multitenant
SQLJ
Online index rebuild
Online table reorg
Online table redefinition
Trial recovery
Fast start recovery
Flashback table
Flashback query
Flashback database
Advanced Queueing
Network Compression
Client side result cache
Server side result cache
Adaptive plans
In-memory column store
In-memory aggregation
Attribute Clustering
Column encryption
Tablespace encryption
Advanced Security
Database Vault
Label Security
AD users
Privilege Analysis
Real Application Security
Data Redaction
Virtual Private Database
Spatial
Graph
Partitioning
Advanced Analytics
Advanced Compression
Advanced Index Compression
Transportable Tablespace
Query Rewrite
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 211
EE plus most extra cost options
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 212
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 213
wrap up
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 214
there's a lot in 18/19
Hay mucho
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 215
lots not covered today
mucho ha sido omitido
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 216
OOW
Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
Thank you!
youtube bit.ly/youtube-connor
blog bit.ly/blog-connor
twitter bit.ly/twitter-connor
Gracias!
slideshare bit.ly/slideshare-connor

More Related Content

PDF
18c and 19c features for DBAs
PDF
Hyderabad Mar 2019 - Database 18c / 19c
PPTX
Hyderabad Mar 2019 - Autonomous Database
PDF
Pattern Matching with SQL - APEX World Rotterdam 2019
PDF
Latin America Tour 2019 - pattern matching
PDF
ILOUG 2019 - 18c/19c features
PDF
Kscope19 - Flashback: Good for Developers as well as DBAs
PPTX
Sangam 18 - The New Optimizer in Oracle 12c
18c and 19c features for DBAs
Hyderabad Mar 2019 - Database 18c / 19c
Hyderabad Mar 2019 - Autonomous Database
Pattern Matching with SQL - APEX World Rotterdam 2019
Latin America Tour 2019 - pattern matching
ILOUG 2019 - 18c/19c features
Kscope19 - Flashback: Good for Developers as well as DBAs
Sangam 18 - The New Optimizer in Oracle 12c

What's hot (19)

PDF
Latin America Tour 2019 - slow data and sql processing
PPTX
Cool SQL Features
PPTX
Flashback features in Oracle - UKOUG 2017
PDF
APEX Connect 2019 - SQL Tuning 101
PDF
Latin America tour 2019 - Flashback
PDF
Latin America Tour 2019 - 10 great sql features
PPTX
OpenWorld 2018 - Common Application Developer Disasters
PDF
APEX Connect 2019 - array/bulk processing in PLSQL
PPTX
Wellington APAC Groundbreakers tour - Upgrading to the 12c Optimizer
PDF
Sangam 2019 - The Latest Features
PDF
AIOUG - Groundbreakers - Jul 2019 - 19 Troubleshooting Tips and Tricks for Da...
PDF
ITOUG 2019 - 18c, 19c features
PDF
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
PPTX
Indexes From the Concept to Internals
PDF
EXAchk for Exadata Presentation
PPTX
#dbhouseparty - Real World Problem Solving with SQL
PDF
What's new in Oracle ORAchk & EXAchk 19.2
PDF
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
PDF
Whats new in oracle trace file analyzer 18.3.0
Latin America Tour 2019 - slow data and sql processing
Cool SQL Features
Flashback features in Oracle - UKOUG 2017
APEX Connect 2019 - SQL Tuning 101
Latin America tour 2019 - Flashback
Latin America Tour 2019 - 10 great sql features
OpenWorld 2018 - Common Application Developer Disasters
APEX Connect 2019 - array/bulk processing in PLSQL
Wellington APAC Groundbreakers tour - Upgrading to the 12c Optimizer
Sangam 2019 - The Latest Features
AIOUG - Groundbreakers - Jul 2019 - 19 Troubleshooting Tips and Tricks for Da...
ITOUG 2019 - 18c, 19c features
LAD - GroundBreakers - Jul 2019 - Using Oracle Autonomous Health Framework to...
Indexes From the Concept to Internals
EXAchk for Exadata Presentation
#dbhouseparty - Real World Problem Solving with SQL
What's new in Oracle ORAchk & EXAchk 19.2
Troubleshooting Tips and Tricks for Database 19c ILOUG Feb 2020
Whats new in oracle trace file analyzer 18.3.0
Ad

Similar to Latin America Tour 2019 - 18c and 19c featues (20)

PPTX
Perth APAC Groundbreakers tour - 18c features
PPTX
OpenWorld 2018 - Pagination
PPTX
OpenWorld 2018 - 20 years of hints and tips
PPTX
Melbourne Groundbreakers Tour - Hints and Tips
PPTX
Perth APAC Groundbreakers tour - The Autonomous Database
PPTX
Melbourne Groundbreakers Tour - Upgrading without risk
PPTX
OpenWorld 2018 - SQL Tuning in 20 mins
PDF
ILOUG 2019 - Autonomous, what does it mean for DBAs
PDF
APEX Connect 2019 - successful application development
PDF
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
PDF
“Quantum” Performance Effects: beyond the Core
PDF
Z Garbage Collector
PPTX
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
PPTX
AMIS Oracle OpenWorld & CodeOne Review - Pillar 1 - Data (5 november 2018)
PPTX
Перехват функций (хуки) под Windows в приложениях с помощью C/C++
PDF
Troubleshooting Ecommerce Performance
PDF
Diagnose Your Microservices
PPTX
Pl18 saving bandwidth
PDF
Using The Mysql Binary Log As A Change Stream
PPTX
What's new in Oracle Database 18c
Perth APAC Groundbreakers tour - 18c features
OpenWorld 2018 - Pagination
OpenWorld 2018 - 20 years of hints and tips
Melbourne Groundbreakers Tour - Hints and Tips
Perth APAC Groundbreakers tour - The Autonomous Database
Melbourne Groundbreakers Tour - Upgrading without risk
OpenWorld 2018 - SQL Tuning in 20 mins
ILOUG 2019 - Autonomous, what does it mean for DBAs
APEX Connect 2019 - successful application development
MySQL InnoDB Cluster and Group Replication in a nutshell hands-on tutorial
“Quantum” Performance Effects: beyond the Core
Z Garbage Collector
AMIS Oracle OpenWorld en Code One Review 2018 - Pillar 1: Data
AMIS Oracle OpenWorld & CodeOne Review - Pillar 1 - Data (5 november 2018)
Перехват функций (хуки) под Windows в приложениях с помощью C/C++
Troubleshooting Ecommerce Performance
Diagnose Your Microservices
Pl18 saving bandwidth
Using The Mysql Binary Log As A Change Stream
What's new in Oracle Database 18c
Ad

More from Connor McDonald (19)

PDF
Flashback ITOUG
PDF
Sangam 19 - PLSQL still the coolest
PDF
Sangam 19 - Analytic SQL
PDF
UKOUG - 25 years of hints and tips
PDF
Sangam 19 - Successful Applications on Autonomous
PDF
UKOUG 2019 - SQL features
PDF
APEX tour 2019 - successful development with autonomous
PDF
APAC Groundbreakers 2019 - Perth/Melbourne
PDF
OOW19 - Flashback, not just for DBAs
PDF
OOW19 - Read consistency
PDF
OOW19 - Slower and less secure applications
PDF
OOW19 - Killing database sessions
PDF
OOW19 - Ten Amazing SQL features
PDF
ANSI vs Oracle language
PDF
OG Yatra - upgrading to the new 12c+ optimizer
PDF
OG Yatra - 25 years of hints and tips
PDF
OG Yatra - Flashback, not just for developers
PDF
Kscope19 - Understanding the basics of SQL processing
PDF
KScope19 - SQL Features
Flashback ITOUG
Sangam 19 - PLSQL still the coolest
Sangam 19 - Analytic SQL
UKOUG - 25 years of hints and tips
Sangam 19 - Successful Applications on Autonomous
UKOUG 2019 - SQL features
APEX tour 2019 - successful development with autonomous
APAC Groundbreakers 2019 - Perth/Melbourne
OOW19 - Flashback, not just for DBAs
OOW19 - Read consistency
OOW19 - Slower and less secure applications
OOW19 - Killing database sessions
OOW19 - Ten Amazing SQL features
ANSI vs Oracle language
OG Yatra - upgrading to the new 12c+ optimizer
OG Yatra - 25 years of hints and tips
OG Yatra - Flashback, not just for developers
Kscope19 - Understanding the basics of SQL processing
KScope19 - SQL Features

Recently uploaded (20)

DOCX
Basics of Cloud Computing - Cloud Ecosystem
PDF
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
PDF
Early detection and classification of bone marrow changes in lumbar vertebrae...
PDF
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
PDF
Introduction to MCP and A2A Protocols: Enabling Agent Communication
PDF
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
PDF
4 layer Arch & Reference Arch of IoT.pdf
PDF
Advancing precision in air quality forecasting through machine learning integ...
PDF
NewMind AI Weekly Chronicles – August ’25 Week IV
PDF
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
PDF
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
PDF
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
PDF
Human Computer Interaction Miterm Lesson
PDF
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
PDF
Build Real-Time ML Apps with Python, Feast & NoSQL
PDF
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
PDF
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
PDF
Connector Corner: Transform Unstructured Documents with Agentic Automation
PDF
EIS-Webinar-Regulated-Industries-2025-08.pdf
PPTX
SGT Report The Beast Plan and Cyberphysical Systems of Control
Basics of Cloud Computing - Cloud Ecosystem
5-Ways-AI-is-Revolutionizing-Telecom-Quality-Engineering.pdf
Early detection and classification of bone marrow changes in lumbar vertebrae...
Dell Pro Micro: Speed customer interactions, patient processing, and learning...
Introduction to MCP and A2A Protocols: Enabling Agent Communication
The-2025-Engineering-Revolution-AI-Quality-and-DevOps-Convergence.pdf
4 layer Arch & Reference Arch of IoT.pdf
Advancing precision in air quality forecasting through machine learning integ...
NewMind AI Weekly Chronicles – August ’25 Week IV
Transform-Your-Supply-Chain-with-AI-Driven-Quality-Engineering.pdf
INTERSPEECH 2025 「Recent Advances and Future Directions in Voice Conversion」
A hybrid framework for wild animal classification using fine-tuned DenseNet12...
Human Computer Interaction Miterm Lesson
zbrain.ai-Scope Key Metrics Configuration and Best Practices.pdf
Build Real-Time ML Apps with Python, Feast & NoSQL
AI.gov: A Trojan Horse in the Age of Artificial Intelligence
CXOs-Are-you-still-doing-manual-DevOps-in-the-age-of-AI.pdf
Connector Corner: Transform Unstructured Documents with Agentic Automation
EIS-Webinar-Regulated-Industries-2025-08.pdf
SGT Report The Beast Plan and Cyberphysical Systems of Control

Latin America Tour 2019 - 18c and 19c featues

  • 1. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. bienvenido
  • 2. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Lo siento, no hablo español :-(
  • 3. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. But I will do my best to help Pero haré todo lo posible para ayudar
  • 4. Cool things about 18c and 19c Connor McDonald Database Advocate geniales cosas sobre 18c y 19c
  • 5. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. Connor McDonald
  • 6. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 6
  • 7. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 7
  • 8. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Me 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 Más de 400 publicaciones principalmente en bases de datos y desarrollo 250 videos técnicos, nuevas cargas cada semana
  • 9. 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
  • 10. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 13 why me ?
  • 11. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 14
  • 12. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 15
  • 13. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 16
  • 14. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 17
  • 15. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
  • 16. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19 why you ?
  • 17. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 20 19! 18! 18! 19! 19!
  • 18. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | reality :-( 21 realidad
  • 19. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 22
  • 20. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 23
  • 21. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 24 SQL> select * from v$version; BANNER ---------------------------------------------------------- Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production PL/SQL Release 8.1.7.4.0 - Production CORE 8.1.7.0.0 Production TNS for HPUX: Version 8.1.7.4.0 - Production NLSRTL Version 3.4.1.0.0 - Production
  • 22. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 25 SQL> select * from v$version; BANNER ---------------------------------------------------------- Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production PL/SQL Release 8.1.7.4.0 - Production CORE 8.1.7.0.0 Production TNS for HPUX: Version 8.1.7.4.0 - Production NLSRTL Version 3.4.1.0.0 - Production
  • 23. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 26 SQL> select * from v$version; BANNER ---------------------------------------------------------- Oracle8i Enterprise Edition Release 8.1.7.4.0 - Production PL/SQL Release 8.1.7.4.0 - Production CORE 8.1.7.0.0 Production TNS for HPUX: Version 8.1.7.4.0 - Production NLSRTL Version 3.4.1.0.0 - Production
  • 24. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | you still should be here 27 tú todavía debería estar aquí
  • 25. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
  • 26. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 29 there's a lot in 18/19 hay una mucho en 18/19
  • 27. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 30 get started right now Empezar ahora mismo
  • 28. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 31 install nothing instalar nada
  • 29. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 32 https://cloud.oracle.com/tryit
  • 30. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 33 install a little bit instalar un poco
  • 31. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 34 https://bit.ly/prebuiltora
  • 32. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 35 install lots :-) instalar un montón
  • 33. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 36 http://www.oracle.com/technetwork/database/enterprise-edition/downloads/index.html
  • 34. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 37 install lots :-) instalar un montón fácil
  • 35. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 38
  • 36. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 39 install lots :-) instalar un montón muy fácil
  • 37. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 40
  • 38. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 41 coming soon próximamente
  • 39. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 42 install lots :-) instalar un montón muy muy fácil
  • 40. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 43 1) gold image service servicio de imagen de oro
  • 41. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 44 2) read-only ORACLE_HOME
  • 42. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 45 3) Oracle database in Docker https://bit.ly/oradocker
  • 43. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 46 licensing licenciamiento
  • 44. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 47
  • 45. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 48 degustación
  • 46. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 49 UNZIP INSTALL RPM INSTALL DOCKER READ-ONLY GOLD IMAGE
  • 47. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 50 external tables mesas externas
  • 48. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | ext_emp
  • 49. Copyright © 2018, 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 12 ( 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 ('emp20161001.dat')); Table created.
  • 50. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | ext_emp
  • 51. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 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
  • 52. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 55 easy fix fácil arreglo
  • 53. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> create table ext_emp ( 2 empno number(4), ... 12 ( 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 ('emp20161001.dat')) 21 REJECT LIMIT UNLIMITED; Table created.
  • 54. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 57
  • 55. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 58 quick revision 12.2 revisión rápida
  • 56. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 59 query time modification consulta modificación de hora
  • 57. Copyright © 2018, 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 ---------- ---------- --------- ---------- --------- ---------- --- 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250 7566 JONES MANAGER 7839 02-APR-81 2975 ... 7902 FORD ANALYST 7566 03-DEC-81 3000 7934 MILLER CLERK 7782 23-JAN-82 1300 13 rows selected.
  • 58. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select * from ext_emp 2 external modify ( location ('emp20161002.dat') ); EMPNO ENAME JOB MGR HIREDATE SAL ---------- ---------- --------- ---------- --------- ---------- --- 7902 FORD ANALYST 7566 03-DEC-81 3000 7934 MILLER CLERK 7782 23-JAN-82 1300 7566 JONES MANAGER 7839 02-APR-81 2975 ... 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 7521 WARD SALESMAN 7698 22-FEB-81 1250 8 rows selected.
  • 59. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | select * from ext_tab external modify ( [ default directory ] [ location ] [ access parameters ] [ reject limit ] );
  • 60. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 63 18c+
  • 61. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 64 zero ddl option opción cero ddl
  • 62. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select * from external ( 2 empno number(4), 3 ename varchar2(10), 4 ... 12 ( 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,...) 19 ) 20 location ('emp20161001.dat') 21 );
  • 63. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 66
  • 64. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 67 global temporary tablesprivate tablas temporales globales privado
  • 65. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 68 SQL server etc
  • 66. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 69 read locking leer bloqueo
  • 67. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 70 SELECT empno, ename, job INTO #HighPaidJobs FROM emp WHERE sal > 3000
  • 68. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 71 migration to Oracle difficult migración a Oracle difícil
  • 69. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 72 SQL> create private temporary table ORA$PTT_MY_TT 2 ( empno int , ename varchar2(20)) ; Table created. SQL> insert into ORA$PTT_MY_TT 2 select empno, ename 3 from scott.emp 4 where sal > 3000; 1 row created. SQL> select * from ORA$PTT_MY_TT; EMPNO ENAME ---------- -------------------- 7839 KING
  • 70. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 73 "um...looks the same as before" "er ... se ve igual que antes
  • 71. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 74 SQL> commit; Commit complete. SQL> select * from ORA$PTT_MY_TT; select * from ORA$PTT_MY_TT * ERROR at line 1: ORA-00942: table or view does not exist
  • 72. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 75 it's really temporary es muy temporal
  • 73. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 76 SQL> create private temporary table ORA$PTT_MY_TT 2 ( empno int , ename varchar2(20)) ; Table created. SQL> select * 2 from user_tables 3 where table_name = 'ORA$PTT_MY_TT' ; no rows selected SQL> select * 2 from all_objects 3 where object_name = 'ORA$PTT_MY_TT' ; no rows selected
  • 74. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 77 SQL> create private temporary table ORA$PTT_MY_TT 2 ( empno , ename ) 3 on commit preserve definition 4 as select 123, 'Larry' from dual; SQL> select * from ORA$PTT_MY_TT; EMPNO ENAME ---------- ----- 123 Larry SQL> commit; SQL> select * from ORA$PTT_MY_TT; EMPNO ENAME ---------- ----- 123 Larry
  • 75. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 78 it's really private es muy privado
  • 76. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 79 SQL> create private temporary table ORA$PTT_MY_TT 2 ( empno int , 3 ename varchar2(20)) ; Table created. SQL> create private temporary table ORA$PTT_MY_TT 2 ( deptno int , 3 dname varchar2(20), 4 bonus int, 5 logo blob) ; Table created.
  • 77. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 80 it's all in the name ! se trata del nombre
  • 78. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 81 SQL> create private temporary table MY_TT ( x int ) ; create private temporary table MY_TT ( x int ) * ERROR at line 1: ORA-00903: invalid table name SQL> show parameter private NAME TYPE VALUE ------------------------------- ----------- ----------- private_temp_table_prefix string ORA$PTT_
  • 79. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 82
  • 80. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 83 remember temporary undo? te acuerdas de temporary undo
  • 81. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into t values ('Hello','There'); insert into t values ('Hello','There') * ERROR at line 1: ORA-16000: database open for read-only access
  • 82. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 85 Active Data Guard
  • 83. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter session set temp_undo_enabled=true; Session altered. SQL> create global temporary table GTT_REPORT_STAGING 2 ( ... ); SQL> insert into GTT_REPORT_STAGING 2 select ... SQL> select * from GTT_REPORT_STAGING join FIN_RESULTS 2 ...
  • 84. 87 100% % of people that found this useful % de personas que esto me pareció útil
  • 85. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 88 19c
  • 86. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 89 DML redirect Redireccionamiento DML
  • 87. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 90 Standby Primary SQL> insert into REPORTING_STAGING 2 select * from ...
  • 88. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 91 bonus DataGuard
  • 89. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 92 we've all done this :-) todos hemos hecho esto
  • 90. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 93 Standby Primary
  • 91. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 94 18c
  • 92. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | RMAN> connect target sys/oracle@MY_STANDBY RMAN> connect auxiliary sys/oracle@MY_PRIMARY RMAN> recover database from service PRIMARY; Starting recover at 12.10.2018 14:05:17 using target database control file instead of recovery catalog allocated channel: ORA_DISK_1 channel ORA_DISK_1: SID=187 device type=DISK ... ...
  • 93. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 96 bonus bonus DataGuard !
  • 94. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter database force logging; 97
  • 95. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 98 19c
  • 96. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter database set standby nologging for data availability; 99 deferred commit
  • 97. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter database set standby nologging for load performance; 100 deferred transmission
  • 98. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 101
  • 99. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 102 a nice form of murder :-) asesinato realizado muy bien
  • 100. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 103 aka, #1 reason for upgrading to 18c
  • 101. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE; 104
  • 102. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 105
  • 103. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE 4 where LOAD_DATE > sysdate - 1; 106
  • 104. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter system kill session '123,456' immediate 107
  • 105. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 108
  • 106. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 109 18c
  • 107. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter system kill cancel sql '123,456'; 110
  • 108. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 111
  • 109. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 112 speaking of "#1 reason"
  • 110. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 113 #1 reason for upgrading to 19c
  • 111. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select deptno, ename 2 from emp 3 order by 1,2; DEPTNO ENAME ---------- ---------- 10 CLARK 10 KING 10 MILLER 20 ADAMS 20 FORD 20 JONES 20 SCOTT 20 SMITH 30 ALLEN 30 BLAKE 30 JAMES 30 MARTIN 30 TURNER 30 WARD 114
  • 112. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | DEPTNO MEMBERS ---------- ------------------------------------- 10 CLARK,KING,MILLER 20 SMITH,JONES,SCOTT,ADAMS,FORD 30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES 115
  • 113. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 11g 121
  • 114. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select deptno, 2 listagg( ename, ',') 3 within group (order by empno) members 4 from emp 5 group by deptno; DEPTNO MEMBERS ---------- ----------------------------------------- 10 CLARK,KING,MILLER 20 SMITH,JONES,SCOTT,ADAMS,FORD 30 ALLEN,WARD,MARTIN,BLAKE,TURNER,JAMES 122
  • 115. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | except 123 excepción
  • 116. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select deptno 2 listagg(job,',') within group ( order by job) as jobs 3 from scott.emp 4 group by deptno 5 order by 1; DEPTNO JOBS --------- -------------------------------------------------- 10 CLERK,MANAGER,PRESIDENT 20 ANALYST,ANALYST,CLERK,CLERK,MANAGER 30 CLERK,MANAGER,SALESMAN,SALESMAN,SALESMAN,SALESMAN 124
  • 117. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select owner 2 listagg(object_type,',') within group 3 ( order by object_id ) as types 4 from all_ojects 5 group by owner 6 order by 1; ERROR: ORA-01499: result of string concatenation is too long 125
  • 118. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 19c 126
  • 119. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> select deptno 2 listagg(distinct job,',') within group ( order by job) as jobs 3 from scott.emp 4 group by deptno 5 order by 1; DEPTNO JOBS --------- -------------------------------------------------- 10 CLERK,MANAGER,PRESIDENT 20 ANALYST,CLERK,MANAGER 30 CLERK,MANAGER,SALESMAN 127
  • 120. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 128
  • 121. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 129 back to #1 reason for upgrading to 19c otra razón para actualizar a 19c
  • 122. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 130 back to bad SQL hablar de nuevo sobre SQL travieso
  • 123. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 131 maybe murder won't help tal vez el asesinato no ayudará
  • 124. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 132 BAD SQL
  • 125. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 133 bad SQL just keeps coming back... SQL malo sigue volviendo
  • 126. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 134 19c
  • 127. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 135 automatic quarantine of bad SQL elapsed time resource consumption cuarentena automática de SQL incorrecto consumo de recursos tiempo transcurrido
  • 128. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 136 error on subsequent execution error en la ejecución posterior
  • 129. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 137 1) alerts to administrator alertas al administrador
  • 130. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 138 future futura
  • 131. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 139 2) automated historical diagnosis/repair arreglar automáticamente
  • 132. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 140
  • 133. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 141 maybe murder wasn't the right thing tal vez el asesinato no fue correcto
  • 134. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE 4 where LOAD_DATE > sysdate - 900; 142
  • 135. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 143
  • 136. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE w 4 where LOAD_DATE > sysdate - 900; 144 /*+ INDEX(W CUST_DATE_IX) */ *
  • 137. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 145 18c
  • 138. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter system set optimizer_ignore_hints = true 146
  • 139. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 147
  • 140. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 148 coolguay
  • 141. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 149 maybe it was the opposite ? tal vez fue lo contrario?
  • 142. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE 4 where LOAD_DATE > sysdate - 1/24; 150
  • 143. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 151
  • 144. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> insert into MY_TABLE 2 select * 3 from MY_HUGE_GREAT_FAT_TABLE 4 where LOAD_DATE > sysdate - 1/24; 152 need an index? necesita un índice?
  • 145. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 153 but what is best practice ? Pero cuál es la mejor práctica?
  • 146. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 154 1) monitor the SQL workload AWR / Top SQL supervisar la carga de trabajo de SQL
  • 147. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 155 2) consider indexes per SQL leading columns considerar índices columnas principales
  • 148. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 156 3) consolidate tables/columns (a) (a,b) (a,b,c) consolidar tablas / columnas
  • 149. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 157 4) create nosegment/unusable dictionary only solo diccionario
  • 150. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 158 5) check "virtual" explain plan cost/cardinality plan de explicación "virtual"
  • 151. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 159 6) create true index (as invisible) no impact risk sin riesgo de impacto
  • 152. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 160 7) test execute each SQL for benefit response time/IO ejecutar cada SQL para beneficio
  • 153. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 161 8) decide on each index worth decidir sobre cada valor del índice
  • 154. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 162 9) SPM quarantine the others no regression SPM pone en cuarentena sin regresión
  • 155. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 163 10) make new indexes visible hacer nuevos índices visibles
  • 156. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 164 we're done! hemos terminado!
  • 157. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 165
  • 158. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 166 go to step 1 ir al paso 1
  • 159. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. |
  • 160. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 168 19c
  • 161. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 169 automatic indexes índices automático
  • 162. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 170 we follow best practice usamos las mejores prácticas
  • 163. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 172 only need to set preferences solo necesita establecer preferencias
  • 164. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 173 AUTO_INDEX_EXCLUDE_SCHEMA AUTO_INDEX_REPORT_RETENTION AUTO_INDEX_RETENTION_FOR_AUTO AUTO_INDEX_RETENTION_FOR_MANUAL AUTO_INDEX_DEFAULT_TABLESPACE AUTO_INDEX_TEMP_TABLESPACE AUTO_INDEX_MODE AUTO_INDEX_SPACE_BUDGET
  • 165. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 174 expect this to evolve over time esperar que esto evolucione con el tiempo
  • 166. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 175
  • 167. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 176 statistics
  • 168. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 177 what most of us do esto es lo que hace la mayoría de la gente
  • 169. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 178 TIME Gather Stale overnight
  • 170. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 179 19c
  • 171. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 180 Conventional DML Real-time Statistics Gathered Statistics Lightweight Statistics
  • 172. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 181 real time statistics DML driven
  • 173. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 182 only "cheap" essential statistics high/low values row/column counts solo estadísticas esenciales "baratas"
  • 174. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 183 lightweight rapid gather resource manager reunión rápida ligera
  • 175. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 184
  • 176. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 185 revisit: security seguridad
  • 177. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 186 18c
  • 178. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 187 better schema management mejor gestión de esquemas
  • 179. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> create user data_owner 2 no authentication;
  • 180. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 189 "I already do this" "Ya hago esto"
  • 181. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> alter user data_owner account lock User altered.
  • 182. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 191 security risk riesgo de seguridad
  • 183. Copyright © 2018, 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.
  • 184. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 193 schema only accounts
  • 185. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | SQL> conn data_owner/random_password ORA-01017: invalid username/password; logon denied
  • 186. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 195 bonus security
  • 187. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 196 DBSAT
  • 188. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 197 10.2 and above
  • 189. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 198
  • 190. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. THIS
  • 191. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. IS
  • 192. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. THE
  • 193. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. BIG
  • 194. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. ONEeste es el grande
  • 195. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 18c XE 204
  • 196. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 205 100% free
  • 197. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 206 We grant you a nonexclusive, nontransferable limited license to use the programs for: (a) purposes of developing, prototyping and running your applications for your own internal data processing operations; (b) you may also distribute the programs with your applications; (c) you may use the programs to provide third party demonstrations and training; and d) you may copy and distribute the programs to your licensees provided that each such licensee agrees to the terms of this Agreement https://www.oracle.com/technetwork/licenses/db18c-express-license-5137264.html
  • 198. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 207 Derechos de licencia Oracle le otorga una licencia limitada no exclusiva e intransferible para utilizar los programas para: (a) propósitos de desarrollo, creación de prototipos y ejecución de sus aplicaciones para sus propias operaciones internas de procesamiento de datos; (b) también puede distribuir los programas con sus aplicaciones; (c) puede utilizar los programas para proporcionar demostraciones y capacitación de terceros; y d) puede copiar y distribuir los programas a sus licenciatarios siempre que cada uno de los licenciatarios acepte los términos de este Acuerdo. https://www.oracle.com/technetwork/licenses/db18c-express-license-5137264.html
  • 199. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 208 12 GB of user data 2 GB of database RAM 2 CPU threads 3 Pluggable Databases
  • 200. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 209 "Is it feature limited?" son las funciones restringidas
  • 201. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 210 Oracle Multitenant SQLJ Online index rebuild Online table reorg Online table redefinition Trial recovery Fast start recovery Flashback table Flashback query Flashback database Advanced Queueing Network Compression Client side result cache Server side result cache Adaptive plans In-memory column store In-memory aggregation Attribute Clustering Column encryption Tablespace encryption Advanced Security Database Vault Label Security AD users Privilege Analysis Real Application Security Data Redaction Virtual Private Database Spatial Graph Partitioning Advanced Analytics Advanced Compression Advanced Index Compression Transportable Tablespace Query Rewrite
  • 202. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 211 EE plus most extra cost options
  • 203. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 212
  • 204. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 213 wrap up
  • 205. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 214 there's a lot in 18/19 Hay mucho
  • 206. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 215 lots not covered today mucho ha sido omitido
  • 207. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | 216 OOW
  • 208. Copyright © 2018, Oracle and/or its affiliates. All rights reserved. | Thank you! youtube bit.ly/youtube-connor blog bit.ly/blog-connor twitter bit.ly/twitter-connor Gracias! slideshare bit.ly/slideshare-connor