Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model. An Oracle White Paper May 2005

Similar documents
Oracle Database 10g Release 2 Database Vault - Restricting the DBA From Accessing Business Data

Partitioning in Oracle Database 10g Release 2. An Oracle White Paper May 2005

Installation Instructions: Oracle XML DB XFILES Demonstration. An Oracle White Paper: November 2011

Generate Invoice and Revenue for Labor Transactions Based on Rates Defined for Project and Task

An Oracle White Paper October The New Oracle Enterprise Manager Database Control 11g Release 2 Now Managing Oracle Clusterware

Advanced Global Intercompany Systems : Transaction Account Definition (TAD) In Release 12

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Transfer Payments User Manual. Part No. E

Technical Upgrade Guidance SEA->SIA migration

An Oracle White Paper November Primavera Unifier Integration Overview: A Web Services Integration Approach

Oracle Fusion Middleware 11g Oracle Access Manager Frequently Asked Questions June 2009

Oracle FLEXCUBE Direct Banking Release Corporate Cash Management User Manual. Part No. E

Oracle Fusion General Ledger Hierarchies: Recommendations and Best Practices. An Oracle White Paper April, 2012

Configuring Oracle Business Intelligence Enterprise Edition to Support Teradata Database Query Banding

Oracle WebCenter Portal 11g Developer Workshop

Correction Documents for Poland

Improve Data Integration with Changed Data Capture. An Oracle Data Integrator Technical Brief Updated December 2006

Creating Custom Project Administrator Role to Review Project Performance and Analyze KPI Categories

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 2, Memory Barriers and Memory Fences

Oracle WebCenter Portal 11g Developer Workshop

JD Edwards EnterpriseOne Licensing

Oracle Database Lite. Automatic Synchronization White Paper. An Oracle White Paper August 2008

Oracle Data Masking and Subsetting

Data Capture Recommended Operating Environments

Automatic Receipts Reversal Processing

Oracle CIoud Infrastructure Load Balancing Connectivity with Ravello O R A C L E W H I T E P A P E R M A R C H

Adding Mobile Capability to an Enterprise Application With Oracle Database Lite. An Oracle White Paper June 2007

An Oracle White Paper September Security and the Oracle Database Cloud Service

Oracle Data Provider for.net Microsoft.NET Core and Entity Framework Core O R A C L E S T A T E M E N T O F D I R E C T I O N F E B R U A R Y

Oracle DIVArchive Storage Plan Manager

Loading User Update Requests Using HCM Data Loader

Frequently Asked Questions Oracle Content Management Integration. An Oracle White Paper June 2007

Using the Oracle Business Intelligence Publisher Memory Guard Features. August 2013

Oracle Fusion Configurator

Oracle Enterprise Performance Management Cloud

Achieving High Availability with Oracle Cloud Infrastructure Ravello Service O R A C L E W H I T E P A P E R J U N E

Oracle FLEXCUBE Direct Banking Release Dashboard Widgets Customer Services User Manual. Part No. E

Managing Metadata with Oracle Data Integrator. An Oracle Data Integrator Technical Brief Updated December 2006

Tutorial on How to Publish an OCI Image Listing

Oracle Database Vault

Superior Product Variants Software for Multi-Attribute Product Companies. An Oracle White Paper April 2004

Oracle Cloud Applications. Oracle Transactional Business Intelligence BI Catalog Folder Management. Release 11+

Veritas NetBackup and Oracle Cloud Infrastructure Object Storage ORACLE HOW TO GUIDE FEBRUARY 2018

Maximum Availability Architecture. Oracle Best Practices For High Availability

Load Project Organizations Using HCM Data Loader O R A C L E P P M C L O U D S E R V I C E S S O L U T I O N O V E R V I E W A U G U S T 2018

Bulk Processing with Oracle Application Integration Architecture. An Oracle White Paper January 2009

Working with Time Zones in Oracle Business Intelligence Publisher ORACLE WHITE PAPER JULY 2014

An Oracle White Paper September Upgrade Methods for Upgrading to Oracle Database 11g Release 2

An Oracle White Paper September Methods for Upgrading to Oracle Database 11g Release 2

Handling Memory Ordering in Multithreaded Applications with Oracle Solaris Studio 12 Update 2: Part 1, Compiler Barriers

Create Individual Membership. This step-by-step guide takes you through the process to create an Individual Membership.

Data Capture Recommended Operating Environments

An Oracle White Paper December, 3 rd Oracle Metadata Management v New Features Overview

Oracle NoSQL Database For Time Series Data O R A C L E W H I T E P A P E R D E C E M B E R

Oracle Application Server 10g Oracle XML Developer s Kit Frequently Asked Questions September, 2005

An Oracle Technical Article March Certification with Oracle Linux 4

Integrating Oracle SuperCluster Engineered Systems with a Data Center s 1 GbE and 10 GbE Networks Using Oracle Switch ES1-24

Oracle WebCenter Portal 11g Developer Workshop

StorageTek ACSLS Manager Software Overview and Frequently Asked Questions

April Understanding Federated Single Sign-On (SSO) Process

Oracle WebCenter Portal 11g Developer Workshop

Oracle WebCenter Suite Integrating Secure Enterprise Search

An Oracle White Paper July Oracle WebCenter Portal: Copying a Runtime-Created Skin to a Portlet Producer

Oracle Enterprise Data Quality New Features Overview

Oracle NoSQL Database Parent-Child Joins and Aggregation O R A C L E W H I T E P A P E R A P R I L,

October Oracle Application Express Statement of Direction

An Oracle White Paper July Methods for Downgrading from Oracle Database 11g Release 2

August 6, Oracle APEX Statement of Direction

Oracle Service Registry - Oracle Enterprise Gateway Integration Guide

Create Faculty Membership Account. This step-by-step guide takes you through the process to create a Faculty Membership Account.

Oracle Database Vault

An Oracle White Paper October Deploying and Developing Oracle Application Express with Oracle Database 12c

Oracle Secure Backup. Getting Started. with Cloud Storage Devices O R A C L E W H I T E P A P E R F E B R U A R Y

Hard Partitioning with Oracle VM Server for SPARC O R A C L E W H I T E P A P E R J U L Y

An Oracle White Paper April How to Use Tape Tiering Accelerator (Automatically Linked Partition)

Siebel CRM Applications on Oracle Ravello Cloud Service ORACLE WHITE PAPER AUGUST 2017

Technical White Paper August Recovering from Catastrophic Failures Using Data Replicator Software for Data Replication

Maximum Availability Architecture. Oracle Best Practices For High Availability

An Oracle White Paper August Building Highly Scalable Web Applications with XStream

Oracle Flash Storage System QoS Plus Operation and Best Practices ORACLE WHITE PAPER OCTOBER 2016

Subledger Accounting Reporting Journals Reports

PeopleSoft Fluid Navigation Standards

Oracle Spatial and Graph: Benchmarking a Trillion Edges RDF Graph ORACLE WHITE PAPER NOVEMBER 2016

Configuring the icalendar Export Feature in Oracle HRMS Applications. An Oracle White Paper June 2009

An Oracle White Paper June StorageTek In-Drive Reclaim Accelerator for the StorageTek T10000B Tape Drive and StorageTek Virtual Storage Manager

An Oracle White Paper March Oracle Database Vault for SAP

An Oracle Technical White Paper May Deploying Oracle Beehive with BlackBerry Enterprise Server for MDS Applications

An Oracle Technical White Paper September Detecting and Resolving Oracle Solaris LUN Alignment Problems

Oracle FLEXCUBE Direct Banking iphone/ipad Workspace Configuration

Leverage the Oracle Data Integration Platform Inside Azure and Amazon Cloud

Oracle JD Edwards EnterpriseOne Object Usage Tracking Performance Characterization Using JD Edwards EnterpriseOne Object Usage Tracking

Sun Fire X4170 M2 Server Frequently Asked Questions

New Oracle NoSQL Database APIs that Speed Insertion and Retrieval

An Oracle White Paper Released April 2008

Oracle Database Vault

Performance and Scalability Benchmark: Siebel CRM Release 7 on HP-UX Servers and Oracle9i Database. An Oracle White Paper Released October 2003

Oracle Application Development Framework Overview

Product Release Notes

Next-Generation SOA Infrastructure. An Oracle White Paper May 2007

RAC Database on Oracle Ravello Cloud Service O R A C L E W H I T E P A P E R A U G U S T 2017

WebCenter Portal Task Flow Customization in 12c O R A C L E W H I T E P A P E R J U N E

Transcription:

Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model An Oracle White Paper May 2005

Contents Executive Overview... 3 Introduction... 3 Versioning a Topology... 4 Adding a Geometry Layer to a Versioned Topology... 5 Editing a Versioned Topology... 5 Merging, Refreshing, Rolling Back Topology Changes... 6 Conclusion... 6 Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model Page 2

Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model EXECUTIVE OVERVIEW Workspace Manager, a feature of Oracle Database, allows application developers and DBAs to version topologies stored in the Oracle Spatial topology data model. A workspace is a virtual environment in which to isolate a collection of changes to one or more topologies, keep a history of changes and create multiple topological scenarios for what if analysis in the same database. This can save money, time and labor over traditional approaches of managing versions. The Oracle Spatial topology data model manages data about nodes (points), edges (lines), and faces (polygons) in a topology. Topological relationships include such relationships as contains, inside, covers, covered by, touch, and overlap with boundaries intersecting. Topological relationships remain constant when features are edited or the coordinate space is deformed, such as by twisting or stretching. Topologies are useful when there is a high degree of feature editing and a strong requirement for data integrity across maps and map layers. Additionally, topology-based queries typically perform faster for queries involving relationships such as adjacency, connectivity, and containment. Land management (cadastral) systems and spatial data providers benefit from these capabilities. INTRODUCTION The Oracle Spatial topology data model and schema persistently store topology data in Oracle Database. Information about geometry layers and topological elements is stored in the following Oracle Spatial tables: One or more user-named feature tables <topology-name>_edge$ <topology-name>_node$ <topology-name>_face$ <topology-name>_relation$ <topology-name>_history$ Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model Page 3

When a topology is versioned, the following mechanisms ensure that a valid view of the versioned topology is maintained for every workspace: A topology is versioned by a special form of the Workspace Manager EnableVersioning procedure. It versions all of the tables associated with a topology at the same time. Versioning is disabled on a topology in a similar fashion, using the DisableVersioning procedure. The Workspace Manager API includes a special form of the Spatial procedures that add and delete a topology geometry (feature) layer. The Workspace Manager procedures must be used (instead of the Spatial procedures) to add or delete a feature associated with versioned topology: Oracle Spatial allows one user at a time to edit topological elements contained in a window of interest. This prevents conflicts. The editing application must invoke the Workspace Manager lock rows procedure on the elements to be loaded into the editing window before loading them. When editing is finished, the Workspace Manager unlock rows procedure must be invoked to allow another user to edit the same topological elements. When changes to a versioned topology are merged, refreshed or rolled back, only Workspace level procedures can be used. Table level procedures are not supported. See the following Oracle Database 10g documentation, Application Developer's Guide - Workspace Manager and Spatial Topology and Network Data Models, for complete information on versioning and using the Oracle Spatial topology data model. VERSIONING A TOPOLOGY You must invoke the SDO_TOPO.INITIALIZE_METADATA procedure at least once on a topology before you version-enable the tables associated with the topology. The INITIALIZE_METADATA procedure creates or recreates sequences and indexes on edge, node, face, and relationship tables. (You can also invoke the SDO_TOPO.INITIALIZE_METADATA procedure as needed after version-enabling a topology.) A version-enabled topology must have at least one feature table. To versionenable a topology, you must specify the topology name as the table_name parameter to the EnableVersioning procedure, and you must specify the istopology parameter as TRUE. For example: EXECUTE DBMS_WM.EnableVersioning (table_name => 'xyz_topo', istopology => TRUE); Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model Page 4

The preceding example version-enables the xyz_topo topology; that is, it version-enables all feature tables associated with the xyz_topo topology, as well as the XYZ_TOPO_NODE$, XYZ_TOPO_FACE$, XYZ_TOPO_EDGE$, XYZ_TOPO_RELATION$, and XYZ_TOPO_HISTORY$ tables. To disable versioning on any topology tables, you must disable versioning on all tables associated with the topology by specifying the topology name as the table_name parameter to the DisableVersioning procedure and the istopology parameter as TRUE. EXCEPTIONS Exceptions apply to the preceding guidelines about version-enabling and version-disabling topology tables in the following cases: If a feature table of a topology is the child table of a referential integrity constraint with CASCADE option with a table that is not in the topology If a feature table of a topology is the parent table of a referential integrity constraint with a table that is not in the topology In these cases, you must version-enable or version-disable the feature table separately. That is, first call the EnableVersioning or DisableVersioning procedure on the feature table (along with any tables required by the referential integrity constraint), and then invoke the EnableVersioning or DisableVersioning procedure specifying the topology name. ADDING A GEOMETRY LAYER TO A VERSIONED TOPOLOGY The Workspace Manager procedures that add or remove a topology geometry layer in a version-enabled topology are: DBMS_WM.ADD_TOPO_GEOMETRY_LAYER DBMS_WM.DELETE_TOPO_GEOMETRY_LAYER These procedures have the same format and meaning as the Spatial Topology procedures SDO_TOPO.ADD_TOPO_GEOMETRY_LAYER and SDO_TOPO.DELETE_TOPO_GEOMETRY_LAYER, which should be used with non-versioned topologies. EDITING A VERSIONED TOPOLOGY Pessimistic locking is used to edit version-enabled topologies. Before elements of a topology can be edited, the associated table rows must be locked. To edit the elements of a topology in a workspace (including the LIVE workspace), follow these steps: 1. Use the Workspace Manager procedure DBMS_WM.LOCKROWS to put version locks on all the elements of the topology contained in a window of interest. Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model Page 5

2. Invoke the Oracle Spatial Topology Java client LoadWindow method for the same window of interest. To lock or unlock rows in tables associated with a topology, you must specify the topology name as the table_name parameter to the DBMS_WM.LOCKROWS or DBMS_WM.UNLOCKROWS procedure, and you must identify the window containing the rows by using the Xmin, Ymin, Xmax, and Ymax parameters. You must also not specify the where_clause parameter. For example: EXECUTE DBMS_WM.LockRows (workspace => 'ws1', table_name => 'xyz_topo', Xmin => 0.1, Ymin => 0.1, Xmax => 0.5, Ymax => 0.5 ); The preceding example puts version locks on all the rows of the specified topology contained in the specified window. MERGING, REFRESHING, ROLLING BACK TOPOLOGY CHANGES Use the MergeWorkspace, RefreshWorkspace, and RollbackWorkspace procedures to merge, refresh, or roll back tables associated with a topology. Do not use the MergeTable, RefreshTable, or RollbackTable procedure on a version-enabled table associated with a topology. CONCLUSION Workspace Manager can version topologies that are stored in the Oracle Spatial topology data model. Use workspaces to isolate a collection of changes to one or more topologies, keep a history of changes and create multiple topological scenarios for what if analysis in the same database. For technical information, software downloads and sample code go to: http://www.oracle.com/technology//products/workspace_mgr/index.html http://www.oracle.com/technology/products/spatial/index.html Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model Page 6

Oracle Database 10g Workspace Manager Support for Oracle Spatial Topology Data Model May 2005 Author: Bill Beauregard Contributing Author: Chuck Murray Oracle Corporation World Headquarters 500 Oracle Parkway Redwood Shores, CA 94065 U.S.A. Worldwide Inquiries: Phone: +1.650.506.7000 Fax: +1.650.506.7200 oracle.com Copyright 2005, Oracle. All rights reserved. This document is provided for information purposes only and the contents hereof are subject to change without notice. This document is not warranted to be error-free, nor subject to any other warranties or conditions, whether expressed orally or implied in law, including implied warranties and conditions of merchantability or fitness for a particular purpose. We specifically disclaim any liability with respect to this document and no contractual obligations are formed either directly or indirectly by this document. This document may not be reproduced or transmitted in any form or by any means, electronic or mechanical, for any purpose, without our prior written permission. Oracle, JD Edwards, and PeopleSoft are registered trademarks of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners.