Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 1
Ulrike Schwinn (Oracle Deutschland B.V. & Co KG)
Ulrike.Schwinn@oracle.com, @uschwinn
blogs.oracle.com/coretec
tinyurl.com/oratech-monthly
Die Autonome Datenbank von Oracle und
was ist 18c?
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 2
Oracle Database 18c
• Neue Nummerierung – früher Oracle Database 12c Release 2 (12.2.0.2)
• Erstes jährlich erscheinendes Release der Oracle Datenbank
• Cloud-First Release: Verfügbar auf Oracle Cloud und Engineered Systems
• Ziele in 18c : inkrementelle Änderungen und Fokus auf Stabilität
• On Premise Release noch in diesem Jahr
– Auch Oracle Database 18c XE
• "Release Schedule of Current Database Releases" MOS Doc 742060.1
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 3
Wo findet man Informationen zu 18c?
• Handbücher
– https://docs.oracle.com/en/database/oracle/oracle-database/18/index.html
• White Papers zu 18c wie zum Beispiel
– Introducing Oracle Database 18c
• Ausprobieren mit Live SQL https://livesql.oracle.com
• Interaktive Architektur:
– http://www.oracle.com/webfolder/technetwork/tutorials/architecture-
diagrams/18/technical-architecture/database-technical-architecture.html
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 4
18c Informationen auch deutschsprachig
Blog Kategorie 18c: https://blogs.oracle.com/coretec/datenbank-18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 5
Eine Feature Auswahl aus
• Multitenant
• Verfügbarkeit
• Security
• Performance
• DWH/Big Data
• Development
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 6
Multitenant
• Application Container
• Größere Portabilität
− Online PDB Relocate
− Online Cloning
− Online Refresh
• Granulare Ressourcenaufteilung
− Memory Management
− I/O Limits
• Refreshable Per-PDB Switchover
• Data Guard Erweiterungen
• CDB Fleet Management
• Point-in-time Hot Clones (Snapshot Carousel)
12.2 18c
http://www.oracle.com/technetwork/database/multitenant/learn-more/multitenantwp18c-4396158.pdf
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 7
Verfügbarkeit
• Oracle Golden Gate für heterogene Replikation
• Partitionierung auf DB Ebene mit Oracle
Database Sharding (für globale Anwendungen mit
lokalem Fokus)
• Flashback Database per PDB
• Online Operationen
− Online Table Move
• Lost Write Protection
• Sharding (z.B. user defined Shards)
• Data Guard (z.B. Global Temporary Tables)
• Active Data Guard
• Application Continuity
• RAC
Siehe auch Vortrag heute um 13:15 und morgen
12.2 18c
http://www.oracle.com/technetwork/database/availability/maximum-availability-wp-18c-4403435.pdf
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 8
Security
• Online Tablespace Encryption
• Full Encrypted Database
• Service Level ACLs für PDBs
• Lockdown Profile
• Verschlüsselungs-Keys pro PDB
• Schema-Only Accounts
• Integration mit Active Directory
12.2 18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 9
Performance
• Optimizer Statistics Advisor
• Index Usage Statistics
• AWR für PDBs
• In-Memory Column Store:
– Active Data Guard
– Join Groups für Spalten
– Expression Statistics Store
– In-Memory JSON
• In-Memory Column Store
− In-Memory External Tables
− Automatic In-Memory
• MemOptimized Rowstore für schnelle Hash
Index Zugriffe
• Vortrag um 16:0012.2 18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 10
Data Warehousing, Big Data und Analytics
• Partitionierung
– Read Only Partitionen
– Mehr Online Operationen
– Partitions-Wartungsoperationen mit Datenfilterung
• Analytische Views
• External Tables mit Partitionierung
• Realtime Materialisierte Views
• Approximate Funktionen über Parameter
• Index mit High Compression
• External Tables
− In-Memory
− Inline
• MDX Query Language für Analytische Views
• Mehr Machine Learning Algorithmen
– Random Forests für Classification
– Neurale Netze für Classification und Regression
• Mehr Online Operationen
• Weitere Approximate Funktionen
wie APPROX_SUM, APPROX_RANK12.2 18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 11
Development
• Länge von Identifier (128 statt 30)
• SQL: Case Insensitive Datenbank, mehr Kontrolle
im Fehlerfall (LISTAGG)
• SQL in PL/SQL monitoren mit PL/Scope &
hierachischem Profiler
• JSON: Data Guide, JSON/SQL zum Generieren
von JSON, Update, GeoJSON
• XML: Mehr Performance
• Oracle Text: Mehr Performance,
Sentiment Analyse
• Private temporäre Tabellen
• JSON: SQL Erweiterungen
• Oracle Text
− Text: Faceted Navigation Support
− Wildcard Search
• Polymorphe Table Funktion
• SQL*Plus Features
12.2 18c
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 12
18c Features für alle ☺
• SQL*Plus mit SQL_ID und Bildschirmanpassung
SQL*Plus
SQL> set linesize window
SQL> set feedback on sql_id
SQL> select * from emp;
EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO
---------- ---------- --------- ---------- --------- ---------- ---------- ----------
7369 SMITH CLERK 7902 17-DEC-80 800 20
7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30
7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30
7566 JONES MANAGER 7839 02-APR-81 2975 20
…
7900 JAMES CLERK 7698 03-DEC-81 950 30
7902 FORD ANALYST 7566 03-DEC-81 3000 20
7934 MILLER CLERK 7782 23-JAN-82 1300 10
14 rows selected.
SQL_ID: a2dk8bdn0ujx7
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 13
18c Features für alle
Schema Only Accounts
SQL> create user test_schemaonly no authentication quota unlimited on users;
User created.
SQL> grant create session to test_Schemaonly
Grant succeeded
SQL> create table test_schemaonly.t ( t number);
Table created.
SQL> alter user test_schemaonly grant connect through sh;
User altered.
SQL> connect sh[test_schemaonly]@pdb1
Enter password:
Connected.
User altered.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 14
18c Features für alle
• Transaktions-spezifische
• Session-spezifische
Private Temporäre Tabellen
SQL> CREATE PRIVATE TEMPORARY TABLE ORA$PTT_sales_ptt_transaction
(time_id DATE,
amount_sold NUMBER(10,2))
ON COMMIT DROP DEFINITION;
Table created.
SQL> CREATE PRIVATE TEMPORARY TABLE ORA$PTT_sales_ptt_session
(time_id DATE,
amount_sold NUMBER(10,2))
ON COMMIT PRESERVE DEFINITION;
Table created.
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 15
18c Features für alle
• Ohne vorheriges Anlegen von External Tables
Inline External Tables
SELECT * FROM EXTERNAL (
(first_name varchar2(30),
last_name varchar2(30),
hiredate date,
department_name varchar2(30),
city varchar2(30),
street_address varchar2(30))
TYPE ORACLE_LOADER
DEFAULT DIRECTORY home_dir
ACCESS PARAMETERS (
RECORDS DELIMITED BY NEWLINE nobadfile nologfile
fields date_format date mask "dd.mm.yy")
LOCATION ('employees.csv') REJECT LIMIT UNLIMITED
) employees_external
where first_name='Nancy';
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 16
• Statt
• nun
18c Features für alle
Runaway Queries abbrechen
ALTER SYSTEM KILL SESSION '285,56465';
ALTER SYSTEM CANCEL SQL 'sid, serial#, instance_id, sql_id';
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 17
• Eine Auswahl
– OPTIMIZER_IGNORE_HINTS
– OPTIMIZER_IGNORE_PARALLEL_HINTS
– PRIVATE_TEMP_TABLE_PREFIX
– UNIFIED_AUDIT_SYSTEMLOG
– MEMOPTIMIZE_POOL_SIZE
18c Features für alle
Hints, Initialisierungsparameter
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 18
18c Features …
MemOptimized Rowstore für schnelle Hash Index Zugriffe
SQL> ALTER SYSTEM SET MEMOPTIMIZE_POOL_SIZE = 500M SCOPE=SPFILE;
SQL> ALTER TABLE SH.SALES_TAB MEMOPTIMIZE FOR READ;
SQL> execute dbms_memoptimize.populate(schema_name=>'SH',table_name=>'SALES_TAB');
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 19
• Kapselung anspruchsvoller Algorithmen
– Blendet Implementierung aus
– Übergabe beliebiger Tabellenspalten zur Verarbeitung
– Rückgabe von SQL rowset (table, JSON, XML,…)
18c Features …
Polymorphe Tabellen
SELECT
state_id, . . ., AVG(credit_score), risk
FROM CREDIT_RISK(
tab => scott.customers,
cols => columns(dob, zip,loan_default),
outs => columns(credit_score, risk_level))
WHERE risk_level = ‘High’
GROUP BY state_id;
CREDITCREDITCREDITCREDIT
RISKRISKRISKRISK
ALGORITALGORITALGORITALGORIT
HMHMHMHM
SQLSQLSQLSQL
QUERYQUERYQUERYQUERY
POLYMORPHIC TABLEPOLYMORPHIC TABLEPOLYMORPHIC TABLEPOLYMORPHIC TABLE
FUNCTIONFUNCTIONFUNCTIONFUNCTION
INPUTS:
TABLE JSONXML ANALYTIC VIEW
SCOTT.CREDIT_RISK
H
H
H
H
STATE_ID RISKA_SCOREPOP LOANS A_LOAN
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 20
Und was ist Autonomous Data Warehouse Cloud (ADWC)?
• Database Version 18c != Autonomous Database
– Autonomous Database nutzt 18c Features (auch 12c, 11g, 10g, 9i, 8i, …. Features)
• ADWC != Autonomous Database
– Autonomous DW Cloud ist optimiert für DW Workloads only
– Weitere Autonomous Services werden folgen
• ADWC != 18c Database
• ADWC != X10 Exadata
What it is & What it is not
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 21
Und was ist Autonomous Data Warehouse Cloud (ADWC)?
• Ist das erste Produkt aus der Serie der Oracle Cloud Platform Autonomous
Services mit Eigenschaften wie
– Self-Driving, Self-Securing, Self-Repairing, Elastische Skalierung
• Ist spezialisiert auf Database Data Warehouse Workloads (>=1TB)
• Verfügbar als Cloud-only Produkt in den Rechenzentren Ashburn und
Frankfurt
• Eine Cloud@Customer Version wird folgen
• https://www.oracle.com/database/autonomous-database/index.html
.
What it is & What it is not
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 22
Was steckt hinter Autonomous Data Warehouse Cloud ?
1. Datenbank
Auto-
matisierungen
2. Cloud
Infrastruktur
3. Engineered
Systems
Schnelle
Bereitstellung mit
automatisierten
Enterprise Feature
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 23
Autonomous Data Warehouse Cloud
Autonomous Data Warehouse Cloud
Was soll man eigentlich darüber
erzählen?
es läuft einfach von selbst
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 24
ADWC Eckdaten
• ADWC ist ein fully managed autonomous Service
– Die meisten administrativen Aufgaben werden über das System gehandhabt
• Backup, Recovery, Tuning, Komprimierung, Parametereinstellungen, Tablespace Management usw
– Kein Zugriff auf Operating System Level
• Exadata “ready to use”
– Keine Exadata Installation, Konfiguration oder Management
• Nur Wallet based secure Connections für ADWC Instances Connections
– Credential Wallets via SQL*Net, JDBC, ODBC
– Wallet wird von ADWC Service Console geladen
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 25
• Nur wenige einfache Eckdaten sind erforderlich
– Datenbank-Name?
– Welches Rechenzentrum?
– Wieviele CPU’s?
– Wieviele TB’s?
– Administrator Password?
• Der neue Service ist in ca 30
Sekunden erzeugt -
unabhängig von der Größe
– Bereit für den Zugriff via SQL*Net
Beispiel: Provisionierung - schnell und einfach
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 26
ADWC Eckdaten
• Ressource Management über Database Services
– 3 Level (HIGH, MEDIUM, LOW) sind verfügbar
• Automatisch: Parallelisierung, Komprimierung, Ressourceallokierung etc.
• CPUs oder Storage ohne Downtime nach Bedarf anfordern
• Es gibt Restriktionen
– SQL Kommandos , Database init.ora Parameter, Database Optionen/Features, Optimizer
Hints werden ignoriert
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 28
Anbindungen und Werkzeuge
Oracle Exadata Cloud Service
Oracle Database Cloud Service
Express Cloud Service
Data Warehouse Services
(EDWs, DW, departmental marts and sandboxes)
Data Warehouse Services
(EDWs, DW, departmental marts and sandboxes)
Autonomous Data Warehouse Cloud
Service ConsoleService Console
Built-in Access Tools
SQL WorksheetSQL Worksheet Oracle MLOracle ML
Service Management
DW DatabaseDW Database
Oracle Exadata Cloud Service
Oracle Database Cloud Service
Express Cloud Service
Data Warehouse Services
(EDWs, DW, departmental marts and sandboxes)
Autonomous Data Warehouse Cloud
Service Console
Built-in Access Tools
SQL Worksheet Oracle ML
Service Management
DW Database
SQL Developer
Developer Tools
Data Integration
Services
Oracle Data Integration
Cloud Service
3rd Party DI on
Oracle Cloud Compute
3rd Party DI
On-premises
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 29
Konsole - Menü
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 35
Fazit
ADWC ist
• Einfach zu bedienen
• Schnell verfügbar
• Hochperformant
• Günstig
• Flexibel handhabbar
https://cloud.oracle.com/en_US/datawarehouse
Copyright © 2018, Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 63
Überblick: 18c und Autonomous Data Warehouse Cloud (ADWC)

Überblick: 18c und Autonomous Data Warehouse Cloud (ADWC)

  • 1.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 1 Ulrike Schwinn (Oracle Deutschland B.V. & Co KG) Ulrike.Schwinn@oracle.com, @uschwinn blogs.oracle.com/coretec tinyurl.com/oratech-monthly Die Autonome Datenbank von Oracle und was ist 18c?
  • 2.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 2 Oracle Database 18c • Neue Nummerierung – früher Oracle Database 12c Release 2 (12.2.0.2) • Erstes jährlich erscheinendes Release der Oracle Datenbank • Cloud-First Release: Verfügbar auf Oracle Cloud und Engineered Systems • Ziele in 18c : inkrementelle Änderungen und Fokus auf Stabilität • On Premise Release noch in diesem Jahr – Auch Oracle Database 18c XE • "Release Schedule of Current Database Releases" MOS Doc 742060.1
  • 3.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 3 Wo findet man Informationen zu 18c? • Handbücher – https://docs.oracle.com/en/database/oracle/oracle-database/18/index.html • White Papers zu 18c wie zum Beispiel – Introducing Oracle Database 18c • Ausprobieren mit Live SQL https://livesql.oracle.com • Interaktive Architektur: – http://www.oracle.com/webfolder/technetwork/tutorials/architecture- diagrams/18/technical-architecture/database-technical-architecture.html
  • 4.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 4 18c Informationen auch deutschsprachig Blog Kategorie 18c: https://blogs.oracle.com/coretec/datenbank-18c
  • 5.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 5 Eine Feature Auswahl aus • Multitenant • Verfügbarkeit • Security • Performance • DWH/Big Data • Development
  • 6.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 6 Multitenant • Application Container • Größere Portabilität − Online PDB Relocate − Online Cloning − Online Refresh • Granulare Ressourcenaufteilung − Memory Management − I/O Limits • Refreshable Per-PDB Switchover • Data Guard Erweiterungen • CDB Fleet Management • Point-in-time Hot Clones (Snapshot Carousel) 12.2 18c http://www.oracle.com/technetwork/database/multitenant/learn-more/multitenantwp18c-4396158.pdf
  • 7.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 7 Verfügbarkeit • Oracle Golden Gate für heterogene Replikation • Partitionierung auf DB Ebene mit Oracle Database Sharding (für globale Anwendungen mit lokalem Fokus) • Flashback Database per PDB • Online Operationen − Online Table Move • Lost Write Protection • Sharding (z.B. user defined Shards) • Data Guard (z.B. Global Temporary Tables) • Active Data Guard • Application Continuity • RAC Siehe auch Vortrag heute um 13:15 und morgen 12.2 18c http://www.oracle.com/technetwork/database/availability/maximum-availability-wp-18c-4403435.pdf
  • 8.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 8 Security • Online Tablespace Encryption • Full Encrypted Database • Service Level ACLs für PDBs • Lockdown Profile • Verschlüsselungs-Keys pro PDB • Schema-Only Accounts • Integration mit Active Directory 12.2 18c
  • 9.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 9 Performance • Optimizer Statistics Advisor • Index Usage Statistics • AWR für PDBs • In-Memory Column Store: – Active Data Guard – Join Groups für Spalten – Expression Statistics Store – In-Memory JSON • In-Memory Column Store − In-Memory External Tables − Automatic In-Memory • MemOptimized Rowstore für schnelle Hash Index Zugriffe • Vortrag um 16:0012.2 18c
  • 10.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 10 Data Warehousing, Big Data und Analytics • Partitionierung – Read Only Partitionen – Mehr Online Operationen – Partitions-Wartungsoperationen mit Datenfilterung • Analytische Views • External Tables mit Partitionierung • Realtime Materialisierte Views • Approximate Funktionen über Parameter • Index mit High Compression • External Tables − In-Memory − Inline • MDX Query Language für Analytische Views • Mehr Machine Learning Algorithmen – Random Forests für Classification – Neurale Netze für Classification und Regression • Mehr Online Operationen • Weitere Approximate Funktionen wie APPROX_SUM, APPROX_RANK12.2 18c
  • 11.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 11 Development • Länge von Identifier (128 statt 30) • SQL: Case Insensitive Datenbank, mehr Kontrolle im Fehlerfall (LISTAGG) • SQL in PL/SQL monitoren mit PL/Scope & hierachischem Profiler • JSON: Data Guide, JSON/SQL zum Generieren von JSON, Update, GeoJSON • XML: Mehr Performance • Oracle Text: Mehr Performance, Sentiment Analyse • Private temporäre Tabellen • JSON: SQL Erweiterungen • Oracle Text − Text: Faceted Navigation Support − Wildcard Search • Polymorphe Table Funktion • SQL*Plus Features 12.2 18c
  • 12.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 12 18c Features für alle ☺ • SQL*Plus mit SQL_ID und Bildschirmanpassung SQL*Plus SQL> set linesize window SQL> set feedback on sql_id SQL> select * from emp; EMPNO ENAME JOB MGR HIREDATE SAL COMM DEPTNO ---------- ---------- --------- ---------- --------- ---------- ---------- ---------- 7369 SMITH CLERK 7902 17-DEC-80 800 20 7499 ALLEN SALESMAN 7698 20-FEB-81 1600 300 30 7521 WARD SALESMAN 7698 22-FEB-81 1250 500 30 7566 JONES MANAGER 7839 02-APR-81 2975 20 … 7900 JAMES CLERK 7698 03-DEC-81 950 30 7902 FORD ANALYST 7566 03-DEC-81 3000 20 7934 MILLER CLERK 7782 23-JAN-82 1300 10 14 rows selected. SQL_ID: a2dk8bdn0ujx7
  • 13.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 13 18c Features für alle Schema Only Accounts SQL> create user test_schemaonly no authentication quota unlimited on users; User created. SQL> grant create session to test_Schemaonly Grant succeeded SQL> create table test_schemaonly.t ( t number); Table created. SQL> alter user test_schemaonly grant connect through sh; User altered. SQL> connect sh[test_schemaonly]@pdb1 Enter password: Connected. User altered.
  • 14.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 14 18c Features für alle • Transaktions-spezifische • Session-spezifische Private Temporäre Tabellen SQL> CREATE PRIVATE TEMPORARY TABLE ORA$PTT_sales_ptt_transaction (time_id DATE, amount_sold NUMBER(10,2)) ON COMMIT DROP DEFINITION; Table created. SQL> CREATE PRIVATE TEMPORARY TABLE ORA$PTT_sales_ptt_session (time_id DATE, amount_sold NUMBER(10,2)) ON COMMIT PRESERVE DEFINITION; Table created.
  • 15.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 15 18c Features für alle • Ohne vorheriges Anlegen von External Tables Inline External Tables SELECT * FROM EXTERNAL ( (first_name varchar2(30), last_name varchar2(30), hiredate date, department_name varchar2(30), city varchar2(30), street_address varchar2(30)) TYPE ORACLE_LOADER DEFAULT DIRECTORY home_dir ACCESS PARAMETERS ( RECORDS DELIMITED BY NEWLINE nobadfile nologfile fields date_format date mask "dd.mm.yy") LOCATION ('employees.csv') REJECT LIMIT UNLIMITED ) employees_external where first_name='Nancy';
  • 16.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 16 • Statt • nun 18c Features für alle Runaway Queries abbrechen ALTER SYSTEM KILL SESSION '285,56465'; ALTER SYSTEM CANCEL SQL 'sid, serial#, instance_id, sql_id';
  • 17.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 17 • Eine Auswahl – OPTIMIZER_IGNORE_HINTS – OPTIMIZER_IGNORE_PARALLEL_HINTS – PRIVATE_TEMP_TABLE_PREFIX – UNIFIED_AUDIT_SYSTEMLOG – MEMOPTIMIZE_POOL_SIZE 18c Features für alle Hints, Initialisierungsparameter
  • 18.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 18 18c Features … MemOptimized Rowstore für schnelle Hash Index Zugriffe SQL> ALTER SYSTEM SET MEMOPTIMIZE_POOL_SIZE = 500M SCOPE=SPFILE; SQL> ALTER TABLE SH.SALES_TAB MEMOPTIMIZE FOR READ; SQL> execute dbms_memoptimize.populate(schema_name=>'SH',table_name=>'SALES_TAB');
  • 19.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 19 • Kapselung anspruchsvoller Algorithmen – Blendet Implementierung aus – Übergabe beliebiger Tabellenspalten zur Verarbeitung – Rückgabe von SQL rowset (table, JSON, XML,…) 18c Features … Polymorphe Tabellen SELECT state_id, . . ., AVG(credit_score), risk FROM CREDIT_RISK( tab => scott.customers, cols => columns(dob, zip,loan_default), outs => columns(credit_score, risk_level)) WHERE risk_level = ‘High’ GROUP BY state_id; CREDITCREDITCREDITCREDIT RISKRISKRISKRISK ALGORITALGORITALGORITALGORIT HMHMHMHM SQLSQLSQLSQL QUERYQUERYQUERYQUERY POLYMORPHIC TABLEPOLYMORPHIC TABLEPOLYMORPHIC TABLEPOLYMORPHIC TABLE FUNCTIONFUNCTIONFUNCTIONFUNCTION INPUTS: TABLE JSONXML ANALYTIC VIEW SCOTT.CREDIT_RISK H H H H STATE_ID RISKA_SCOREPOP LOANS A_LOAN
  • 20.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 20 Und was ist Autonomous Data Warehouse Cloud (ADWC)? • Database Version 18c != Autonomous Database – Autonomous Database nutzt 18c Features (auch 12c, 11g, 10g, 9i, 8i, …. Features) • ADWC != Autonomous Database – Autonomous DW Cloud ist optimiert für DW Workloads only – Weitere Autonomous Services werden folgen • ADWC != 18c Database • ADWC != X10 Exadata What it is & What it is not
  • 21.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 21 Und was ist Autonomous Data Warehouse Cloud (ADWC)? • Ist das erste Produkt aus der Serie der Oracle Cloud Platform Autonomous Services mit Eigenschaften wie – Self-Driving, Self-Securing, Self-Repairing, Elastische Skalierung • Ist spezialisiert auf Database Data Warehouse Workloads (>=1TB) • Verfügbar als Cloud-only Produkt in den Rechenzentren Ashburn und Frankfurt • Eine Cloud@Customer Version wird folgen • https://www.oracle.com/database/autonomous-database/index.html . What it is & What it is not
  • 22.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 22 Was steckt hinter Autonomous Data Warehouse Cloud ? 1. Datenbank Auto- matisierungen 2. Cloud Infrastruktur 3. Engineered Systems Schnelle Bereitstellung mit automatisierten Enterprise Feature
  • 23.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 23 Autonomous Data Warehouse Cloud Autonomous Data Warehouse Cloud Was soll man eigentlich darüber erzählen? es läuft einfach von selbst
  • 24.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 24 ADWC Eckdaten • ADWC ist ein fully managed autonomous Service – Die meisten administrativen Aufgaben werden über das System gehandhabt • Backup, Recovery, Tuning, Komprimierung, Parametereinstellungen, Tablespace Management usw – Kein Zugriff auf Operating System Level • Exadata “ready to use” – Keine Exadata Installation, Konfiguration oder Management • Nur Wallet based secure Connections für ADWC Instances Connections – Credential Wallets via SQL*Net, JDBC, ODBC – Wallet wird von ADWC Service Console geladen
  • 25.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 25 • Nur wenige einfache Eckdaten sind erforderlich – Datenbank-Name? – Welches Rechenzentrum? – Wieviele CPU’s? – Wieviele TB’s? – Administrator Password? • Der neue Service ist in ca 30 Sekunden erzeugt - unabhängig von der Größe – Bereit für den Zugriff via SQL*Net Beispiel: Provisionierung - schnell und einfach
  • 26.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 26 ADWC Eckdaten • Ressource Management über Database Services – 3 Level (HIGH, MEDIUM, LOW) sind verfügbar • Automatisch: Parallelisierung, Komprimierung, Ressourceallokierung etc. • CPUs oder Storage ohne Downtime nach Bedarf anfordern • Es gibt Restriktionen – SQL Kommandos , Database init.ora Parameter, Database Optionen/Features, Optimizer Hints werden ignoriert
  • 27.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 28 Anbindungen und Werkzeuge Oracle Exadata Cloud Service Oracle Database Cloud Service Express Cloud Service Data Warehouse Services (EDWs, DW, departmental marts and sandboxes) Data Warehouse Services (EDWs, DW, departmental marts and sandboxes) Autonomous Data Warehouse Cloud Service ConsoleService Console Built-in Access Tools SQL WorksheetSQL Worksheet Oracle MLOracle ML Service Management DW DatabaseDW Database Oracle Exadata Cloud Service Oracle Database Cloud Service Express Cloud Service Data Warehouse Services (EDWs, DW, departmental marts and sandboxes) Autonomous Data Warehouse Cloud Service Console Built-in Access Tools SQL Worksheet Oracle ML Service Management DW Database SQL Developer Developer Tools Data Integration Services Oracle Data Integration Cloud Service 3rd Party DI on Oracle Cloud Compute 3rd Party DI On-premises
  • 28.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 29 Konsole - Menü
  • 29.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 35 Fazit ADWC ist • Einfach zu bedienen • Schnell verfügbar • Hochperformant • Günstig • Flexibel handhabbar https://cloud.oracle.com/en_US/datawarehouse
  • 30.
    Copyright © 2018,Oracle and/or its affiliates. All rights reserved.BU Core & Cloud Technologies 63