Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2
Safe Harbor Statement
• The following is intended to...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3
Oracle Database 12c
Dominic Giles
Master Product Man...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4
Intel and Oracle Co-Development Cycle
Software + Har...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8
Oracle Database 12c
5 years in development
500 new...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9
Major Database Focus Areas
ENGINEERED
SYSTEMS
BIG DA...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10
Isolation and multitenancy
Fast provisioning and cl...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11
Private Database Cloud Architectures
Using Oracle D...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12
Private Database Cloud Architectures
Using Oracle D...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13
Isolation and multitenancy
Fast provisioning and cl...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14
Oracle Database Architecture
Requires memory, proce...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15
New Multitenant Architecture
Memory and processes r...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16
New Multitenant Architecture
Memory and processes r...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17
OLTP benchmark comparison
Only 3GB of memory vs. 20...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18
Managing Shared Resources
Resource management for c...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19
Simplified Patching
Apply changes once, all pluggab...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20
Simplified Upgrades
Flexible choice when patching &...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21
Manage Many Databases as One
Backup databases as on...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22
Manage Many Databases as One
One standby database c...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23
GOLD
SILVER
BRONZE
RAC, Data Guard, Daily Increment...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24
Heat Map
Smart Compression
Automated Tiering
In Dat...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25
Automatic Data Optimization
 An in memory heat map...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26
Automatic Data Optimization
Add compression and tie...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27
Automatic Data Optimization
A heat map tracks the a...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28
Automatic Data Optimization
Policies are automatica...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29
Automatic Data Optimization
Policies are automatica...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30
Automatic Data Optimization
Policies are automatica...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31
Automatic Data Optimization
Reduce storage footprin...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32
Automatic Data Optimization
Automatically tier data...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33
Data Guard Far Sync
Data Guard Fast Sync
Global Dat...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34
Data Guard Far Sync
No Compromise Between Availabil...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35
Data Guard Far Sync
Standby between continents with...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36
Data Masking at Source
Privilege Analysis
Integrate...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37
Soc. Sec. #
115-69-3428
DOB
11/06/71
PIN
5623
Polic...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38
Privilege Analysis
Reduce Attack Surface
 Report o...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39
Automatic Data Optimization
Data Redaction
Data Mas...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40
Pattern Matching
Simplified Analysis of Big Data
Se...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.41
if (lineNext == null) {
next = "";
} else {
next = ...
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.42
Oracle Database 12c
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43
Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44
Upcoming SlideShare
Loading in …5
×

„Plug into the Cloud with Oracle Database 12c” Dominic Giles, Master Product Manager, Oracle

975 views

Published on

Plug into the cloud with Oracle Database 12c, 27.06.2013

Published in: Technology, Business
0 Comments
1 Like
Statistics
Notes
  • Be the first to comment

No Downloads
Views
Total views
975
On SlideShare
0
From Embeds
0
Number of Embeds
2
Actions
Shares
0
Downloads
0
Comments
0
Likes
1
Embeds 0
No embeds

No notes for slide
  • Hello all,Welcome on behalf of Oracle and Intel.Before we start I would like to thank our sponsor Intel.
  • Before we start, we wanted to thank our co-sponsors Intel for their support of this event and we wanted to recognize the significant contribution Intel have made to Oracle’s ongoing success.Intel and Oracle have collaborated together for more than 20 years to optimised Oracle software to run best on Intel ArchitectureIntel have a team of engineers sat onsite at Oracle working hand in hand with Oracle developers. Starting at the top of the spiral and working around to the rightOracle provide feedback into Intel’s next generation chip designs in features they would like to see in 5 years time in our silicon. We then work together to build those chips into Oracle’s serversOracle use Intel’s compilers and software development tools when developing there softwareWe then have teams of people working on Oracle Operating systems – OVM, Solaris x86 and OLEWe work jointly on the database, fusion middle ware and applicationsThe final result is a machine like Exadata that is optimised at every level, from silicon to machine for performance, energy efficiency and reliability
  • Although Oracle represents about half of the relational db market and growing, there has been a huge investment into creating this new version of the DB
  • DB 12cThree focus areas in the Data Management group at Oracle:Big DataEngineered SystemsCloudBig Data platformonly one with a full engineered systems platformBig Data Appliance [Hadoop, NoSQL]Exalytics  [includes In-Memory DB, Endeca sifting data)
  • Many people have got excited about running SW in Public Clouds, but ~78%, according to a Gartner survey, are looking at Private Clouds. Previously we called this consolidation.Clouds are all about sharingand pooling resources, about high availability, security, and that all applications need to cooperate and be isolated; they need to behave themselves, so here are some of the characteristics we’re designing for in Oracle Database 12c.Over 5 years in development Over 500 new featuresOver 2,500 person years of developmentOver 3,000 systems used in testingOver 1 million feature tests run dailyOver 1.2 million hours of stress tests
  • Schemas downside is: not app transparent, no isolation
  • This is an opportunity to describe how we can now support inter database Resource Management. The dials are simply showing that as higher priority workloads come on the lower priority ones release resources. We aren't being specific about the resource. It could be CPU or Parallel Query Servers.
  • Erp never moves to 12.x
  • Fast sync meansdon't wait for confirmation that the remote site has written to disk before acknowledging the remote propagation has completed. Improved throughput for marginal increase in risk. Typically a distance greater than 100-150 miles is where latency becomes punitive for sync standby. It is possible to run at distances greater than this but you experience a degradation in performance… Typically 1ms per 100miles.
  • Far Sync is…A light-weight Oracle instanceOnly a standby control file, standby redo logs and archive redo logsNo data files, cannot be opened, does not run redo applyDeployed close to primary to support synchronous transportLooks like a Data Guard destination to primaryFar Sync Instance receives redo synchronously from the primary databaseFar Sync Instance forwards redo asynchronously in real-time to its final destinationData Guard transparently “drains the pipe” so that the remote failover target has all committed redoAdditional DetailsFar Sync Instance can also compress redo - requires Oracle Advanced Compression OptionRMAN deletion policies are used to automate archive log managementAn alternate Far Sync Instance can be used for HA FailoverOne-step, zero data loss failoverSame failover/switchover commands used for any Data Guard configuration, whether or not Far Sync is used
  • BenefitsBetter data protection: zero data loss for remote standby databasesBetter business continuity planning: failover without any fearCan be introduced without disrupting existing IT infrastructure
  • 1.9.2.7 Oracle Database Vault Mandatory Realms Oracle Database Vault mandatory realms block both DBA privileges and direct object privilege grants, including the object owner. Traditional Oracle Database Vault realms protect against the common DBA ANY system privileges, preventing privileged users from accessing realm-protected objects using their SELECT ANY privilege. With the mandatory realm, users with direct object privileges, including the object owner, are blocked from accessing realm protected objects as well. As with traditional realms, users who need access are authorized using the realm authorization capability of Oracle Database Vault. Oracle Database Vault mandatory realms provide increased protection for sensitive application tables that exist within a larger application. Using this feature, application tables that contain highly sensitive information can be placed in a mandatory realm and users with direct object grants will be blocked from accessing data contained in those tables. Mandatory realms can also be used in situations where database administrators, support analysts, or developers need temporary access to an application schema but access to specific application tables needs to be blocked.
  • Points to communicate: Emphasize security and compliance benefit Redacts specific columns in the database Works for tables, views, and materialized viewsUse Cases:Existing ApplicationsScreens, reports dashboards, panels …Decision Support SystemsData warehouse and BIExported spreadsheetsTarget data: Sensitive or regulated dataData with structureStored in columnsData needs to be redacted in almost all cases
  • Capture and report on database privilege usage at runtimeFor users, sessions, and roles (incl. PUBLIC)Show used System, Object, and Public privilegesShow how the user got the privilegeShow unused system and object privilegesAdministrator can modify privilege grants based on results
  • In Oracle Database 12c we’re introducing pattern matching with a new function called MATCH_RECOGNIZE. This enables us to specify complex patterns with a relatively simply declaration. Some of the functionality we will describe in the next few slides could have been achieved in previous releases of the Oracle database but it might have required a number of inner joins, sorts and potentially staging the data to make the processing more manageable.Complex pattern analysis of data is used in fraud detection, financial market analysis, intelligence and so on where a pattern might exist but is likely to be hidden in billions of rows of data… To solve this customers have recently resorted to large Map Reduce clusters (i.e. Hadoop) but may require time consuming ETL jobs and usually complex coding. This makes it difficult to optimize and maintain. And sometimes it’s not practical because of time or security constraints.With Oracle pattern matching it’s now possible to look for complex patterns between rows using relatively simple simple SQL by exploiting the power of regular expressions to define the pattern. The real power of this solution is that it’s easy to maintain and can exploit Oracle’sexistinganalyticalcapabilitessuch as parallelprocessing and partitioningLets look at an example
  • But now back to DB12c: This is probably the most important new release of the DB since a long time.Some of the new features and capabilities will have a profound impact on how the DB is being run, managed and used, and will therefore in my eyes drive also a much faster adoption 12c, because the benefits are so important.Based on the excellent feedback of the beta customers, we expect that customers and partners will very rapidly download 12c and start using the 12c in test and development environments, and once convinced and fully tested, that they will move into production very quickly.
  • „Plug into the Cloud with Oracle Database 12c” Dominic Giles, Master Product Manager, Oracle

    1. 1. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.1
    2. 2. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.2 Safe Harbor Statement • The following is intended to outline our general product direction. It is intended for information purposes only, and may not be incorporated into any contract. It is not a commitment to deliver any material, code, or functionality, and should not be relied upon in making purchasing decisions. • The development, release, and timing of any features or functionality described for Oracle’s products remain at the sole discretion of Oracle.
    3. 3. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.3 Oracle Database 12c Dominic Giles Master Product Manager Server Technologies
    4. 4. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.4 Intel and Oracle Co-Development Cycle Software + Hardware Optimized from Silicon to Machine ARCHITECTURE and INFRASTRUCTURE HARDWARE SOFTWARE XEON® COMPLETE COMPILERS and TOOLS SYSTEM DESIGNS OPERATING SYSTEM ENABLEMENT DATABASE OPTIMIZATION FUSION and APPs OPTIMIZATION
    5. 5. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.5
    6. 6. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.6
    7. 7. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.7
    8. 8. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.8 Oracle Database 12c 5 years in development 500 new features 2,500 person years development 3,000 systems used in testing 1 million feature tests run daily 1.2 million hours of stress tests
    9. 9. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.9 Major Database Focus Areas ENGINEERED SYSTEMS BIG DATA FAST DATA SOCIAL BLOG SMART METER 101100101001 001001101010 101011100101 010100100101 CLOUD COMPUTING
    10. 10. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.10 Isolation and multitenancy Fast provisioning and cloning Secure and highly available No application changes Manage many as one Greater resource utilization Performant and scalable Lower IT costs Consolidating Databases on Private Clouds 78%78% 17% 5% Yes Maybe No Gartner Data Center Conference Poll December 2011
    11. 11. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.11 Private Database Cloud Architectures Using Oracle Database 11g Dedicated Databases share servers and OS Virtual Machines share servers Schema Consolidation share servers, OS and database Increasing Consolidation
    12. 12. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.12 Private Database Cloud Architectures Using Oracle Database 12c Dedicated Databases share servers and OS Virtual Machines share servers Pluggable Databases share servers, OS and database Increasing Consolidation
    13. 13. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.13 Isolation and multitenancy Fast provisioning and cloning Secure and highly available No application changes Manage many as one Greater resource utilization Performant and scalable Lower IT costs Consolidating Databases on Clouds Key requirements…
    14. 14. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.14 Oracle Database Architecture Requires memory, processes and database files System Resources
    15. 15. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.15 New Multitenant Architecture Memory and processes required at container level only System Resources
    16. 16. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.16 New Multitenant Architecture Memory and processes required at container level only System Resources
    17. 17. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.17 OLTP benchmark comparison Only 3GB of memory vs. 20GB memory used for 50 databases Pluggable databases scaled to over 250 while separate database instances maxed at 50 Pluggable vs Separate Databases Highly Efficient: 6x Less H/W Resource, 5x more Scalable
    18. 18. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.18 Managing Shared Resources Resource management for consolidated databases High Priority Medium Priority Low Priority
    19. 19. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.19 Simplified Patching Apply changes once, all pluggable databases updated Upgrade in-place
    20. 20. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.20 Simplified Upgrades Flexible choice when patching & upgrading databases
    21. 21. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.21 Manage Many Databases as One Backup databases as one; recover at pluggable database Level One Backup Point-in-time recovery at pluggable database level
    22. 22. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.22 Manage Many Databases as One One standby database covers all pluggable databases
    23. 23. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.23 GOLD SILVER BRONZE RAC, Data Guard, Daily Incrementals Data Guard, Daily Incrementals Weekly Full Backups Managing Database Service Level Tiers Change tiers as databases become more mission critical
    24. 24. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.24 Heat Map Smart Compression Automated Tiering In Database Archiving Network Compression Automatic Data Optimization Optimize data storage based on usage
    25. 25. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.25 Automatic Data Optimization  An in memory heat map tracks access to segments and blocks – Data is periodically written to disk – Information is accessible by views or stored procedures  Uses can attach policies to tables to compress or tier data based on access to data – Tables or Partitions can be moved between compression levels whilst data is still being accessed Simplifying the life cycle of data Policy 1
    26. 26. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.26 Automatic Data Optimization Add compression and tiering policies to tables Copyright © 2012, Oracle and/or its affiliates. All rights reserved.26 Oldest Data Most Recent Data Policy 1 Policy 2 Compress Partitions with row compression if they haven’t been modified in 30 days Compress Partitions with columnar compression if they haven’t been modified in 180 days
    27. 27. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.27 Automatic Data Optimization A heat map tracks the activity of segments and blocks Copyright © 2012, Oracle and/or its affiliates. All rights reserved.27 Oldest Data Most Recent Data Policy 1 Policy 2
    28. 28. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.28 Automatic Data Optimization Policies are automatically applied to tables Copyright © 2012, Oracle and/or its affiliates. All rights reserved.28 Oldest Data Most Recent Data Policy 1 Policy 2
    29. 29. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.29 Automatic Data Optimization Policies are automatically applied to tables Copyright © 2012, Oracle and/or its affiliates. All rights reserved.29 Oldest Data Most Recent Data Policy 1 Policy 2
    30. 30. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.30 Automatic Data Optimization Policies are automatically applied to tables Copyright © 2012, Oracle and/or its affiliates. All rights reserved.30 Oldest Data Most Recent Data Policy 1 Policy 2
    31. 31. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.31 Automatic Data Optimization Reduce storage footprint, read compressed data faster Copyright © 2012, Oracle and/or its affiliates. All rights reserved. Confidential – Oracle Restricted31 Oldest Data Most Recent Data Policy 1 Policy 2
    32. 32. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.32 Automatic Data Optimization Automatically tier data to lower cost storage Copyright © 2012, Oracle and/or its affiliates. All rights reserved.32 Oldest Data Most Recent Data Policy 1 Policy 2 Policy 3 If the tablespace is nearly full compress the oldest partition with archive compression and move it to Tier 2 Storage
    33. 33. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.33 Data Guard Far Sync Data Guard Fast Sync Global Data Services Active Data Guard Reporting Enhancements Flex ASM Rolling Upgrade using Data Guard Application Continuity High Availability Active Replicas GoldenGate Integrated Capture
    34. 34. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.34 Data Guard Far Sync No Compromise Between Availability and Performance Primary Standby Far Sync Instance (Active) Far Sync Instance (Idle) Far Sync Instance (Active) Far Sync Instance (Idle) PrimaryStandby sync async
    35. 35. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.35 Data Guard Far Sync Standby between continents with zero data loss Primary Standby Far Sync Instance (Active) Far Sync Instance (Idle) New York Bridgeport Reading London sync async
    36. 36. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.36 Data Masking at Source Privilege Analysis Integrated Audit Framework Data Redaction Database Vault Mandatory Realms Sensitive Data Discovery Security Defense in Depth
    37. 37. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.37 Soc. Sec. # 115-69-3428 DOB 11/06/71 PIN 5623 Policy enforced redaction of sensitive data Redacting Sensitive Data Mask Application Data Dynamically Call Center Operator Payroll Processing Call Centers Decision Support Systems Systems with PII, PHI, PCI data
    38. 38. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.38 Privilege Analysis Reduce Attack Surface  Report on actual privileges and roles used in the database  Revoke unnecessary privileges and roles as needed  Help enforce least privilege and reduce risks Privilege Analysis Create … Select … Update … DBA role APPADMIN role
    39. 39. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.39 Automatic Data Optimization Data Redaction Data Masking Sandboxes Adaptive Query Plans Temporal Pattern Matching Partition Maintenance Enhancements Data Warehousing & Big Data Enabling Data Scientists
    40. 40. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.40 Pattern Matching Simplified Analysis of Big Data Select * from Ticker MATCH_RECOGNIZE ( … PATTERN(X+ Y+ W+ Z+) DEFINE X AS (price < PREV(price)), Y AS (price > PREV(price)), W AS (price < PREV(price)), Z AS (price > PREV(price) … )  Scalable discovery of business event sequences – Clickstream logs: sessionization, search behaviour – Financial transactions: fraud detection, double bottom (“W”) stock analysis – Telco: dropped calls – Medical sensors: automated medical observations and detections AscendingOrder “W” event defined as regular expression
    41. 41. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.41 if (lineNext == null) { next = ""; } else { next = lineNext.getQuantity(); } if (!q.isEmpty() && (prev.isEmpty() || (eq(q, prev) && gt(q, next)))) { state = "S"; return state; } if (gt(q, prev) && gt(q, next)) { state = "T"; return state; } if (lt(q, prev) && lt(q, next)) { state = "B"; return state; } if (!q.isEmpty() && (next.isEmpty() || (gt(q, prev) && eq(q, next)))) { state = "E"; return state; } if (q.isEmpty() || eq(q, prev)) { state = "F"; return state; } return state; } private boolean eq(String a, String b) { if (a.isEmpty() || b.isEmpty()) { return false; } return a.equals(b); } private boolean gt(String a, String b) { if (a.isEmpty() || b.isEmpty()) { return false; } return Double.parseDouble(a) > Double.parseDouble(b); } private boolean lt(String a, String b) { if (a.isEmpty() || b.isEmpty()) { return false; } return Double.parseDouble(a) < Double.parseDouble(b); } public String getState() { return this.state; } } BagFactory bagFactory = BagFactory.getInstance(); @Override public Tuple exec(Tuple input) throws IOException { long c = 0; String line = ""; String pbkey = ""; V0Line nextLine; V0Line thisLine; V0Line processLine; V0Line evalLine = null; V0Line prevLine; boolean noMoreValues = false; String matchList = ""; ArrayList<V0Line> lineFifo = new ArrayList<V0Line>(); boolean finished = false; DataBag output = bagFactory.newDefaultBag(); if (input == null) { return null; } if (input.size() == 0) { return null; Pattern Matching Finding Double Bottom (W) SELECT first_x, last_z FROM ticker MATCH_RECOGNIZE ( PARTITION BY name ORDER BY time MEASURES FIRST(x.time) AS first_x, LAST(z.time) AS last_z ONE ROW PER MATCH PATTERN (X+ Y+ W+ Z+) DEFINE X AS (price < PREV(price)), Y AS (price > PREV(price)), W AS (price < PREV(price)), Z AS (price > PREV(price) AND z.time - FIRST(x.time) <= 7 )) 250+ Lines of Java and PIG 12 Lines of SQL 20x less code, 5x faster
    42. 42. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.42 Oracle Database 12c
    43. 43. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.43
    44. 44. Copyright © 2013, Oracle and/or its affiliates. All rights reserved.44

    ×