Using XMLIndex and Binary XML for Motorola BIS Aris Prassinos, Distinguished Member of Technical Staff, Motorola Asha Tarachandani, Senior Member of Technical.

Slides:



Advertisements
Similar presentations
Enhancing Productivity with MySQL 5.6 New Features
Advertisements

Chapter 10: Designing Databases
Database System Concepts and Architecture
1 Copyright © 2011, Oracle and/or its affiliates. All rights reserved.
PeopleSoft Enterprise SRM Purchasing: Overview, 9.0 Update, and Beyond 9.0 Alexandra (Haytcher) Dhillon, Earnest Ivie PeopleSoft Enterprise SRM Product.
1. Real-World Deployment and Best Practices with Oracle Database Vault at Customers: Ross Stores Covidien Kamal Tbeileh Sr. Principal Product Manager,
Oracle Universal Content Management and Storage Systems
Sam Idicula, Oracle XML DB Development Team Binary XML Storage and Query Processing in Oracle VLDB 2009.
Dos and don’ts of Columnstore indexes The basis of xVelocity in-memory technology What’s it all about The compression methods (RLE / Dictionary encoding)
A Java Architecture for the Internet of Things Noel Poore, Architect Pete St. Pierre, Product Manager Java Platform Group, Internet of Things September.
Introduction to Structured Query Language (SQL)
Storing and Querying Ordered XML Using Relational Database System Swapna Dhayagude.
Physical Database Monitoring and Tuning the Operational System.
Storing and Querying Ordered XML Using a Relational Database System By Khang Nguyen Based on the paper of Igor Tatarinov and Statis Viglas.
Copyright © 2014 Oracle and/or its affiliates. All rights reserved. | 2 Hidden Gems of APEX David Gale Software Engineer Oracle Application Express November,
The Safe Harbor The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated.
Best Practices for Supporting Oracle Hyperion EPM and Business Intelligence Solutions Mitra Veluri Senior Principal Technical Support Engineer David Valociek.
Module 9 Designing an XML Strategy. Module 9: Designing an XML Strategy Designing XML Storage Designing a Data Conversion Strategy Designing an XML Query.
Working with SQL and PL/SQL/ Session 1 / 1 of 27 SQL Server Architecture.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1 Preview of Oracle Database 12 c In-Memory Option Thomas Kyte
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
Module 17 Storing XML Data in SQL Server® 2008 R2.
Application Express 4.1 New Features Hilary Farrell, Principal Member of Technical Staff, Oracle.
Andrew Holdsworth Director, Real World Performance Oracle Corporation Aris Prassinos Distinguished Member of Technical Staff Motorola James Haluska Systems.
Database System Development Lifecycle © Pearson Education Limited 1995, 2005.
Overview of the Database Development Process
Information storage: Introduction of database 10/7/2004 Xiangming Mu.
Using XML in SQL Server 2005 NameTitleCompany. XML Overview Business Opportunity The majority of all data transmitted electronically between organizations.
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Reporting from Contract.
Oracle Application Express 3.0 Joel R. Kallman Software Development Manager.
IT The Relational DBMS Section 06. Relational Database Theory Physical Database Design.
1 © Prentice Hall, 2002 Physical Database Design Dr. Bijoy Bordoloi.
Database Technical Session By: Prof. Adarsh Patel.
1 Oracle Database 11g – Flashback Data Archive. 2 Data History and Retention Data retention and change control requirements are growing Regulatory oversight.
Physical Database Design & Performance. Optimizing for Query Performance For DBs with high retrieval traffic as compared to maintenance traffic, optimizing.
David Webber, NIEM Team, Oracle Public Sector Rapid NIEM XML Exchange Design, Semantics and UML Models NIEM Test Model Data Deploy Requirements Build Exchange.
1Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 8 Contract Management.
Oracle Advanced Compression – Reduce Storage, Reduce Costs, Increase Performance Session: S Gregg Christman -- Senior Product Manager Vineet Marwah.
40183 : Oracle XML DB Performance and Tuning Mark D. Drake Senior Product Manager Session id:
C6 Databases. 2 Traditional file environment Data Redundancy and Inconsistency: –Data redundancy: The presence of duplicate data in multiple data files.
Quick Tips for Database Performance Tuning Sergey Koltakov Kurt Engeleiter Product Manager.
1. S318417: OAUG SysAdmin SIG Angelo Rosado, Oracle Senior Product Manager Kenneth Baxter, Oracle Strategy Product Manager Biju Mohan, Oracle Principal.
Declaratively Producing Data Mash-ups Sudarshan Murthy 1, David Maier 2 1 Applied Research, Wipro Technologies 2 Department of Computer Science, Portland.
“This presentation is for informational purposes only and may not be incorporated into a contract or agreement.”
SQL Fundamentals  SQL: Structured Query Language is a simple and powerful language used to create, access, and manipulate data and structure in the database.
1 Biometric Databases. 2 Overview Problems associated with Biometric databases Some practical solutions Some existing DBMS.
XML STORAGE AND XPATH QUERIES IN ORACLE Jiankai Wu & Joel Poualeu.
Workforce Scheduling Release 5.0 for Windows Implementation Overview OWS Development Team.
Chapter 4 Logical & Physical Database Design
Chapter 4 Indexes. Indexes Logically represents subsets of data from one or more tables View Generates numeric valuesSequence Basic unit of storage; composed.
Performance/Scalability with JDBC, UCP & Oracle Database 12c
Experience with XML Schema Ashok Malhotra Schema Usage  Mapping XML Schema and XML documents controlled by the Schema to object classes and instances.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. 1.
Copyright © 2013, Oracle and/or its affiliates. All rights reserved. Insert Information Protection Policy Classification from Slide 12 1.
11 Copyright © 2004, Oracle. All rights reserved. Managing XML Data in an Oracle 10g Database.
Closing the Query Processing Loop in Oracle 11g Allison Lee, Mohamed Zait.
Copyright © 2016, Oracle and/or its affiliates. All rights reserved. | What You Need to Know About User Defined Objects (UDOs) With Tools Release 9.2.
Databases and DBMSs Todd S. Bacastow January 2005.
MongoDB Er. Shiva K. Shrestha ME Computer, NCIT
Senior Solutions Architect, MongoDB Inc.
OpenWorld 2018 Accelerate Your Success on Oracle Cloud Infrastructure with Applications Unlimited Support Viviana Tilita Senior Technical Support Engineer.
Build a Web App with Oracle REST Data Services &
Flight Recorder in OpenJDK
JD Edwards Support and Oracle Cloud Infrastructure: A Successful Path to Oracle Cloud
Data, Databases, and DBMSs
Chapter 4 Indexes.
CH 4 Indexes.
CH 4 Indexes.
1.
Query Processing.
Presentation transcript:

Using XMLIndex and Binary XML for Motorola BIS Aris Prassinos, Distinguished Member of Technical Staff, Motorola Asha Tarachandani, Senior Member of Technical Staff, Oracle Inc.

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, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.

Introduction Motorola Printrak: Biometrics Identification Solution Oracle XMLIndex Binary XML Oracle XMLIndex team: Thomas Baby, Sivasankaran Chandrasekaran, Asha Tarachandani, Anh-Tuan Tran

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Motorola Printrak Biometrics Identification Solution A comprehensive solution for investigation, identification and verification in criminal and civil markets criminal investigation applicant background checks biometric visa and passport border patrol and security social services fraud detection Provides full biometric integration fingerprints, palmprints, facial images, irises, signatures, descriptive data and documents

BIS Application Characteristics OLTP Read intensive, frequent inserts, occasional updates / deletes Structure of data different in each deployment Each customer stores different demographics and arrest information as well as custom defined elements Schema may also change over time within the same system Designed to be deployed without extensive custom configuration and to operate without onsite DBA

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

BIS Indexing Needs Schema-less XML chosen as a storage format for maximum flexibility Several million XML documents stored per table Several thousand documents inserted / updated daily Size of XML documents ranges from 1K to 20K Number of tags per XML document ranges from 10 to 100 Documents may contain collection elements XML documents contain 5 – 20 searchable tags XML data must be indexed without prior knowledge of the paths that will be queried but if they are known in advance this can be used to optimize the indexing

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

BIS 10g Indexing Approach Functional indexes Allow range queries, arithmetic, aggregation Fastest possible query performance if you know the Xpath expressions used in queries in advance! Not possible to automatically index all paths Index maintenance cost climbs up as the number of indexed nodes increases Cannot index collection elements

BIS 10g Indexing Approach (contd.) Oracle Text Index No prior knowledge of queries necessary Index Creation and Maintenance overhead is minimized by: Selective exclusion / inclusion of tags or attributes as well as bypassing entire rows Asynchronous index maintenance Satisfactory query performance Does not allow range queries, arithmetic, aggregation Prefix indexing necessary to avoid ‘query too complex’ when doing wildcard queries on short strings Periodic optimization needed due to fragmentation

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

BIS 11g Indexing Approach – Oracle XMLIndex Meets all BIS Indexing needs Index specialized for XML Data and Queries Resolves querying limitations of Text and Functional indexes without sacrificing performance Allows range queries, arithmetic, aggregation Allows wildcard queries on short strings Can index collection elements Can extract fragments

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Oracle XMLIndex Universal indexing solution for XML Data and Queries Provides improved query performance Schema-less and schema-based data Binary-XML and CLOB storage SQLX and XQuery Data Model Wide range of Xpaths Index creation, maintenance and queries can go parallel Adhoc queries can be supported

Oracle XMLIndex – Details … … Row IDPath IDOrder Key LocatorValue Row ID of Base XML table Token for each pathPosition of this node in the XML doc Offsets into Base XML table column, additional info If any Path ID for /descriptors 1Start 0 End Path ID for /descriptors/addr 1.3Start 1047 End Path ID for /descriptors/addr/zip

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Oracle XMLIndex – Asynchronous Maintenance Cost of immediate index maintenance is avoided Improves DML performance Sync performance is optimized by batching up rows to be indexed Index can be synced automatically or manually Dictionary Views are available to check the current state of the index

Oracle XMLIndex – Path Subsetting Specify Paths that will be used in common queries or Paths that will rarely be used Can change the specified paths later Better DDL, DML performance Reduces size of primary and secondary indexes. Less storage overhead Transparent to queries

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

BIS 11g Approach – XMLIndex Usage create index ads_xml_index on ads_element(desc) indextype is XDB.XMLINDEX parameters('PATH TABLE ADS_PATH_TABLE PENDING TABLE ADS_PEND_TABLE ASYNC (SYNC EVERY “FREQ=MINUTELY; INTERVAL=2”) PATHS(//ArrestCode //Sex //Classification)’); select … where extractValue(desc,'//ArrestCode') =‘C01‘

BIS 11g Approach – XMLIndex Usage XML-aware index performs well for XML Data For example, queries on collection elements can make use of the index. Path subsetting and Asynchronous maintenance alleviate Index maintenance overhead Querying XML Data Allows range queries, arithmetic, aggregation Allows wildcard queries on short strings No periodic defragmentation necessary as was the case with the Text index Can be combined with Functional Indexes on selected paths when maximum query performance is required

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Oracle XMLIndex – features Asynchronous index maintenance Path subsetting XQuery support Support for indexing CLOBs embedded within O-R storage XML-DB repository Partitioned index Parallel index creation, maintenance and query Binary XML support

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

Oracle Binary XML Encoding format intended for use in all tiers of the Oracle stack Oracle XML DB Oracle iAS / XDK Java Improved storage, retrieval Parsing, validation and conversion costs are reduced or eliminated Smaller footprint results in less disk IO Reduced CPU cost for loading XML info-set into memory Query Performance Improved fragment extraction using XMLIndex Streaming single-pass evaluation of many XPaths when not using XMLIndex

Oracle Binary XML (contd.) Support for schema-based and schema-less documents Exploits XML Schema information about data-types and structure Preserves Infoset or Data Model fidelity

Using XMLIndex and Binary XML for Motorola BIS Motorola Printrak BIS Indexing Requirements 10g 11g Oracle XMLIndex Details Maintenance overhead– Asynchronous and Path-subsetting BIS Usage Features Oracle Binary XML Conclusion

XMLIndex is the complete indexing solution for XML Universal framework allows expanding to all XML DB areas – Binary XML, O-R storage, Repository, XQuery etc – and Oracle DB areas – partitioning, parallelism, relational views etc Motorola Biometrics plans to use XMLIndex for query performance with Asynchronous index maintenance and Path Subsetting

The preceding 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, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.

Other XML talks at Oracle Open World, 2006 State of California Legislative Data Center 10/24/2006 2:30 PM - 3:30 PM Hilton Hotel Continental Parlor 3 On-Demand XML Information Solutions 10/24/2006 1:45 PM - 2:45 PM Moscone West 3004 West Developing XML Applications Using Oracle Fusion Middleware 10/26/2006 8:00 AM - 9:00 AM Moscone South 304 South Demo grounds Every day