Академический Документы
Профессиональный Документы
Культура Документы
Hive
and Querying HDFS from
PL/SQL
CON6359
1
Querying Oracle Table from Hadoop/Hive
2
Querying Hadoop/HDFS from PL/SQL
Kuassi Mensah
Director, Product Management
Oracle Server Technologies
September 19, 2016
1
Big Data Analytics & Requirements
2
Oracle Datasource for Hadoop (OD4H)
3
Summary and Demo
Big Data
(Weblogs, Facts, Scans,
Master Data Events, IoT)
Example
Hive query for joining tables from Big Data and Oracle
1
Big Data Analytics & Requirements
2
Oracle Datasource for Hadoop & Spark (OD4H)
3
Summary and Demo
YARN
Data
HCatalog,
InputFormat,
StorageHand
Compute ler Storage
Resources HDFS NoSQLExternal
Table Oracle
+ Handler
table(s)
Scheduler
Redundant Storage
ect, parallel, fast secure and consistent access to master data (SCN)
Hive
StorageHandler
InputFormat
Database
HCatalog
Impa
Oracle
la
YARN
Spar
k
Maho
ut
Oth
er
Copyright 2016, Oracle and/or its affiliates. All rights reserved. |
Oracle Table as Hive External Table
DDL
Oracle Confidential
Copyright 2016, Oracle and/or its affiliates. All rights reserved. |
Putting Everything Together
Hive
DDL
HCatalog
granule split
split
MapTask
granule
1
Big Data Analytics & Requirements
2
Oracle Datasource for Hadoop (OD4H)
3
Summary and Demo
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions
{;}
PL/SQL
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions
database
pl/sql
odci
session hive_t binding
sql
hive_q view
select/dml/ddl
client
Application
Confidential Oracle Internal/Restricted/Highly
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | 34
Restricted
The Solution
Example
pipelined data
param
bidirectional Application
if ( inserting ) then
end user_log_dml;
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions
Lean on your experience and your BDA Team Confidential Oracle Internal/Restricted/Highly
Copyright 2016, Oracle and/or its affiliates. All rights reserved. |
Restricted
41
Considerations
Reach out
If you have questions, concerns or comments
Feel free to contact me
Available on Github
https://github.com/nvanwyen/hive-odci
https://github.com/nvanwyen/hive-odci/releases/latest
Contact
nvanwyen@mtihq.com
Confidential Oracle Internal/Restricted/Highly
Copyright 2016, Oracle and/or its affiliates. All rights reserved. | 42
Restricted
Thats it
1
The Real-World
2
The Problem
3
The Solution
4
Considerations
5
Questions