Property Graphs in APEX.pptx

Use Oracle Graph with APEX
Make building modern data-driven applications easier
Rahul Tasker
Spatial and Graph Product Management
Safe harbor statement
The following is intended to outline our general product direction. It is intended
for information purposes only and may not be incorporated into any contract. It
is not a commitment to deliver any material, code, or functionality, and should
not be relied upon in making purchasing decisions. The development, release,
timing, and pricing of any features or functionality described for Oracle’s
products may change and remains at the sole discretion of Oracle Corporation.
Copyright © 2023, Oracle and/or its affiliates
2
Copyright © 2023, Oracle and/or its affiliates
3
• Introduction to graphs
• What are SQL property graphs
• Graphs in APEX
• Demo
• Q/A
Agenda
Copyright © 2023, Oracle and/or its affiliates
4
Graph
What is a graph?
• Data model representing entities as vertices and
relationships as edges
• Optionally including attributes
What are typical graphs?
• Social networks
• LinkedIn, Facebook, Twitter, ...
• Physical networks, supplier networks, ...
• Dependency graphs
• Part hierarchies, data lineage, org charts, ...
• Workflows
• Knowledge graphs
• Associating related entities, e.g. in public safety
E
A D
C B
F
Copyright © 2023, Oracle and/or its affiliates
5
A graph representation of your data
• Data entities become vertices
• Connections between them become edges
Graph Analytics
Consider new nodes J, K, L
• Node I is highly connected, so it could be an
important node
• Node J has only one connection, but that is an
incoming edge from Node I, an important node
• So Node J might be important too
Example: Pagerank algorithm identifies such
Graph Data Model
E
A
D
C
B
F
H
I
G
J
K
L
Ora-Gram-Book
Ora-Gram Book is a fictitious social media platform.
• Connect with family and friends
• Post photos and videos
• Comment and like others' posts
As new users join Ora-Gram-Book, they want to make it easier for friends and
family to find each other easier and faster.
Copyright © 2023, Oracle and/or its affiliates
6
Users
ID
Email
Name
DOB
Posts
ID
Content
Likes
ID
Post_ID
Liker_ID
Comments
ID
Post_ID
Commentor_ID
Follows
ID
Follower_ID
Followed_ID
Creates
ID
Poster_ID
Post_id
Copyright © 2023, Oracle and/or its affiliates
7
Users
ID
Email
Name
DOB
Posts
ID
Content
Likes
ID
Post_ID
Liker_ID
Comments
ID
Post_ID
Commentor_ID
Follows
ID
Follower_ID
Followed_ID
Users
Follows
Comments
Likes
Creates
ID
Poster_ID
Post_id
Posts
Creates
Copyright © 2023, Oracle and/or its affiliates
8
What users should we recommend Thom follows?
Recommend new connections to users based on a high amount of mutual follows/followers
Copyright © 2023, Oracle and/or its affiliates
9
What users should we recommend Thom follow?
Recommend new connections to users based on a high amount of mutual follows/followers
Copyright © 2023, Oracle and/or its affiliates
10
Copyright © 2023, Oracle and/or its affiliates
11
Create a Graph from Tables
ID
1
2
3
…
672
673
674
…
831
832
833
…
FOLLOWERS
USERS
FOLLOWER_ID FOLLOWED_ID
1 2
1 672
3 1
2 833
2 840
2 493
… …
PGQL DDL SYNTAX:
CREATE PROPERTY GRAPH Oragrambook_graph
VERTEX TABLES (
USERS LABEL Users PROPERTIES ( ID, EMAIL, NAME, DOB )
)
EDGE TABLES (
FOLLOWERS
KEY(POST_ID)
SOURCE KEY ( FOLLOWER_ID) REFERENCES USERS
DESTINATION KEY ( FOLLOWED_ID) REFERENCES USERS
LABEL follows PROPERTIES ( FOLLOWED_ID )
672
833
Query a Graph
Copyright © 2023, Oracle and/or its affiliates
12
/* List accounts which have transferred money to another account */
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->(dst)
COLUMNS (src.id as id) );
Vertices are in (), edges are in []
Columns to return
follows
src dst
Query a Graph
Copyright © 2023, Oracle and/or its affiliates
13
/* List users who follow other users */
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->(dst)
COLUMNS (src.id as id) );
Vertices are in (), edges are in []
Columns to return
select id from GRAPH_TABLE(social_graph
MATCH (src)-[is follows]->{1,3}(dst)
COLUMNS (dst.id as id) ); Path length in {} – from 1 to 3
hops
/* List users who follows a user who follows a user… (inclusive) */
follows
src dst
follows follows
Copyright © 2023, Oracle and/or its affiliates
14
Contrasting Developer Architectures
Document Reporting
Every App Requires distributed
execution and data movement across
multiple fragmented databases
Developers Focused on Innovation
Developers Focused on Integration
EVENT
RPC
ETL
REPLICATION
EVENT
RPC
ETL
REPLICATION
Simply invoke SQL or REST API to
run report, ML, graph, spatial,
blockchain, IoT, etc. in a
converged database
OracleStrategy
HeterogeneousStrategy
Text Search Graph
ML
EVENT
RPC
ETL
REPLICATION
ETL
REPLICATION
EVENT
RPC
Copyright © 2023, Oracle and/or its affiliates
Graphs in APEX
15
Newly release Graph Visualization and Sample App
Copyright © 2023, Oracle and/or its affiliates
16
Available at https://oracle.github.io/apex/
Graph Visualization Plugin
Copyright © 2023, Oracle and/or its affiliates
17
• Visualize Graph queries
• Customize appearance and layout
• Customize labels
• Interactive page item
Native Graph Support
Copyright © 2023, Oracle and/or its affiliates
18
• Property Graph Source
• SQL Query source
• Declares match, columns and
where clauses
• Wherever you can use SQL, you
can use SQL property graphs
Copyright © 2023, Oracle and/or its affiliates
Demo
19
Modern Apps Need To Generate Value From Data in New Ways
Machine
Learning
Real-Time
Analytics
Blockchain
Documents
Graph
Analysis
Spatial
Processing
Text
Search
IoT
Copyright © 2023, Oracle and/or its affiliates
20
Summary
• Graphs can make complex queries very simple
• New SQL syntax supported for Property Graph
• APEX and other SQL tools and development environments can be used with property graphs out-of-
the-box
• Native Support for APEX
• Graph visualization plugin
21 Copyright © 2023, Oracle and/or its affiliates
Blog posts
• Overview blog post on Oracle Graph 23c
• Get started with property graphs in 23c
Examples (Jupyter, SQLDev)
• Github
Videos
• Property graphs with SQL
• Create, query and visualize graphs with SQL
• OCW presentation – Property graphs join SQL
LiveLabs workshop
• Property graphs in Oracle 23c
Documentation
• Plugin and sample app download
• Plugin documentation
• Oracle Graph Developer‘s Guide
Oracle Graph 23c – Resources
Copyright © 2023, Oracle and/or its affiliates
22
• Learning Sessions
• Hands On Labs
• Digital Sessions
• Demos
• Details on all Graph Cloud World Sessions
• Details on all Spatial Cloud World Sessions
Learn more about Graphs at DatabaseWorld at CloudWorld
23 Copyright © 2023, Oracle and/or its affiliates
Q/A
24 Copyright © 2023, Oracle and/or its affiliates
1 von 24

Recomendados

Oracle 11G SCAN: Concepts and Implementation Experience Sharing von
Oracle 11G SCAN: Concepts and Implementation Experience SharingOracle 11G SCAN: Concepts and Implementation Experience Sharing
Oracle 11G SCAN: Concepts and Implementation Experience SharingYury Velikanov
7.5K views28 Folien
Always on in sql server 2017 von
Always on in sql server 2017Always on in sql server 2017
Always on in sql server 2017Gianluca Hotz
1.4K views53 Folien
Introduction to NoSQL Databases von
Introduction to NoSQL DatabasesIntroduction to NoSQL Databases
Introduction to NoSQL DatabasesDerek Stainer
47.7K views36 Folien
Big data on aws von
Big data on awsBig data on aws
Big data on awsSerkan Özal
1.3K views75 Folien
Oracle Database Appliance Workshop von
Oracle Database Appliance WorkshopOracle Database Appliance Workshop
Oracle Database Appliance WorkshopMarketingArrowECS_CZ
2.6K views58 Folien
Apache Kafka® and the Data Mesh von
Apache Kafka® and the Data MeshApache Kafka® and the Data Mesh
Apache Kafka® and the Data MeshConfluentInc1
189 views23 Folien

Más contenido relacionado

Was ist angesagt?

Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta von
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu GantaAzure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu GantaDatabricks
2.8K views23 Folien
Oracle Enterprise Manager 12c - OEM12c Presentation von
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c PresentationFrancisco Alvarez
7.2K views84 Folien
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour... von
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Sandesh Rao
3.4K views50 Folien
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop von
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of HadoopDatabricks
6.3K views64 Folien
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi von
 Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng ShiDatabricks
3.7K views24 Folien
An overview of BigQuery von
An overview of BigQuery An overview of BigQuery
An overview of BigQuery GirdhareeSaran
238 views11 Folien

Was ist angesagt?(20)

Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta von Databricks
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu GantaAzure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Azure Databricks – Customer Experiences and Lessons Denzil Ribeiro Madhu Ganta
Databricks2.8K views
Oracle Enterprise Manager 12c - OEM12c Presentation von Francisco Alvarez
Oracle Enterprise Manager 12c - OEM12c PresentationOracle Enterprise Manager 12c - OEM12c Presentation
Oracle Enterprise Manager 12c - OEM12c Presentation
Francisco Alvarez7.2K views
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour... von Sandesh Rao
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Oracle Real Application Clusters 19c- Best Practices and Internals- EMEA Tour...
Sandesh Rao3.4K views
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop von Databricks
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
5 Critical Steps to Clean Your Data Swamp When Migrating Off of Hadoop
Databricks6.3K views
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi von Databricks
 Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Apache Kylin: Speed Up Cubing with Apache Spark with Luke Han and Shaofeng Shi
Databricks3.7K views
Data Science Across Data Sources with Apache Arrow von Databricks
Data Science Across Data Sources with Apache ArrowData Science Across Data Sources with Apache Arrow
Data Science Across Data Sources with Apache Arrow
Databricks671 views
Modernizing to a Cloud Data Architecture von Databricks
Modernizing to a Cloud Data ArchitectureModernizing to a Cloud Data Architecture
Modernizing to a Cloud Data Architecture
Databricks654 views
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga... von DataScienceConferenc1
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
[DSC Europe 22] Lakehouse architecture with Delta Lake and Databricks - Draga...
Apache Spark Streaming in K8s with ArgoCD & Spark Operator von Databricks
Apache Spark Streaming in K8s with ArgoCD & Spark OperatorApache Spark Streaming in K8s with ArgoCD & Spark Operator
Apache Spark Streaming in K8s with ArgoCD & Spark Operator
Databricks452 views
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES von Ludovico Caldara
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIESORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
ORACLE 12C DATA GUARD: FAR SYNC, REAL-TIME CASCADE STANDBY AND OTHER GOODIES
Ludovico Caldara9.8K views
Building End-to-End Delta Pipelines on GCP von Databricks
Building End-to-End Delta Pipelines on GCPBuilding End-to-End Delta Pipelines on GCP
Building End-to-End Delta Pipelines on GCP
Databricks650 views
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update von Markus Michalewicz
Oracle RAC 19c with Standard Edition (SE) 2 - Support UpdateOracle RAC 19c with Standard Edition (SE) 2 - Support Update
Oracle RAC 19c with Standard Edition (SE) 2 - Support Update
Markus Michalewicz6.3K views
Azure cosmos db, Azure no-SQL database, von BRIJESH KUMAR
Azure cosmos db, Azure no-SQL database, Azure cosmos db, Azure no-SQL database,
Azure cosmos db, Azure no-SQL database,
BRIJESH KUMAR149 views
Master the Multi-Clustered Data Warehouse - Snowflake von Matillion
Master the Multi-Clustered Data Warehouse - SnowflakeMaster the Multi-Clustered Data Warehouse - Snowflake
Master the Multi-Clustered Data Warehouse - Snowflake
Matillion1.1K views
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc... von Neo4j
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Scale Your Mission-Critical Applications With Neo4j Fabric and Clustering Arc...
Neo4j82 views

Similar a Property Graphs in APEX.pptx

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p... von
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...Jean Ihm
622 views61 Folien
How To Visualize Graphs von
How To Visualize GraphsHow To Visualize Graphs
How To Visualize GraphsJean Ihm
789 views53 Folien
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map von
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the MapTammy Bednar
151 views42 Folien
Workshop - Build a Graph Solution von
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph SolutionNeo4j
94 views61 Folien
Database@Home : The Future is Data Driven von
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data DrivenTammy Bednar
81 views35 Folien
UNYOUG - APEX 19.2 New Features von
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Featuresmsewtz
562 views45 Folien

Similar a Property Graphs in APEX.pptx(20)

How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p... von Jean Ihm
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
How To Model and Construct Graphs with Oracle Database (AskTOM Office Hours p...
Jean Ihm622 views
How To Visualize Graphs von Jean Ihm
How To Visualize GraphsHow To Visualize Graphs
How To Visualize Graphs
Jean Ihm789 views
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map von Tammy Bednar
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
#dbhouseparty - Spatial Technologies - @Home and Everywhere Else on the Map
Tammy Bednar151 views
Workshop - Build a Graph Solution von Neo4j
Workshop - Build a Graph SolutionWorkshop - Build a Graph Solution
Workshop - Build a Graph Solution
Neo4j94 views
Database@Home : The Future is Data Driven von Tammy Bednar
Database@Home : The Future is Data DrivenDatabase@Home : The Future is Data Driven
Database@Home : The Future is Data Driven
Tammy Bednar81 views
UNYOUG - APEX 19.2 New Features von msewtz
UNYOUG - APEX 19.2 New FeaturesUNYOUG - APEX 19.2 New Features
UNYOUG - APEX 19.2 New Features
msewtz562 views
Dimensional modeling in oracle sql developer von Jeff Smith
Dimensional modeling in oracle sql developerDimensional modeling in oracle sql developer
Dimensional modeling in oracle sql developer
Jeff Smith33.2K views
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps von Jean Ihm
Oracle Spatial Studio:  Fast and Easy Spatial Analytics and MapsOracle Spatial Studio:  Fast and Easy Spatial Analytics and Maps
Oracle Spatial Studio: Fast and Easy Spatial Analytics and Maps
Jean Ihm935 views
Solving Enterprise Data Challenges with Apache Arrow von Wes McKinney
Solving Enterprise Data Challenges with Apache ArrowSolving Enterprise Data Challenges with Apache Arrow
Solving Enterprise Data Challenges with Apache Arrow
Wes McKinney1.1K views
Arches Getty Brownbag Talk von benosteen
Arches Getty Brownbag TalkArches Getty Brownbag Talk
Arches Getty Brownbag Talk
benosteen156 views
SQL to NoSQL: Top 6 Questions von Mike Broberg
SQL to NoSQL: Top 6 QuestionsSQL to NoSQL: Top 6 Questions
SQL to NoSQL: Top 6 Questions
Mike Broberg1.2K views
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts von Chris Muir
Oracle ADF Architecture TV - Development - Naming Conventions & Project LayoutsOracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Oracle ADF Architecture TV - Development - Naming Conventions & Project Layouts
Chris Muir1.1K views
GraphQL research summary von Objectivity
GraphQL research summaryGraphQL research summary
GraphQL research summary
Objectivity196 views
Intro to JavaScript for APEX Developers von Daniel McGhan
Intro to JavaScript for APEX DevelopersIntro to JavaScript for APEX Developers
Intro to JavaScript for APEX Developers
Daniel McGhan662 views
Your Roadmap for An Enterprise Graph Strategy von Neo4j
Your Roadmap for An Enterprise Graph StrategyYour Roadmap for An Enterprise Graph Strategy
Your Roadmap for An Enterprise Graph Strategy
Neo4j340 views
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F... von Codemotion
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Perchè potresti aver bisogno di un database NoSQL anche se non sei Google o F...
Codemotion1.5K views
NYC School of Data - High School Selection Workshop von msewtz
NYC School of Data - High School Selection WorkshopNYC School of Data - High School Selection Workshop
NYC School of Data - High School Selection Workshop
msewtz371 views
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference von Deepak Chandramouli
Nodes2020 | Graph of enterprise_metadata | NEO4J ConferenceNodes2020 | Graph of enterprise_metadata | NEO4J Conference
Nodes2020 | Graph of enterprise_metadata | NEO4J Conference
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده... von mahdi ahmadi
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...
Oracle restful api & data live charting by Oracle Apex - داشبورد آنلاین (داده...
mahdi ahmadi206 views

Último

Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... von
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...ShapeBlue
194 views62 Folien
Qualifying SaaS, IaaS.pptx von
Qualifying SaaS, IaaS.pptxQualifying SaaS, IaaS.pptx
Qualifying SaaS, IaaS.pptxSachin Bhandari
1K views8 Folien
"Surviving highload with Node.js", Andrii Shumada von
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada Fwdays
56 views29 Folien
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... von
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...ShapeBlue
145 views17 Folien
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ von
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericShapeBlue
130 views9 Folien
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... von
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...ShapeBlue
161 views13 Folien

Último(20)

Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P... von ShapeBlue
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
Developments to CloudStack’s SDN ecosystem: Integration with VMWare NSX 4 - P...
ShapeBlue194 views
"Surviving highload with Node.js", Andrii Shumada von Fwdays
"Surviving highload with Node.js", Andrii Shumada "Surviving highload with Node.js", Andrii Shumada
"Surviving highload with Node.js", Andrii Shumada
Fwdays56 views
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava... von ShapeBlue
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
Centralized Logging Feature in CloudStack using ELK and Grafana - Kiran Chava...
ShapeBlue145 views
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ von ShapeBlue
Confidence in CloudStack - Aron Wagner, Nathan Gleason - AmericConfidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
Confidence in CloudStack - Aron Wagner, Nathan Gleason - Americ
ShapeBlue130 views
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda... von ShapeBlue
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
Hypervisor Agnostic DRS in CloudStack - Brief overview & demo - Vishesh Jinda...
ShapeBlue161 views
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N... von James Anderson
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
GDG Cloud Southlake 28 Brad Taylor and Shawn Augenstein Old Problems in the N...
James Anderson160 views
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue von ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlueVNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
VNF Integration and Support in CloudStack - Wei Zhou - ShapeBlue
ShapeBlue203 views
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool von ShapeBlue
Extending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPoolExtending KVM Host HA for Non-NFS Storage -  Alex Ivanov - StorPool
Extending KVM Host HA for Non-NFS Storage - Alex Ivanov - StorPool
ShapeBlue123 views
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T von ShapeBlue
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&TCloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
CloudStack and GitOps at Enterprise Scale - Alex Dometrius, Rene Glover - AT&T
ShapeBlue152 views
Business Analyst Series 2023 - Week 4 Session 7 von DianaGray10
Business Analyst Series 2023 -  Week 4 Session 7Business Analyst Series 2023 -  Week 4 Session 7
Business Analyst Series 2023 - Week 4 Session 7
DianaGray10139 views
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ... von ShapeBlue
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
Backup and Disaster Recovery with CloudStack and StorPool - Workshop - Venko ...
ShapeBlue184 views
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading... von The Digital Insurer
Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...Webinar : Desperately Seeking Transformation - Part 2:  Insights from leading...
Webinar : Desperately Seeking Transformation - Part 2: Insights from leading...
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue von ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlueCloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
CloudStack Object Storage - An Introduction - Vladimir Petrov - ShapeBlue
ShapeBlue138 views
Initiating and Advancing Your Strategic GIS Governance Strategy von Safe Software
Initiating and Advancing Your Strategic GIS Governance StrategyInitiating and Advancing Your Strategic GIS Governance Strategy
Initiating and Advancing Your Strategic GIS Governance Strategy
Safe Software176 views
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha... von ShapeBlue
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
Mitigating Common CloudStack Instance Deployment Failures - Jithin Raju - Sha...
ShapeBlue180 views
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online von ShapeBlue
KVM Security Groups Under the Hood - Wido den Hollander - Your.OnlineKVM Security Groups Under the Hood - Wido den Hollander - Your.Online
KVM Security Groups Under the Hood - Wido den Hollander - Your.Online
ShapeBlue221 views

Property Graphs in APEX.pptx

  • 1. Use Oracle Graph with APEX Make building modern data-driven applications easier Rahul Tasker Spatial and Graph Product Management
  • 2. Safe harbor statement The following is intended to outline our general product direction. It is intended for information purposes only and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. The development, release, timing, and pricing of any features or functionality described for Oracle’s products may change and remains at the sole discretion of Oracle Corporation. Copyright © 2023, Oracle and/or its affiliates 2
  • 3. Copyright © 2023, Oracle and/or its affiliates 3 • Introduction to graphs • What are SQL property graphs • Graphs in APEX • Demo • Q/A Agenda
  • 4. Copyright © 2023, Oracle and/or its affiliates 4 Graph What is a graph? • Data model representing entities as vertices and relationships as edges • Optionally including attributes What are typical graphs? • Social networks • LinkedIn, Facebook, Twitter, ... • Physical networks, supplier networks, ... • Dependency graphs • Part hierarchies, data lineage, org charts, ... • Workflows • Knowledge graphs • Associating related entities, e.g. in public safety E A D C B F
  • 5. Copyright © 2023, Oracle and/or its affiliates 5 A graph representation of your data • Data entities become vertices • Connections between them become edges Graph Analytics Consider new nodes J, K, L • Node I is highly connected, so it could be an important node • Node J has only one connection, but that is an incoming edge from Node I, an important node • So Node J might be important too Example: Pagerank algorithm identifies such Graph Data Model E A D C B F H I G J K L
  • 6. Ora-Gram-Book Ora-Gram Book is a fictitious social media platform. • Connect with family and friends • Post photos and videos • Comment and like others' posts As new users join Ora-Gram-Book, they want to make it easier for friends and family to find each other easier and faster. Copyright © 2023, Oracle and/or its affiliates 6
  • 9. What users should we recommend Thom follows? Recommend new connections to users based on a high amount of mutual follows/followers Copyright © 2023, Oracle and/or its affiliates 9
  • 10. What users should we recommend Thom follow? Recommend new connections to users based on a high amount of mutual follows/followers Copyright © 2023, Oracle and/or its affiliates 10
  • 11. Copyright © 2023, Oracle and/or its affiliates 11 Create a Graph from Tables ID 1 2 3 … 672 673 674 … 831 832 833 … FOLLOWERS USERS FOLLOWER_ID FOLLOWED_ID 1 2 1 672 3 1 2 833 2 840 2 493 … … PGQL DDL SYNTAX: CREATE PROPERTY GRAPH Oragrambook_graph VERTEX TABLES ( USERS LABEL Users PROPERTIES ( ID, EMAIL, NAME, DOB ) ) EDGE TABLES ( FOLLOWERS KEY(POST_ID) SOURCE KEY ( FOLLOWER_ID) REFERENCES USERS DESTINATION KEY ( FOLLOWED_ID) REFERENCES USERS LABEL follows PROPERTIES ( FOLLOWED_ID ) 672 833
  • 12. Query a Graph Copyright © 2023, Oracle and/or its affiliates 12 /* List accounts which have transferred money to another account */ select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->(dst) COLUMNS (src.id as id) ); Vertices are in (), edges are in [] Columns to return follows src dst
  • 13. Query a Graph Copyright © 2023, Oracle and/or its affiliates 13 /* List users who follow other users */ select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->(dst) COLUMNS (src.id as id) ); Vertices are in (), edges are in [] Columns to return select id from GRAPH_TABLE(social_graph MATCH (src)-[is follows]->{1,3}(dst) COLUMNS (dst.id as id) ); Path length in {} – from 1 to 3 hops /* List users who follows a user who follows a user… (inclusive) */ follows src dst follows follows
  • 14. Copyright © 2023, Oracle and/or its affiliates 14 Contrasting Developer Architectures Document Reporting Every App Requires distributed execution and data movement across multiple fragmented databases Developers Focused on Innovation Developers Focused on Integration EVENT RPC ETL REPLICATION EVENT RPC ETL REPLICATION Simply invoke SQL or REST API to run report, ML, graph, spatial, blockchain, IoT, etc. in a converged database OracleStrategy HeterogeneousStrategy Text Search Graph ML EVENT RPC ETL REPLICATION ETL REPLICATION EVENT RPC
  • 15. Copyright © 2023, Oracle and/or its affiliates Graphs in APEX 15
  • 16. Newly release Graph Visualization and Sample App Copyright © 2023, Oracle and/or its affiliates 16 Available at https://oracle.github.io/apex/
  • 17. Graph Visualization Plugin Copyright © 2023, Oracle and/or its affiliates 17 • Visualize Graph queries • Customize appearance and layout • Customize labels • Interactive page item
  • 18. Native Graph Support Copyright © 2023, Oracle and/or its affiliates 18 • Property Graph Source • SQL Query source • Declares match, columns and where clauses • Wherever you can use SQL, you can use SQL property graphs
  • 19. Copyright © 2023, Oracle and/or its affiliates Demo 19
  • 20. Modern Apps Need To Generate Value From Data in New Ways Machine Learning Real-Time Analytics Blockchain Documents Graph Analysis Spatial Processing Text Search IoT Copyright © 2023, Oracle and/or its affiliates 20
  • 21. Summary • Graphs can make complex queries very simple • New SQL syntax supported for Property Graph • APEX and other SQL tools and development environments can be used with property graphs out-of- the-box • Native Support for APEX • Graph visualization plugin 21 Copyright © 2023, Oracle and/or its affiliates
  • 22. Blog posts • Overview blog post on Oracle Graph 23c • Get started with property graphs in 23c Examples (Jupyter, SQLDev) • Github Videos • Property graphs with SQL • Create, query and visualize graphs with SQL • OCW presentation – Property graphs join SQL LiveLabs workshop • Property graphs in Oracle 23c Documentation • Plugin and sample app download • Plugin documentation • Oracle Graph Developer‘s Guide Oracle Graph 23c – Resources Copyright © 2023, Oracle and/or its affiliates 22
  • 23. • Learning Sessions • Hands On Labs • Digital Sessions • Demos • Details on all Graph Cloud World Sessions • Details on all Spatial Cloud World Sessions Learn more about Graphs at DatabaseWorld at CloudWorld 23 Copyright © 2023, Oracle and/or its affiliates
  • 24. Q/A 24 Copyright © 2023, Oracle and/or its affiliates

Hinweis der Redaktion

  1. Here are some additional resources on Graphs in Oracle Database 23c
  2. Be sure to catch us at Cloud World if you’re interested in learning more