Successfully reported this slideshow.
We use your LinkedIn profile and activity data to personalize ads and to show you more relevant ads. You can change your ad preferences anytime.

Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Express Cloud Service


Published on

Presentation for InteropMix 2016

Published in: Technology
  • Be the first to comment

  • Be the first to like this

Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Express Cloud Service

  1. 1. Oracle Database 12c Release 2 New Features On Oracle Database Exadata Express Cloud Service Presented by: Alex Zaballa, Oracle DBA
  2. 2. Alex Zaballa @alexzaballa208 and counting…
  3. 3. Worked for 7 years in Brazil as an Oracle Developer. 2000 - 2007 Worked for 8 years in Angola as an Oracle DBA for the Ministry of Finance. 2007 - 2015
  4. 4. Database New Features Guide press-cloud/CSDBF/toc.htm Using Oracle Database Exadata Express Cloud Service press-cloud/CSDBP/toc.htm
  5. 5. database-exadata-express-ds-3224599.pdf Oracle Database Exadata ExpressCloud Service
  6. 6. Oracle Database Public Cloud – 05/Nov/2016
  7. 7. 05/Nov/2016 Oracle® Database Online Documentation Library 12c Release 2 (12.2) l_booklist.htm
  8. 8. Oracle Database 12c Release 2 New Features On Oracle Database Cloud Service
  9. 9. Upgrade to or wait for 12.2 ? CDB ou NON-CDB?
  10. 10. Oracle Database Release Status MOS Note:742060.1
  11. 11. Multitenant
  12. 12. Multitenant
  13. 13. Multitenant on 12.1
  14. 14. Oracle Announces Beta Availability of Oracle Database 12c Release 2 - Oct 26, 2015 • PLUGGABLE DATABASES From 252 to 4096 • HOT CLONING Don’t need to put the source in read-only for cloning • SHARDING It’s like partitioning in a shared nothing database The data is split into multiple databases • In-Memory In-Memory column Store on Active Data Guard Heat Map • APPLICATION CONTAINER Pluggable Databases will share application objects • More isolation, resource manager will limit the memory in addition to CPU and I/O. • AWR will work on Active Data Guard Database: you can tune your reporting database
  15. 15. Longer Identifier Names • Starting with Oracle Database 12c Release 2 (12.2), the maximum length of identifier names for most types of database objects has been increased to 128 bytes.
  16. 16. DEMO
  17. 17. JSON OTN Article by Alex Zaballa /sql/json-oracle-database-12c-2378776- ptb.html
  18. 18. JSON • Oracle Database has now native support for JSON. • “JSON (JavaScript Object Notation) is a lightweight data-interchange format. It is easy for humans to read and write. It is easy for machines to parse and generate.” Source:
  19. 19. JSON
  20. 20. JSON
  22. 22. JSON_ARRAY
  23. 23. JSON_OBJECT
  24. 24. JSON and PL/SQL
  25. 25. DEMO
  26. 26. Data Conversion Errors • CAST() • TO_xxxx()
  27. 27. Enhanced CAST Function With Error Handling • CAST function is enhanced to return a user- specified value in the case of a conversion error instead of raising an error.
  29. 29. DEMO
  30. 30. VALIDATE_CONVERSION function • Determines whether expr can be converted to the specified data type. If expr can be successfully converted, then this function returns 1; otherwise, this function returns 0.
  31. 31. DEMO
  32. 32. LISTAGG improvements • LISTAGG aggregates the values of a column by concatenating them into a single string. New functionality has been added for managing situations where the length of the concatenated string is too long. • What to do when an overflow occurs:  ON OVERFLOW ERROR (default)  ON OVERFLOW TRUNCATE <delimiter>
  33. 33. LISTAGG improvements
  34. 34. DEMO
  35. 35. Changes in SQL*Plus Release 12.2 FAST Option SQL*Plus command-line option –F[ast] changes the values of the following default settings
  36. 36. Changes in SQL*Plus Release 12.2 Support for command history SET HIST[ORY] {ON | OFF | n} SHOW HISTORY
  37. 37. DEMO
  38. 38. Online Conversion of a Non Partitioned Table to a Partitioned Table Nonpartitioned tables can be converted to partitioned tables online. Indexes are maintained as part of this operation and can be partitioned as well. The conversion has no impact on the ongoing DML operations.
  39. 39. Online Conversion of a Non Partitioned Table to a Partitioned Table
  40. 40. Case insensitive
  41. 41. Online Table Move Nonpartitioned tables can be moved as an online operation without blocking any concurrent DML operations. A table move operation now also supports automatic index maintenance as part of the move.
  42. 42. Online Table Move 12.1
  43. 43. Online Table Move 12.2
  44. 44. Read-only partitions You can set tables, partitions, and subpartitions to read-only status to protect data from unintentional DML operations by any user or trigger.
  45. 45. Read-only partitions
  46. 46. Filtering Partition Operations (Maintenance) Filtering data for some maintenance operations.
  47. 47. Creating a Partitioned External Table You can create partitions for an external table:
  48. 48. Index Monitoring In 12.2, Index monitoring is now enabled by default. DBA_INDEX_USAGE displays cumulative statistics for each index. V$INDEX_USAGE_INFO keeps track of index usage since the last flush. A flush occurs every 15 minutes.
  52. 52. PDB – characterset In 12.2 Multitenant supports consolidation of PDBs with diverse character sets. The requirement is that the CDB be configured with AL32UTF8, which is the super-set of all others and it is also the default characterset now. 2078248.pdf
  53. 53. PDB – resource management 2078248.pdf
  54. 54. PDB – hot clone In 12.2 we have PDB hot clone/refresh/relocate. Don’t need to put the source in read-only for cloning, can refresh a clone, can relocate a PDB to another CDB online
  55. 55. Application Container 2078248.pdf
  56. 56. Oracle Database Vault Simulation Mode Protection Oracle Database Vault simulation mode protection allows customers to test their Oracle Database Vault realms and command rules protections using soft enforcement.
  57. 57. Approximate Query Processing Approximate query processing obtains approximate results with negligible deviation from the exact result while saving processing resources and dramatically increasing the processing of resources.
  58. 58. Approximate Query Processing 12.1:
  59. 59. Approximate Query Processing 12.2:
  60. 60. Approximate Query Processing You can utilize the Approximate functions without changing code. The initialization parameters are: • approx_for_aggregation • approx_for_count_distinct • approx_for_percentile
  61. 61. Approximate Query Processing alter session set approx_for_count_distinct = 'TRUE';
  62. 62. SQLcl
  63. 63. Thank You Slides Available: