SlideShare uma empresa Scribd logo
1 de 49
Baixar para ler offline
Copyright © 2019, Oracle and/or its affiliates. All rights reserved.
Oracle Ask TOM Office Hours:
Spatial: What’s New in
Oracle Database 19c?
Siva Ravada, Senior Director of Development, Oracle Spatial and Graph
Jean Ihm, Product Manager @JeanIhm
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
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.
2
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
AskTOM sessions on Spatial features
• Welcome to our 1st AskTOM Spatial session
• Visit the Spatial and Graph landing page to view recordings of past
sessions; submit feedback, questions, topic requests; view upcoming
session dates and topics; sign up
3
https://devgym.oracle.com/pls/apex/dg/office_hours/3084
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Strategic Vision: The Platform
• Ubiquitous Spatial services in IT infrastructure
– Dramatically lower costs
– Simplify application development
– Integrate operational systems
• Allow Spatially-enabled solutions to focus on business context, not infrastructure
services
– Database and Application Server manage deployment infrastructure
• Security • Scalability • Standards Compliance
• Load Balancing • Failover • HW/SW Dependencies
– Support multiple application models with common data model
• Java • GML • Future …
• .Net • Web Services/SOA
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Spatial and Graph
Location and graph analysis with secure storage for enterprise data
Topologies
3D / LiDAR
Raster
Networks
Web Services (OGC)Geocoding RoutingDeployable Services
RDF Graphs Property Graphs
Mapping
Polygons
Lines
Points
Location Tracking
(Geofencing)
Studio
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Spatial and Graph
On Premises, Cloud and in Autonomous Database
6
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle’s Spatial Analytics Platforms
Oracle Big Data
Spatial and Graph
Oracle Database
Spatial and Graph
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Ease of Use
• JSON and Oracle REST
Data Services
improvements
• Improved web services
user interface, CSW and
WFS enhancements
• Self-service development
tool
Performance
• Ability to use spatial
operators without a
spatial index
• Spatial index performance
improvements
– Enhancements to CBTree
index to use the data layer
directly for Spatial index
access.
– 3x faster query performance
for large point data sets.
8
Improved Database
Support
• Spatial support for
distributed transactions
• Spatial support for
database sharding
• Spatial Studio
Major New Spatial Features in 19c
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
GeoJSON support (introduced in 12.2)
• select json_value('{"type": "Point",
"coordinates": [125.6, 10.1]}', '$'
returning sdo_geometry) from dual
• Extend JSON support in the
database with Spatial operations
• JSON_VALUE() to support
GeoJSON and SDO_GEOMETRY
• SDO_GEOMETRY constructors
extended to take JSON as input
• Support spatial index and spatial
queries on JSON documents
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial JSON support
• New JSON support in addition to GeoJSON
– The GeoJSON standard does not allow all the types and coordinate systems we support with SDO_GEOMETRY
– New JSON support is introduced to support all the data we can represent with SDO_GEOMETRY (both from and to
functions); this is in addition to the GeoJSON support introduced in 12.2.0.1
2D polygon: {"polygon": {"boundary": [{"line": {"datapoints": [[3.0, 0.0], [6.0, 0.0], [9.0, 3.0], [9.0, 6.0], [6.0,
9.0], [3.0, 9.0], [0.0, 6.0], [0.0, 3.0], [3.0, 0.0]]}}, {"line": {"datapoints": [[4.0, 2.0], [3.0, 3.0], [3.0, 4.0], [4.0,
5.0], [5.0, 5.0], [6.0, 4.0], [6.0, 3.0], [5.0, 2.0], [4.0, 2.0]]}}]}}
Voided Polygon (LRS 3303): Geodedic i/o rings connected by lines{"srid": 8307, "spatialdimension": 2,
"polygon": {"boundary": [{"line": {"datapoints": [[3.0, 0.0, 0.0], [6.0, 0.0, 3.0], [9.0, 3.0, 7.24264069], [9.0,
6.0, 10.2426407], [6.0, 9.0, 14.4852814], [3.0, 9.0, 17.4852814], [0.0, 6.0, 21.7279221], [0.0, 3.0,
24.7279221], [3.0, 0.0, 28.9705627]]}}, {"line": {"datapoints": [[4.0, 2.0, 28.9705627], [3.0, 3.0, 30.3847763],
[3.0, 4.0, 31.3847763], [4.0, 5.0, 32.7989899], [5.0, 5.0, 33.7989899]]}}]}}
• ORDS Support for Spatial operations is enabled using this feature
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial operators without the index
• Data stored in an external table using text format for geometry
– NFS file, HDFS, Object Store, etc.
• Data from a JOIN view or some other complex view
• Spatial index not mandatory for using spatial operators
– Queries that use SDO_FILTER/SDO_RELATE, etc. can now be used even when there is no index on the table
– Spatial index is recommended when querying against the tables, but when queries need to be written against
views where the geometry data is constructed on the fly, this enhancement allows the queries to be written the
same way as if the data is coming from a table
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial operators without the index
• Prior to 18c
• In 18c
• Turn this off with a DB init parameter if old behavior is required
Oracle Confidential – Internal/Restricted/Highly Restricted
select sdo_geom.SDO_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326), 0.05, 'UNIT=MILE'),
ci.name, tw.user_id
from CINEMA ci, TWEETS_EXT_TAB_FILE tw
where sdo_geom.WITHIN_DISTANCE(ci.geometry, 0.25, SDO_GEOMETRY(tw.geometry, 4326), 0.05,
'UNIT=MILE') = 'TRUE'
select sdo_geom.SDO_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326), 0.05, 'UNIT=MILE'),
ci.name, tw.user_id
from CINEMA ci, TWEETS_EXT_TAB_FILE tw
where SDO_WITHIN_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326),
'DISTANCE=0.25 UNIT=MILE') = 'TRUE'
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
New Index Type Optimized for Point Data
• R-tree index has performance bottlenecks when large numbers of
concurrent DMLs are done on the spatial tables
• Spatial index based on B-tree index
– Internally create a composite b-tree index on (x,y) or (x,y,z)
• Improves DML performance for large volumes of updates for point only
data
• Queries are still done using the same standard syntax, so no application
changes are required
13
CREATE INDEX pt_idx on PT_CB(c2) indextype is mdsys.spatial_index_v2
PAREMETERS ('layer_gtype=POINT cbtree_index=true');
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
CB-tree index for point data
• CB-Tree enhancements in 19c
– Enhanced with internal data layer interfaces
– 3X performance improvement for queries
– Supports distributed transactions
– Orders of magnitude faster for high volume DML operations
select count(*) from abi, states where sdo_filter(geometry, geom) = 'TRUE';
12.2.0.1: Elapsed: 00:00:14.66
18.1.0.0: Elapsed: 00:00:04.70
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
• The use of R-tree spatial indexes is not
supported in distributed and Oracle XA
transactions
– This is a restriction prior to the 18.1 release
• Enables web applications that modify spatial
data
• What we did
– Use regular tables instead of global temporary tables
for managing the transaction data when the
transaction is marked as XA
Oracle Confidential – Internal/Restricted/Highly Restricted
Support distributed transactions
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
• Oracle Sharding is a scalability and
availability feature for custom-
designed OLTP applications that
enables distribution and replication
of data across a pool of Oracle
databases that do not share
hardware or software
• The pool of databases is presented
to the application as a single logical
database.
Oracle Confidential – Internal/Restricted/Highly Restricted
16
Sharding in the DB
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial Specific Sharding concepts
• USER_SDO_GEOM_METADATA is created on each shard separately
– This is a pain now, we are looking to remove this restriction so that coordinator can do this
• All DDL (create index, alter index, etc.) are performed on the coordinator and they are
automatically propagated to the shards
• All queries that need to "cross-shards" are performed on the coordinator and are
automatically aggregated and shard-specific queries are performed on the individual
shards
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Location tracking Server
• Track objects against a set of
polygons and generate
notifications when the moving
objects enter the regions of
interest
18
Introduced in 18c
• Track objects within a set of
polygons and generate
notifications when the moving
objects leaves the regions of
interest
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Tracking Server
• Tracker object notification types
– ‘I’ alert when object enters a region
– ‘O’ alert when the object leaves a region
– ‘U’ alert whenever the object state changes from inside->outside or outside->inside
• Notification Message
– ‘E’ generates a message when the alert condition is true (continuous alert)
– ‘T’ generates a message when the alert condition flips between ‘I’ and ‘O’
• Tracking can be dynamically turned off for moving objects
– isActive: 'Y’ or ‘N’
• New Java API to enable Java applications
Oracle Confidential – Internal/Restricted/Highly Restricted 19
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Location tracker Performance
• Linux Server: 8GB, 8 CPUs
• 9 regions, 900 objects tracked
– 100 steps in all regions, 810,000 polygon checks: (secs)40.42
– 1000 steps in all regions, 8,100,000 polygon checks: (min:sec) 6:08
– 10,000 steps in all regions, 81 million polygon checks: (min:sec) 48:34
– 100,000 steps all regions, 810 million polygon checks (hrs:min) 6:47
• A little math shows each object having its location updated around 4 times
a second
20
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Map Visualization
• HTML5 based
• Deployed in J2EE server
• Enabling developers to incorporate
interactive maps and spatial analysis into
applications
• Integrating data from Oracle Spatial and
Graph or other sources (WMS, WFS,
GeoRSS, WMTS), and background maps
from data providers or services
• JavaScript, Java, and XML APIs for web
mapping apps
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Map Visualization
• Dynamic Tile Layer
– Define tile layer dynamically in the V2 API (instead of pre-built in the server and
stored permanently in metadata view)
– Specify or change rendering style as needed
– Server generates tile images just like regular tile layer
• Supports large and complex queries, without unnecessary storage and
management overhead
Oracle Confidential – Internal/Restricted/Highly Restricted 22
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Offline map cache
• Export and use tile images for offline usage
• User can select areas and zoom levels to generate the tiles
• The tiles can be compressed and downloaded
• V2 API changes have been made so that the tiles can be used even in off-
line mode (w/o connection to backend MapViewer server or database)
Oracle Confidential – Internal/Restricted/Highly Restricted 23
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
• Single layer vector tile generation
– MapViewer can now generate vector tiles in
the 'industry standard' vector tiles
– Requests look like this:
http://localhost:8080/mapviewer/vt/THEM
E_CUSTOMERS/8/41/99.mvt
– Any client mapping API that supports vector
tiles can utilize it (OpenLayers, MapBox GL JS)
– The screenshot showing the tax drop locations
(point dataset) as vector tiles
• Not supported for base maps
Oracle Confidential – Internal/Restricted/Highly Restricted
24
Vector Tiles
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
GeoRaster
• A data type to store raster data
– Satellite images, remote sensing data
– Multi-band, multi-layer
– An XML schema to store Metadata
• Data source, layer information
– Geo Referencing information
• Functionality
– storage and indexing of raster data
• No size limit for each raster object
– Generate resolution pyramid
– query and analysis
– delivering to external consumers
• Publish as JPEG, GIFF images
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
GeoRaster 18c New Features
• GDAL is Integrated into Oracle Database
– The new SDO_GEOR_GDAL Package integrates GDAL into Oracle database server
– It provides server-side raster data loading, exporting, and in-database terrain analysis capabilities
– It also enables and simplifies development of C/C++ plug-ins through the GDAL API
• Supports On-the-fly Image Processing
– equalize, normalize, piecewise stretch, stretch, and filter
• New Statistics on Virtual Mosaics
– New SDO_GEOR_AGGR.getMosaicStatistics Procedure generates statistics and histogram for virtual mosaics
enabling better visualization of virtual mosaics
• 4GB Limit Removed for External JPEG 2000 Image Files
– Large JPEG 2000 images can now be fast loaded into database without decompression
• Java API and GeoRaster Viewer Enhancements
– Java API supports all new features and the Viewer displays large images and virtual mosaics better
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Example – Image Mosaic with Histogram Matching
27
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
GeoRaster 19c New Features
• Raster Algebra supports analytics at the pixel level
– Calculating the vegetation cover from a satellite image, calculating land use polygons from images, etc.
• Supports On-the-fly Raster Algebra
– All subprograms in the SDP_GEOR_RA package support storing the result data in temporary BLOB so that users
can do raster analysis and cartographic modeling on-the-fly to support various real time applications
– Supported in both PL/SQL API and JAVA API
• GeoRaster Must Be Enabled at Schema Level
– Previously GeoRaster is enabled for the whole database
– This enhances database security for the cloud
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
• OGC Standard web services: WFS, CSW, WCS, WMS, WTS, etc.
• Web catalogue Service 2.0.0.
– Based on new XML binary storage
– Supports DCMI, Inspire, ISO profiles
• Web Coverage Service 2.0.0., 2.0.1.
– Publish data stored in Georaster as coverages
• Improvements for WFS
• Unified console for web services
Web Services
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Web Services Support
• Console Enhancements
– The Spatial Web Services administration console for WFS, WCS, and CSW is enhanced
with standard user interfaces, as well as multiple data sources management
capabilities
– Make it easy to publish vector and raster data using console menu options (no code
required)
• The OpenGIS Catalogue Services Specification (CSW) 2.0.2
– ISO Metadata Application Profile is supported
• Multiple data source support
– WFS/CS-W/WCS can support reading the data from multiple data sources in the same
WLS instance
Oracle Confidential – Internal/Restricted/Highly Restricted 30
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
OGC Services: Multiple data sources
• Multiple data source support
– WFS/CS-W/WCS can support reading the data from multiple data sources in the same
WLS instance
http://<machine-name:port>/oraclespatial/wfs/<data source
name>?request=GetCapabilities&service=WFS&version=1.1.0
31
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Spatial and 3D
Solids
3D Queries
Triangular
Irregular Networks
Point Clouds
Import
and
Export
Spatial and
attribute queries
Visibility queriesVolumetric Analysis
3D Coordinate Systems
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
City Models – CityGML
• Supports
– CityGML 2.0
– 3dCityDB 4.0.1
– Core model, geometry representation, appearance model, buildings, city furniture
model, land use, transportation, vegetation, water body
• Validation
– Geometric
• Polygons (SURFACE_GEOMETRY), root geometries
– Semantic – not yet
• Targeting
– Large data sets, scalability
– Data integration
– Analytical options
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Point Cloud on Non Exadata systems
• Hybrid Storage Model
– Flat table storage for easy load and update
– Clustered data for faster query
• Clustering helps group the nearby points in the same data blocks to reduce the I/O cost
– We can load LAS/LAZ files directly into this hybrid data model
– Queries do not need a spatial index so as soon as data is loaded we can make it
available for queries
• B-tree indexes are used for queries since it is only point data
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Other Enhancements for Point Cloud data
• Pyramiding support for PC and TIN data
– PL/SQL API added to generate pyramids for existing point clouds
– Points can be repeated in the pyramid levels or mutually exclusive
– Useful for visualization applications
• Contour generation from PC data
– Generate linear geometries that connect points with equal elevation values
– A polygon can be specified to limit contour generation to a region
– Contour generation process is grid-based in x and y
– Krigging performed to assign heights to grids with no point data
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Point-Cloud to Contour
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
PointCloud To DEM
Input: PointCloud
Output: GeoRaster
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 38
One Autonomous Database - Optimized by Workload
Autonomous
Transaction Processing (ATP)
Best for all Analytic Workloads:
• Data Warehouse, Data Mart
• Data Lake, Machine Learning
Autonomous
Data Warehouse (ADW)
Best for TP and Mixed Workloads:
• Transactions, Batch, Reporting, IoT
• Application Dev, Machine Learning
ORACLE
AUTONOMOUS
DATABASE
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
ATP and Autonomous related changes
• In ATP, Data Vault is enabled by default to protect customer data
• This means, Oracle created accounts cannot read the customer data
• MDSYS can no longer directly manage the index, statistics, and other
metadata data stored in the user schemas
– Security model and package execution model has to be changed so that everything
gets executed as the user
• All the J2EE components have to support the secure TNS protocol by
default
• The J2EE components will be re-packaged as Cloud Market place
components
39
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial in ADW/ATP-Shared
• About 80% Spatial functionality in the DB is enabled by default
• No JAVAVM support in the current release
– The following are excluded due to no JAVAVM
• Topology
• Geocoder in the DB
• 3D functions (including LIDAR)
• Network Data Model and Routing Engine
• Following will be supported in 2020
• Spatial Visualization (MapViewer)
• OGC Services
• GeoRaster
• J2EE Geocoder
Confidential
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Spatial in ATP-Dedicated
• All the Spatial features in the DB are supported
• All of the J2EE components will be shipped as plugins in Oracle Cloud
Market Place
– Work in progress to make these components deployable from Cloud Market place
• Following will be supported in 2020
• Spatial Visualization (MapViewer)
• OGC Services
• J2EE Geocoder
• Network Data Model
• Routing Engine
Confidential
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Oracle Spatial and Graph:
Natively manage all spatial content in the DB
Topologies
f1
f2n1
n2
e1
e2
e3
e4
3D / LIDAR
Raster
Networks
Polygons
Lines
Points
Web Services (OGC)RoutingDeployable Services Mapping GeocodingOracle Cloud
Market Place
Autonomous DB
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Introducing Spatial Studio
Self-service spatial analytics
https://www.oracle.com/database/technologies/spatial-studio.html
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
• 100’s of SQL
spatial analysis
operators
– Filter
– Combine
– Transform
– Measure
Confidential – Oracle Internal/Restricted/Highly Restricted
44
No code environment for Spatial Analysis
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
45
Resources
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Resources
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
Resources
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 User Group: linkedin.com/groups/1848520/
– YouTube Channel: youtube.com/c/OracleSpatialandGraph
– Twitter: @SpatialHannes @JeanIhm
Oracle Spatial and Graph – Spatial Features
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
AskTOM sessions on Spatial Features
• Next Spatial and Graph session in early August
–Topic: Oracle Spatial Studio
• View recordings, submit feedback, questions,
topic requests, view upcoming session dates and
topics, sign up to get regular updates
48
https://devgym.oracle.com/pls/apex/dg/office_hours/3084
Copyright © 2019, Oracle and/or its affiliates. All rights reserved. |
49
Thanks for attending! See you next time.
https://devgym.oracle.com/pls/apex/dg/office_hours/3084

Mais conteúdo relacionado

Último

Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Sapana Sha
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024thyngster
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectBoston Institute of Analytics
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...Florian Roscheck
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.natarajan8993
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home ServiceSapana Sha
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptSonatrach
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhijennyeacort
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改yuu sss
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanMYRABACSAFRA2
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfSocial Samosa
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Jack DiGiovanna
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...Boston Institute of Analytics
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceSapana Sha
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfgstagge
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsappssapnasaifi408
 
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSINGmarianagonzalez07
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档208367051
 

Último (20)

Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
Saket, (-DELHI )+91-9654467111-(=)CHEAP Call Girls in Escorts Service Saket C...
 
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
Consent & Privacy Signals on Google *Pixels* - MeasureCamp Amsterdam 2024
 
Heart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis ProjectHeart Disease Classification Report: A Data Analysis Project
Heart Disease Classification Report: A Data Analysis Project
 
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...From idea to production in a day – Leveraging Azure ML and Streamlit to build...
From idea to production in a day – Leveraging Azure ML and Streamlit to build...
 
E-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptxE-Commerce Order PredictionShraddha Kamble.pptx
E-Commerce Order PredictionShraddha Kamble.pptx
 
RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.RABBIT: A CLI tool for identifying bots based on their GitHub events.
RABBIT: A CLI tool for identifying bots based on their GitHub events.
 
9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service9654467111 Call Girls In Munirka Hotel And Home Service
9654467111 Call Girls In Munirka Hotel And Home Service
 
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.pptdokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
dokumen.tips_chapter-4-transient-heat-conduction-mehmet-kanoglu.ppt
 
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝DelhiRS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
RS 9000 Call In girls Dwarka Mor (DELHI)⇛9711147426🔝Delhi
 
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
专业一比一美国俄亥俄大学毕业证成绩单pdf电子版制作修改
 
Identifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population MeanIdentifying Appropriate Test Statistics Involving Population Mean
Identifying Appropriate Test Statistics Involving Population Mean
 
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdfKantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
Kantar AI Summit- Under Embargo till Wednesday, 24th April 2024, 4 PM, IST.pdf
 
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
Building on a FAIRly Strong Foundation to Connect Academic Research to Transl...
 
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
NLP Data Science Project Presentation:Predicting Heart Disease with NLP Data ...
 
Call Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts ServiceCall Girls In Dwarka 9654467111 Escorts Service
Call Girls In Dwarka 9654467111 Escorts Service
 
RadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdfRadioAdProWritingCinderellabyButleri.pdf
RadioAdProWritingCinderellabyButleri.pdf
 
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /WhatsappsBeautiful Sapna Vip  Call Girls Hauz Khas 9711199012 Call /Whatsapps
Beautiful Sapna Vip Call Girls Hauz Khas 9711199012 Call /Whatsapps
 
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
2006_GasProcessing_HB (1).pdf HYDROCARBON PROCESSING
 
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
原版1:1定制南十字星大学毕业证(SCU毕业证)#文凭成绩单#真实留信学历认证永久存档
 
Call Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort ServiceCall Girls in Saket 99530🔝 56974 Escort Service
Call Girls in Saket 99530🔝 56974 Escort Service
 

Destaque

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by HubspotMarius Sescu
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTExpeed Software
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsPixeldarts
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthThinkNow
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfmarketingartwork
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024Neil Kimberley
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)contently
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024Albert Qian
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsKurio // The Social Media Age(ncy)
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Search Engine Journal
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summarySpeakerHub
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next Tessa Mero
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentLily Ray
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best PracticesVit Horky
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project managementMindGenius
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...RachelPearson36
 

Destaque (20)

2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot2024 State of Marketing Report – by Hubspot
2024 State of Marketing Report – by Hubspot
 
Everything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPTEverything You Need To Know About ChatGPT
Everything You Need To Know About ChatGPT
 
Product Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage EngineeringsProduct Design Trends in 2024 | Teenage Engineerings
Product Design Trends in 2024 | Teenage Engineerings
 
How Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental HealthHow Race, Age and Gender Shape Attitudes Towards Mental Health
How Race, Age and Gender Shape Attitudes Towards Mental Health
 
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdfAI Trends in Creative Operations 2024 by Artwork Flow.pdf
AI Trends in Creative Operations 2024 by Artwork Flow.pdf
 
Skeleton Culture Code
Skeleton Culture CodeSkeleton Culture Code
Skeleton Culture Code
 
PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024PEPSICO Presentation to CAGNY Conference Feb 2024
PEPSICO Presentation to CAGNY Conference Feb 2024
 
Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)Content Methodology: A Best Practices Report (Webinar)
Content Methodology: A Best Practices Report (Webinar)
 
How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024How to Prepare For a Successful Job Search for 2024
How to Prepare For a Successful Job Search for 2024
 
Social Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie InsightsSocial Media Marketing Trends 2024 // The Global Indie Insights
Social Media Marketing Trends 2024 // The Global Indie Insights
 
Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024Trends In Paid Search: Navigating The Digital Landscape In 2024
Trends In Paid Search: Navigating The Digital Landscape In 2024
 
5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary5 Public speaking tips from TED - Visualized summary
5 Public speaking tips from TED - Visualized summary
 
ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd ChatGPT and the Future of Work - Clark Boyd
ChatGPT and the Future of Work - Clark Boyd
 
Getting into the tech field. what next
Getting into the tech field. what next Getting into the tech field. what next
Getting into the tech field. what next
 
Google's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search IntentGoogle's Just Not That Into You: Understanding Core Updates & Search Intent
Google's Just Not That Into You: Understanding Core Updates & Search Intent
 
How to have difficult conversations
How to have difficult conversations How to have difficult conversations
How to have difficult conversations
 
Introduction to Data Science
Introduction to Data ScienceIntroduction to Data Science
Introduction to Data Science
 
Time Management & Productivity - Best Practices
Time Management & Productivity -  Best PracticesTime Management & Productivity -  Best Practices
Time Management & Productivity - Best Practices
 
The six step guide to practical project management
The six step guide to practical project managementThe six step guide to practical project management
The six step guide to practical project management
 
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
Beginners Guide to TikTok for Search - Rachel Pearson - We are Tilt __ Bright...
 

Spatial: What’s New in Oracle Database 19c?

  • 1. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. Oracle Ask TOM Office Hours: Spatial: What’s New in Oracle Database 19c? Siva Ravada, Senior Director of Development, Oracle Spatial and Graph Jean Ihm, Product Manager @JeanIhm
  • 2. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 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. 2
  • 3. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | AskTOM sessions on Spatial features • Welcome to our 1st AskTOM Spatial session • Visit the Spatial and Graph landing page to view recordings of past sessions; submit feedback, questions, topic requests; view upcoming session dates and topics; sign up 3 https://devgym.oracle.com/pls/apex/dg/office_hours/3084
  • 4. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Strategic Vision: The Platform • Ubiquitous Spatial services in IT infrastructure – Dramatically lower costs – Simplify application development – Integrate operational systems • Allow Spatially-enabled solutions to focus on business context, not infrastructure services – Database and Application Server manage deployment infrastructure • Security • Scalability • Standards Compliance • Load Balancing • Failover • HW/SW Dependencies – Support multiple application models with common data model • Java • GML • Future … • .Net • Web Services/SOA
  • 5. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Spatial and Graph Location and graph analysis with secure storage for enterprise data Topologies 3D / LiDAR Raster Networks Web Services (OGC)Geocoding RoutingDeployable Services RDF Graphs Property Graphs Mapping Polygons Lines Points Location Tracking (Geofencing) Studio
  • 6. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Spatial and Graph On Premises, Cloud and in Autonomous Database 6
  • 7. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle’s Spatial Analytics Platforms Oracle Big Data Spatial and Graph Oracle Database Spatial and Graph
  • 8. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Ease of Use • JSON and Oracle REST Data Services improvements • Improved web services user interface, CSW and WFS enhancements • Self-service development tool Performance • Ability to use spatial operators without a spatial index • Spatial index performance improvements – Enhancements to CBTree index to use the data layer directly for Spatial index access. – 3x faster query performance for large point data sets. 8 Improved Database Support • Spatial support for distributed transactions • Spatial support for database sharding • Spatial Studio Major New Spatial Features in 19c
  • 9. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | GeoJSON support (introduced in 12.2) • select json_value('{"type": "Point", "coordinates": [125.6, 10.1]}', '$' returning sdo_geometry) from dual • Extend JSON support in the database with Spatial operations • JSON_VALUE() to support GeoJSON and SDO_GEOMETRY • SDO_GEOMETRY constructors extended to take JSON as input • Support spatial index and spatial queries on JSON documents
  • 10. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial JSON support • New JSON support in addition to GeoJSON – The GeoJSON standard does not allow all the types and coordinate systems we support with SDO_GEOMETRY – New JSON support is introduced to support all the data we can represent with SDO_GEOMETRY (both from and to functions); this is in addition to the GeoJSON support introduced in 12.2.0.1 2D polygon: {"polygon": {"boundary": [{"line": {"datapoints": [[3.0, 0.0], [6.0, 0.0], [9.0, 3.0], [9.0, 6.0], [6.0, 9.0], [3.0, 9.0], [0.0, 6.0], [0.0, 3.0], [3.0, 0.0]]}}, {"line": {"datapoints": [[4.0, 2.0], [3.0, 3.0], [3.0, 4.0], [4.0, 5.0], [5.0, 5.0], [6.0, 4.0], [6.0, 3.0], [5.0, 2.0], [4.0, 2.0]]}}]}} Voided Polygon (LRS 3303): Geodedic i/o rings connected by lines{"srid": 8307, "spatialdimension": 2, "polygon": {"boundary": [{"line": {"datapoints": [[3.0, 0.0, 0.0], [6.0, 0.0, 3.0], [9.0, 3.0, 7.24264069], [9.0, 6.0, 10.2426407], [6.0, 9.0, 14.4852814], [3.0, 9.0, 17.4852814], [0.0, 6.0, 21.7279221], [0.0, 3.0, 24.7279221], [3.0, 0.0, 28.9705627]]}}, {"line": {"datapoints": [[4.0, 2.0, 28.9705627], [3.0, 3.0, 30.3847763], [3.0, 4.0, 31.3847763], [4.0, 5.0, 32.7989899], [5.0, 5.0, 33.7989899]]}}]}} • ORDS Support for Spatial operations is enabled using this feature
  • 11. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial operators without the index • Data stored in an external table using text format for geometry – NFS file, HDFS, Object Store, etc. • Data from a JOIN view or some other complex view • Spatial index not mandatory for using spatial operators – Queries that use SDO_FILTER/SDO_RELATE, etc. can now be used even when there is no index on the table – Spatial index is recommended when querying against the tables, but when queries need to be written against views where the geometry data is constructed on the fly, this enhancement allows the queries to be written the same way as if the data is coming from a table
  • 12. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial operators without the index • Prior to 18c • In 18c • Turn this off with a DB init parameter if old behavior is required Oracle Confidential – Internal/Restricted/Highly Restricted select sdo_geom.SDO_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326), 0.05, 'UNIT=MILE'), ci.name, tw.user_id from CINEMA ci, TWEETS_EXT_TAB_FILE tw where sdo_geom.WITHIN_DISTANCE(ci.geometry, 0.25, SDO_GEOMETRY(tw.geometry, 4326), 0.05, 'UNIT=MILE') = 'TRUE' select sdo_geom.SDO_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326), 0.05, 'UNIT=MILE'), ci.name, tw.user_id from CINEMA ci, TWEETS_EXT_TAB_FILE tw where SDO_WITHIN_DISTANCE(ci.geometry, SDO_GEOMETRY(tw.geometry, 4326), 'DISTANCE=0.25 UNIT=MILE') = 'TRUE'
  • 13. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | New Index Type Optimized for Point Data • R-tree index has performance bottlenecks when large numbers of concurrent DMLs are done on the spatial tables • Spatial index based on B-tree index – Internally create a composite b-tree index on (x,y) or (x,y,z) • Improves DML performance for large volumes of updates for point only data • Queries are still done using the same standard syntax, so no application changes are required 13 CREATE INDEX pt_idx on PT_CB(c2) indextype is mdsys.spatial_index_v2 PAREMETERS ('layer_gtype=POINT cbtree_index=true');
  • 14. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | CB-tree index for point data • CB-Tree enhancements in 19c – Enhanced with internal data layer interfaces – 3X performance improvement for queries – Supports distributed transactions – Orders of magnitude faster for high volume DML operations select count(*) from abi, states where sdo_filter(geometry, geom) = 'TRUE'; 12.2.0.1: Elapsed: 00:00:14.66 18.1.0.0: Elapsed: 00:00:04.70
  • 15. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • The use of R-tree spatial indexes is not supported in distributed and Oracle XA transactions – This is a restriction prior to the 18.1 release • Enables web applications that modify spatial data • What we did – Use regular tables instead of global temporary tables for managing the transaction data when the transaction is marked as XA Oracle Confidential – Internal/Restricted/Highly Restricted Support distributed transactions
  • 16. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • Oracle Sharding is a scalability and availability feature for custom- designed OLTP applications that enables distribution and replication of data across a pool of Oracle databases that do not share hardware or software • The pool of databases is presented to the application as a single logical database. Oracle Confidential – Internal/Restricted/Highly Restricted 16 Sharding in the DB
  • 17. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial Specific Sharding concepts • USER_SDO_GEOM_METADATA is created on each shard separately – This is a pain now, we are looking to remove this restriction so that coordinator can do this • All DDL (create index, alter index, etc.) are performed on the coordinator and they are automatically propagated to the shards • All queries that need to "cross-shards" are performed on the coordinator and are automatically aggregated and shard-specific queries are performed on the individual shards
  • 18. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Location tracking Server • Track objects against a set of polygons and generate notifications when the moving objects enter the regions of interest 18 Introduced in 18c • Track objects within a set of polygons and generate notifications when the moving objects leaves the regions of interest
  • 19. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Tracking Server • Tracker object notification types – ‘I’ alert when object enters a region – ‘O’ alert when the object leaves a region – ‘U’ alert whenever the object state changes from inside->outside or outside->inside • Notification Message – ‘E’ generates a message when the alert condition is true (continuous alert) – ‘T’ generates a message when the alert condition flips between ‘I’ and ‘O’ • Tracking can be dynamically turned off for moving objects – isActive: 'Y’ or ‘N’ • New Java API to enable Java applications Oracle Confidential – Internal/Restricted/Highly Restricted 19
  • 20. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Location tracker Performance • Linux Server: 8GB, 8 CPUs • 9 regions, 900 objects tracked – 100 steps in all regions, 810,000 polygon checks: (secs)40.42 – 1000 steps in all regions, 8,100,000 polygon checks: (min:sec) 6:08 – 10,000 steps in all regions, 81 million polygon checks: (min:sec) 48:34 – 100,000 steps all regions, 810 million polygon checks (hrs:min) 6:47 • A little math shows each object having its location updated around 4 times a second 20
  • 21. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Map Visualization • HTML5 based • Deployed in J2EE server • Enabling developers to incorporate interactive maps and spatial analysis into applications • Integrating data from Oracle Spatial and Graph or other sources (WMS, WFS, GeoRSS, WMTS), and background maps from data providers or services • JavaScript, Java, and XML APIs for web mapping apps
  • 22. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Map Visualization • Dynamic Tile Layer – Define tile layer dynamically in the V2 API (instead of pre-built in the server and stored permanently in metadata view) – Specify or change rendering style as needed – Server generates tile images just like regular tile layer • Supports large and complex queries, without unnecessary storage and management overhead Oracle Confidential – Internal/Restricted/Highly Restricted 22
  • 23. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Offline map cache • Export and use tile images for offline usage • User can select areas and zoom levels to generate the tiles • The tiles can be compressed and downloaded • V2 API changes have been made so that the tiles can be used even in off- line mode (w/o connection to backend MapViewer server or database) Oracle Confidential – Internal/Restricted/Highly Restricted 23
  • 24. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • Single layer vector tile generation – MapViewer can now generate vector tiles in the 'industry standard' vector tiles – Requests look like this: http://localhost:8080/mapviewer/vt/THEM E_CUSTOMERS/8/41/99.mvt – Any client mapping API that supports vector tiles can utilize it (OpenLayers, MapBox GL JS) – The screenshot showing the tax drop locations (point dataset) as vector tiles • Not supported for base maps Oracle Confidential – Internal/Restricted/Highly Restricted 24 Vector Tiles
  • 25. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | GeoRaster • A data type to store raster data – Satellite images, remote sensing data – Multi-band, multi-layer – An XML schema to store Metadata • Data source, layer information – Geo Referencing information • Functionality – storage and indexing of raster data • No size limit for each raster object – Generate resolution pyramid – query and analysis – delivering to external consumers • Publish as JPEG, GIFF images
  • 26. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | GeoRaster 18c New Features • GDAL is Integrated into Oracle Database – The new SDO_GEOR_GDAL Package integrates GDAL into Oracle database server – It provides server-side raster data loading, exporting, and in-database terrain analysis capabilities – It also enables and simplifies development of C/C++ plug-ins through the GDAL API • Supports On-the-fly Image Processing – equalize, normalize, piecewise stretch, stretch, and filter • New Statistics on Virtual Mosaics – New SDO_GEOR_AGGR.getMosaicStatistics Procedure generates statistics and histogram for virtual mosaics enabling better visualization of virtual mosaics • 4GB Limit Removed for External JPEG 2000 Image Files – Large JPEG 2000 images can now be fast loaded into database without decompression • Java API and GeoRaster Viewer Enhancements – Java API supports all new features and the Viewer displays large images and virtual mosaics better
  • 27. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Example – Image Mosaic with Histogram Matching 27
  • 28. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | GeoRaster 19c New Features • Raster Algebra supports analytics at the pixel level – Calculating the vegetation cover from a satellite image, calculating land use polygons from images, etc. • Supports On-the-fly Raster Algebra – All subprograms in the SDP_GEOR_RA package support storing the result data in temporary BLOB so that users can do raster analysis and cartographic modeling on-the-fly to support various real time applications – Supported in both PL/SQL API and JAVA API • GeoRaster Must Be Enabled at Schema Level – Previously GeoRaster is enabled for the whole database – This enhances database security for the cloud
  • 29. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • OGC Standard web services: WFS, CSW, WCS, WMS, WTS, etc. • Web catalogue Service 2.0.0. – Based on new XML binary storage – Supports DCMI, Inspire, ISO profiles • Web Coverage Service 2.0.0., 2.0.1. – Publish data stored in Georaster as coverages • Improvements for WFS • Unified console for web services Web Services
  • 30. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Web Services Support • Console Enhancements – The Spatial Web Services administration console for WFS, WCS, and CSW is enhanced with standard user interfaces, as well as multiple data sources management capabilities – Make it easy to publish vector and raster data using console menu options (no code required) • The OpenGIS Catalogue Services Specification (CSW) 2.0.2 – ISO Metadata Application Profile is supported • Multiple data source support – WFS/CS-W/WCS can support reading the data from multiple data sources in the same WLS instance Oracle Confidential – Internal/Restricted/Highly Restricted 30
  • 31. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | OGC Services: Multiple data sources • Multiple data source support – WFS/CS-W/WCS can support reading the data from multiple data sources in the same WLS instance http://<machine-name:port>/oraclespatial/wfs/<data source name>?request=GetCapabilities&service=WFS&version=1.1.0 31
  • 32. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Spatial and 3D Solids 3D Queries Triangular Irregular Networks Point Clouds Import and Export Spatial and attribute queries Visibility queriesVolumetric Analysis 3D Coordinate Systems
  • 33. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | City Models – CityGML • Supports – CityGML 2.0 – 3dCityDB 4.0.1 – Core model, geometry representation, appearance model, buildings, city furniture model, land use, transportation, vegetation, water body • Validation – Geometric • Polygons (SURFACE_GEOMETRY), root geometries – Semantic – not yet • Targeting – Large data sets, scalability – Data integration – Analytical options
  • 34. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Point Cloud on Non Exadata systems • Hybrid Storage Model – Flat table storage for easy load and update – Clustered data for faster query • Clustering helps group the nearby points in the same data blocks to reduce the I/O cost – We can load LAS/LAZ files directly into this hybrid data model – Queries do not need a spatial index so as soon as data is loaded we can make it available for queries • B-tree indexes are used for queries since it is only point data
  • 35. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Other Enhancements for Point Cloud data • Pyramiding support for PC and TIN data – PL/SQL API added to generate pyramids for existing point clouds – Points can be repeated in the pyramid levels or mutually exclusive – Useful for visualization applications • Contour generation from PC data – Generate linear geometries that connect points with equal elevation values – A polygon can be specified to limit contour generation to a region – Contour generation process is grid-based in x and y – Krigging performed to assign heights to grids with no point data
  • 36. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Point-Cloud to Contour
  • 37. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | PointCloud To DEM Input: PointCloud Output: GeoRaster
  • 38. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 38 One Autonomous Database - Optimized by Workload Autonomous Transaction Processing (ATP) Best for all Analytic Workloads: • Data Warehouse, Data Mart • Data Lake, Machine Learning Autonomous Data Warehouse (ADW) Best for TP and Mixed Workloads: • Transactions, Batch, Reporting, IoT • Application Dev, Machine Learning ORACLE AUTONOMOUS DATABASE
  • 39. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | ATP and Autonomous related changes • In ATP, Data Vault is enabled by default to protect customer data • This means, Oracle created accounts cannot read the customer data • MDSYS can no longer directly manage the index, statistics, and other metadata data stored in the user schemas – Security model and package execution model has to be changed so that everything gets executed as the user • All the J2EE components have to support the secure TNS protocol by default • The J2EE components will be re-packaged as Cloud Market place components 39
  • 40. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial in ADW/ATP-Shared • About 80% Spatial functionality in the DB is enabled by default • No JAVAVM support in the current release – The following are excluded due to no JAVAVM • Topology • Geocoder in the DB • 3D functions (including LIDAR) • Network Data Model and Routing Engine • Following will be supported in 2020 • Spatial Visualization (MapViewer) • OGC Services • GeoRaster • J2EE Geocoder Confidential
  • 41. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Spatial in ATP-Dedicated • All the Spatial features in the DB are supported • All of the J2EE components will be shipped as plugins in Oracle Cloud Market Place – Work in progress to make these components deployable from Cloud Market place • Following will be supported in 2020 • Spatial Visualization (MapViewer) • OGC Services • J2EE Geocoder • Network Data Model • Routing Engine Confidential
  • 42. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Oracle Spatial and Graph: Natively manage all spatial content in the DB Topologies f1 f2n1 n2 e1 e2 e3 e4 3D / LIDAR Raster Networks Polygons Lines Points Web Services (OGC)RoutingDeployable Services Mapping GeocodingOracle Cloud Market Place Autonomous DB
  • 43. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Introducing Spatial Studio Self-service spatial analytics https://www.oracle.com/database/technologies/spatial-studio.html
  • 44. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | • 100’s of SQL spatial analysis operators – Filter – Combine – Transform – Measure Confidential – Oracle Internal/Restricted/Highly Restricted 44 No code environment for Spatial Analysis
  • 45. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 45 Resources
  • 46. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Resources
  • 47. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | Resources 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 User Group: linkedin.com/groups/1848520/ – YouTube Channel: youtube.com/c/OracleSpatialandGraph – Twitter: @SpatialHannes @JeanIhm Oracle Spatial and Graph – Spatial Features
  • 48. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | AskTOM sessions on Spatial Features • Next Spatial and Graph session in early August –Topic: Oracle Spatial Studio • View recordings, submit feedback, questions, topic requests, view upcoming session dates and topics, sign up to get regular updates 48 https://devgym.oracle.com/pls/apex/dg/office_hours/3084
  • 49. Copyright © 2019, Oracle and/or its affiliates. All rights reserved. | 49 Thanks for attending! See you next time. https://devgym.oracle.com/pls/apex/dg/office_hours/3084