Oracle Spatial and Graph in Oracle Database 19c
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Multimodel Database
• Oracle Database supports multiple models – Relational, In-memory, Sharded – Document Store • JSON • XML • Text • OLAP – Spatial Database – Graph Database and Triple Store
• Oracle Database support multiple languages and access protocols
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 2 Spatial and Graph Analysis – It is about relationships
• Are things in the same location? Who is the nearest? What tax zone is this in? Where can deliver in 35 minutes? What is in my sales territory? Is this built in a flood zone? • Which supplier am I most dependent upon? Who is the most influential customer? Do my products appeal to certain communities? What patterns are there in fraudulent behavior?
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle Spatial and Graph Three major features
Spatial Property Graph RDF Graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 4 Oracle Spatial and Graph On Premises, Cloud and in Autonomous Database
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 5 Oracle Spatial and Graph Location and graph analysis with secure storage for enterprise data
Deployable Services Mapping Geocoding Routing Web Services (OGC)
Raster Points
3D / LiDAR Lines
Topologies Location Tracking Polygons Networks Property Graphs (Geofencing) RDF Graphs
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle Spatial and Graph 19C Three major features
Spatial Property Graph RDF Graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 7 Spatial Processing in Oracle Database
Native Geometry Data Types Geometries in Oracle Tables Points, Lines, Polygons, etc. ROADS P Element 0 P RNAME ID TYPE LANES GEOM1 GEOM2 P 7 H H 6 P M40 140 HWY 6 8 H 4 Element 1 (Hole) P H3 5 1 P M25 141 HWY 4 1 2 P P 4 2 3 Spatial Indexing SQL Query and Analysis SELECT a.owner_name, a.acquisition_status FROM properties a, projects b WHERE sdo_within_distance (a.property_geom1, b.project_geom, Operators and Functions ‘distance = .1 unit = mile’) = ‘TRUE’ and Select, within distance, b.project_id=189498; nearest neighbor, intersection, union, centroid, ...
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Spatial Analysis • 100’s of SQL spatial analysis operators – Filter – Combine – Transform – Measure
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 9 Advanced Spatial Data Models • Spatial networks for roads, • Topology for mapping, land transport, pipelines, telcos and other management and cadastre geographically connected analysis applications
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 10 Raster, 3D, Point Clouds and LiDAR support Raster Point Clouds Solids Triangular Irregular Networks
3D Coordinate Systems Raster and 3D Queries
Raster Analysis and Volumetric Analysis Visibility queries Operations
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Major New Spatial Features Ease of Use Performance Improved Database • JSON and Oracle REST • Ability to use spatial Support Data Services operators without a • Spatial support for improvements spatial index distributed transactions • Improved web services • Spatial index performance • Spatial support for user interface, CSW and improvements database sharding WFS enhancements – Enhancements to CBTree • index to use the data layer Self-service development directly for Spatial index tool access. – 3x faster query performance for large point data sets.
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 12 Spatial Visualization Map authoring tool Self-service spatial analytics
Web-based admin
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle Spatial and Graph 19C Three major features
Spatial Property Graph RDF Graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 15 Property Graph Analysis for Business Insight Identify Discover Graph Patterns Generate Influencers in Big Data Recommendations
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 16 Computational Property Graph Analytics: Built-in Package
Rich set of built-in parallel graph algorithms … and parallel graph mutation operations
a Detecting Components Ranking and Walking The original graph and Communities a f d d Pagerank, Personalized Pagerank, Left Set: “a,b,e” a Tarjan’s, Kosaraju’s, Betwenness Centrality (w/ variants), b g f g Weakly Connected Closeness Centrality, Degree d b e Components, Label Centrality, e h Propagation (w/ variants), Eigenvector Centrality, HITS, i g c i Soman and Narang’s Random walking and sampling (w/ b e Spacification variants) c h Create Undirected i Create Bipartite c Graph Evaluating Community Path-Finding Graph Structures a Hop-Distance (BFS) Conductance, d Sort-By-Degree (Renumbering) f Modularity Dijkstra’s, g d Clustering Coefficient Bi-directional Dijkstra’s Bellman-Ford’s b e g ∑ ∑ (Triangle Counting) Adamic-Adar b e i e b d i a f c g h h Link Prediction Other Classics c i SALSA Vertex Cover (Twitter’s Who-to-follow) Minimum Spanning-Tree Filtered Simplify Graph (Prim’s) Subgraph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 17 Oracle Spatial and Graph 19C Three major features
Spatial Property Graph RDF Graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 18 RDF for Knowledge Graph, Linked-Data and Semantic Data Integration W3C Standards Languages, Tools, and APIs Enterprise Database • Native support for W3C • SQL query support • Scalable to over 54 billion standards for semantic data, triples, up to 8 PB • ontologies and inferencing SPARQL query language SPARQL/update, SPARQL • Fine-grained Security • RDF and RDB2RDF endpoint • RDF Views on relational tables • Inferencing with RDFS, OWL, • Ontology-assisted query using and Property Graphs SKOS, and user-defined rules SQL • Supports Property Graph • OGC GeoSPARQL support • Java APIs via Jena, Joseki and analysis on RDF data Sesame • Compressed, partitioned • Protégé ontology editing storage • Cytoscape visualization plug-in • Multitenant database support
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 19 Oracle’s Graph Advantages Extreme Performance and Flexible Deployment Ease of Development Massively Scalable
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Major New Graph Features • SQL Developer for RDF • Data Vault support and Schema-private networks in RDF • Property Graph Query Language (PGQL) for in-memory and in-database Property Graphs • New Property Graph in-memory analytics: Personalized SALSA, K-Core, Approximate and Weighted Pagerank • Property Graph Views on RDF Graphs • RDF Views on Property Graphs
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 21 Summary By treating spatial and graph data the same as other business data, Oracle Spatial and Graph enables enterprises to realize these benefits: • Integrate analysis in the IT infrastructure • Reduce operational costs • Minimize strategic risk • Reduce development effort
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. 22 Resources Oracle Spatial and Graph
Product homepage: oracle.com/database/technologies/spatialandgraph.html – Blog: blogs.oracle.com/oraclespatial – Forum: community.oracle.com/community/database/oracle-database-options/spatial – Oracle Spatial and Graph Group: linkedin.com/groups/1848520/ – YouTube Channel: youtube.com/c/OracleSpatialandGraph – Twitter: @SpatialHannes
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.