OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
This document provides an overview of new features in Oracle Database 12c for developers and DBAs. It begins with an introduction by Alex Zaballa and then covers several new features including native support for JSON, data redaction, row limits and offsets for SQL queries, PL/SQL functions callable from SQL, session level sequences, and temporary undo. The document includes demonstrations of many of these new features.
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document contains a summary of an Oracle DBA presentation on DBA commands and concepts that every developer should know. The presentation covered topics such as parallel queries, row chaining, explain plans, flashback queries, pending statistics, bulk processing, virtual private databases, extended data types, identity columns, and online table redefinition. It provided examples and demonstrations of many of these commands and concepts.
Stored procedures and functions are named PL/SQL blocks that are stored in a database. They improve performance by reducing network traffic and allowing shared memory usage. Stored procedures are created using the CREATE PROCEDURE statement and can accept parameters using modes like IN, OUT, and IN OUT. Stored functions are similar but return a value. Packages group related database objects like procedures, functions, types and provide modularity and information hiding.
This document discusses techniques for improving SQL query performance by avoiding function calls in SQL queries and leveraging caching mechanisms. It covers scalar subquery caching, which caches the results of functions used in scalar subqueries to avoid repeated execution. Deterministic functions are also discussed, which Oracle can optimize by caching results. The document then introduces the cross-session PL/SQL function result cache and SQL result cache available in Oracle 11g, which cache and reuse function results and full query results across sessions to improve response times for repetitive queries and functions.
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...Alex Zaballa
This document summarizes new features in Oracle Database 12c Release 2 running on Oracle Database Exadata Express Cloud Service. Key features include longer identifier names up to 128 bytes, native support for JSON, improved functions for data conversion errors and LISTAGG, online conversion of non-partitioned tables to partitioned tables, read-only partitions, and approximate query processing. The presentation provides demonstrations of several new features.
Oracle Database 12c includes many new features across SQL, PL/SQL, database management, partitioning, patching, compression, Data Guard, and pluggable databases. Key features include increased datatype size limits, identity columns, implicit result sets in PL/SQL, adaptive plans, row pattern matching, pluggable databases that can be plugged into and unplugged from container databases, and many enhancements to compression, partitioning, Data Guard, and patching functionality.
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
This document provides an overview of new features in Oracle Database 12c for developers and DBAs. It begins with an introduction by Alex Zaballa and then covers several new features including native support for JSON, data redaction, row limits and offsets for SQL queries, PL/SQL functions callable from SQL, session level sequences, and temporary undo. The document includes demonstrations of many of these new features.
OTN TOUR 2016 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document contains a summary of an Oracle DBA presentation on DBA commands and concepts that every developer should know. The presentation covered topics such as parallel queries, row chaining, explain plans, flashback queries, pending statistics, bulk processing, virtual private databases, extended data types, identity columns, and online table redefinition. It provided examples and demonstrations of many of these commands and concepts.
Stored procedures and functions are named PL/SQL blocks that are stored in a database. They improve performance by reducing network traffic and allowing shared memory usage. Stored procedures are created using the CREATE PROCEDURE statement and can accept parameters using modes like IN, OUT, and IN OUT. Stored functions are similar but return a value. Packages group related database objects like procedures, functions, types and provide modularity and information hiding.
This document discusses techniques for improving SQL query performance by avoiding function calls in SQL queries and leveraging caching mechanisms. It covers scalar subquery caching, which caches the results of functions used in scalar subqueries to avoid repeated execution. Deterministic functions are also discussed, which Oracle can optimize by caching results. The document then introduces the cross-session PL/SQL function result cache and SQL result cache available in Oracle 11g, which cache and reuse function results and full query results across sessions to improve response times for repetitive queries and functions.
Oracle Database 12c Release 2 - New Features On Oracle Database Exadata Expre...Alex Zaballa
This document summarizes new features in Oracle Database 12c Release 2 running on Oracle Database Exadata Express Cloud Service. Key features include longer identifier names up to 128 bytes, native support for JSON, improved functions for data conversion errors and LISTAGG, online conversion of non-partitioned tables to partitioned tables, read-only partitions, and approximate query processing. The presentation provides demonstrations of several new features.
Oracle Database 12c includes many new features across SQL, PL/SQL, database management, partitioning, patching, compression, Data Guard, and pluggable databases. Key features include increased datatype size limits, identity columns, implicit result sets in PL/SQL, adaptive plans, row pattern matching, pluggable databases that can be plugged into and unplugged from container databases, and many enhancements to compression, partitioning, Data Guard, and patching functionality.
Flashback technologies in Oracle allow users to view and recover data from the past. Flashback query allows querying past data by specifying a timestamp. Flashback table recovers an entire table to a time in the past without rolling back transactions. Flashback database recovers the entire database to a past time point using undo data and requires enabling flashback mode and setting up a flash recovery area.
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
DBA Commands and Concepts That Every Developer Should Know was presented by Alex Zaballa, an Oracle DBA with experience in Brazil and Angola. The presentation covered Oracle Flashback Query, Flashback Table, RMAN table recovery, pending statistics, explain plan, DBMS_APPLICATION_INFO, row-by-row vs bulk processing, Virtual Private Database, extended data types, SQL text expansion, identity columns, UTL_CALL_STACK, READ privileges vs SELECT privileges, and online table redefinition. The presentation included demonstrations of many of these concepts.
Oracle Flashback technology provides several fast recovery options including Flashback Query, Flashback Version, Flashback Transaction, Flashback Table, and Flashback Drop. These features allow recovering data to a prior state by undoing changes or retrieving dropped objects without fully restoring backups. Flashback options can recover from corruptions, errors, disasters, and restore lost data through interfaces like easy-to-use Flashback commands.
Woo hoo!
18c Qualified expressions for collections and records
Whitelisting with the ACCESSIBLE_BY Clause
More PL/SQL-Only Data Types Cross PL/SQL-to-SQL Interface
Optimizing Function Execution in SQL
The UTL_CALL_STACK Package
Privileges/Access Management for Program Units
Static Expressions In Place of Literals
Marking elements for deprecation
PL/Scope now includes SQL statements in its analysis
This presentation explains all of the new features that are relevant for developers in Oracle 12c. It's been out for a couple of years, but many companies haven't updated to 12c. So, if you're looking to update soon, or are just interested in what the new features are, look at this presentation.
The full post is available at http://www.completeitprofessional.com/oracle-12c-new-features-for-developers
A stored procedure is a group of SQL statements that is stored in a database. Stored procedures accept input parameters which allow a single procedure to be used by multiple clients, reducing network traffic and increasing performance. Stored procedures provide modular programming, faster execution, reduced network traffic, and better data security compared to other methods. Procedures differ from functions in that procedures can have input/output parameters and allow DML statements while functions can only have input parameters and only allow select statements.
This document discusses various techniques for improving PL/SQL performance, including:
1. Using DBMS_PROFILER to find "hot spots" in PL/SQL code and measure SQL overhead.
2. Using stored procedures when there are significant network round trips to reduce network traffic.
3. Ensuring SQL tuning by measuring SQL overhead, using best optimizer statistics, adequate indexing, and SQL tracing tools.
07 Using Oracle-Supported Package in Application Developmentrehaniltifat
This document discusses using Oracle-supplied packages for application development. It describes the UTL_MAIL package for managing email, including procedures for sending messages with and without attachments. It also covers the DBMS_SCHEDULER package for automating jobs, including how to create, run, stop, and drop jobs. Finally, it discusses dynamic SQL and executing SQL statements programmatically using native dynamic SQL statements or the DBMS_SQL package.
This document discusses stored procedures and functions in Oracle databases. It covers:
- What procedures and functions are and how they can be created using PL/SQL syntax.
- Parameters for procedures and functions, including IN, OUT, and IN OUT parameter modes.
- Developing procedures and functions, including compiling, storing, and executing them.
- Benefits of using procedures and functions such as improved maintainability and performance.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as:
- Using SQLcl and tools like dbms_xplan to analyze queries and explain plans
- Leveraging parallelism to improve query performance
- Using flashback queries to view past data states
- Recovering dropped or corrupted tables using flashback and recycle bin features
- Migrating and restoring statistics to support testing and troubleshooting
The presentation provides examples and demonstrations of commands for tasks like analyzing queries, improving performance, recovering data, and managing database metadata.
This document discusses database object dependencies in Oracle. It describes how different types of objects can reference other objects, creating dependencies. It defines direct and indirect dependencies. It also covers local dependencies within a database and remote dependencies that can occur between databases in a distributed system. The document discusses how Oracle tracks and manages dependencies and recompiles objects when dependencies change.
Oracle Flashback Query allows users to recover data to a previous point in time using the System Change Number (SCN) or timestamp. Setting up Flashback Query involves determining the undo retention period, creating an undo tablespace, and granting privileges to users. The DBMS_FLASHBACK package implements Flashback Query procedures like ENABLE_AT_TIME and DISABLE. DBMS_RESUMABLE allows long-running operations to suspend and resume if errors occur. The AFTER SUSPEND trigger notifies DBAs of suspended operations. Export/Import now supports Flashback Query parameters and resuming space allocation operations.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as parallel processing, explain plans, flashback queries, pending statistics, virtual columns, and online table redefinition. It demonstrates several commands and concepts to help developers better understand database administration tasks.
Oracle Data Redaction is a new feature in Oracle Database 12c that enables protection of data shown to users in real time without requiring application changes. It redacts data using methods like full, partial, random, or regular expression redaction and was backported to Oracle Database 11.2.0.4. The feature is part of the Advanced Security option and helps securely redact sensitive data for different user groups.
Oracle’ın parallel execution yetenekleri ve performansEmrah METE
This document summarizes Oracle's parallel execution capabilities and provides an overview of key concepts. It discusses why parallel execution is used (for improved performance on large tasks), when it should be used, and Oracle's parallel execution features including parallel query, parallel DML, parallel DDL, and procedural parallelism. New features in Oracle 11g like automatic degree of parallelism, parallel statement queue, and DBMS_PARALLEL_EXECUTE are also covered. References for further reading on Oracle parallel execution and architecture are provided.
The document discusses Oracle's Flashback technology which allows recovering data to earlier points in time. It describes Flashback Database which rolls back the entire database, Flashback Table which rolls back a specific table, and Flashback Drop which recovers accidentally dropped tables. It also discusses Flashback Query to view data as of a past time, Flashback Versions Query to see row versions over time, and Flashback Transaction Query to view transaction history. The key benefits of Flashback are that it is fast, only restores changed data, and uses easy commands compared to traditional recovery techniques.
This document discusses managing data and concurrency in Oracle databases. It covers using SQL to manipulate data, administering PL/SQL objects, triggers and triggering events, and monitoring and resolving locking conflicts. Key topics include the INSERT, UPDATE, DELETE commands; PL/SQL functions, procedures and packages; trigger events; locking mechanisms like row-level locks; detecting and resolving lock conflicts; and avoiding deadlocks. The goal is to teach database administrators how to work with these concepts.
Oracle Architecture document discusses:
1. The cost of an Oracle Enterprise Edition license is $47,500 per processor.
2. It provides an overview of key Oracle components like the instance, database, listener and cost based optimizer.
3. It demonstrates how to start an Oracle instance, check active processes, mount and open a database, and query it locally and remotely after starting the listener.
This document summarizes Cesar Hernandez's presentation on Apache Tomcat, TomEE, and tFactory. Cesar is a software architect who works with Java EE technologies and is involved with several technical communities in Guatemala. The presentation covers how Apache Tomcat is commonly used, its technology and commercial aspects, and how tFactory can be used to easily manage multiple Tomcat instances over a network. tFactory provides features like remote server management, instance monitoring and configuration, and template-based instance deployment. The architecture and a demo of tFactory are also presented.
The document discusses Oracle databases in the cloud. It begins with definitions of cloud computing models like IaaS, PaaS, SaaS and DBaaS. It then examines options for running Oracle databases on cloud platforms like AWS, Microsoft Azure, Oracle Cloud, and vCloud Air. Key considerations in choosing a cloud platform are discussed, such as licensing, costs, performance and migration challenges. The document provides tips for managing databases in the cloud and concludes that determining if a cloud option is suitable requires a case-by-case analysis.
This document discusses the benefits of upgrading an Oracle database to version 12c. It highlights features like improved provisioning, in-memory processing, consolidation, high availability, easy upgrades and migrations, predictive tasks, and cost savings. It also notes that Oracle support for 11gR2 will end in 2018, making 12c the supported version. The presentation is by Deiby Gomez, an Oracle ACE director who works with Nuvola, S.A. to provide Oracle consulting, support and training services.
Flashback technologies in Oracle allow users to view and recover data from the past. Flashback query allows querying past data by specifying a timestamp. Flashback table recovers an entire table to a time in the past without rolling back transactions. Flashback database recovers the entire database to a past time point using undo data and requires enabling flashback mode and setting up a flash recovery area.
DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
DBA Commands and Concepts That Every Developer Should Know was presented by Alex Zaballa, an Oracle DBA with experience in Brazil and Angola. The presentation covered Oracle Flashback Query, Flashback Table, RMAN table recovery, pending statistics, explain plan, DBMS_APPLICATION_INFO, row-by-row vs bulk processing, Virtual Private Database, extended data types, SQL text expansion, identity columns, UTL_CALL_STACK, READ privileges vs SELECT privileges, and online table redefinition. The presentation included demonstrations of many of these concepts.
Oracle Flashback technology provides several fast recovery options including Flashback Query, Flashback Version, Flashback Transaction, Flashback Table, and Flashback Drop. These features allow recovering data to a prior state by undoing changes or retrieving dropped objects without fully restoring backups. Flashback options can recover from corruptions, errors, disasters, and restore lost data through interfaces like easy-to-use Flashback commands.
Woo hoo!
18c Qualified expressions for collections and records
Whitelisting with the ACCESSIBLE_BY Clause
More PL/SQL-Only Data Types Cross PL/SQL-to-SQL Interface
Optimizing Function Execution in SQL
The UTL_CALL_STACK Package
Privileges/Access Management for Program Units
Static Expressions In Place of Literals
Marking elements for deprecation
PL/Scope now includes SQL statements in its analysis
This presentation explains all of the new features that are relevant for developers in Oracle 12c. It's been out for a couple of years, but many companies haven't updated to 12c. So, if you're looking to update soon, or are just interested in what the new features are, look at this presentation.
The full post is available at http://www.completeitprofessional.com/oracle-12c-new-features-for-developers
A stored procedure is a group of SQL statements that is stored in a database. Stored procedures accept input parameters which allow a single procedure to be used by multiple clients, reducing network traffic and increasing performance. Stored procedures provide modular programming, faster execution, reduced network traffic, and better data security compared to other methods. Procedures differ from functions in that procedures can have input/output parameters and allow DML statements while functions can only have input parameters and only allow select statements.
This document discusses various techniques for improving PL/SQL performance, including:
1. Using DBMS_PROFILER to find "hot spots" in PL/SQL code and measure SQL overhead.
2. Using stored procedures when there are significant network round trips to reduce network traffic.
3. Ensuring SQL tuning by measuring SQL overhead, using best optimizer statistics, adequate indexing, and SQL tracing tools.
07 Using Oracle-Supported Package in Application Developmentrehaniltifat
This document discusses using Oracle-supplied packages for application development. It describes the UTL_MAIL package for managing email, including procedures for sending messages with and without attachments. It also covers the DBMS_SCHEDULER package for automating jobs, including how to create, run, stop, and drop jobs. Finally, it discusses dynamic SQL and executing SQL statements programmatically using native dynamic SQL statements or the DBMS_SQL package.
This document discusses stored procedures and functions in Oracle databases. It covers:
- What procedures and functions are and how they can be created using PL/SQL syntax.
- Parameters for procedures and functions, including IN, OUT, and IN OUT parameter modes.
- Developing procedures and functions, including compiling, storing, and executing them.
- Benefits of using procedures and functions such as improved maintainability and performance.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as:
- Using SQLcl and tools like dbms_xplan to analyze queries and explain plans
- Leveraging parallelism to improve query performance
- Using flashback queries to view past data states
- Recovering dropped or corrupted tables using flashback and recycle bin features
- Migrating and restoring statistics to support testing and troubleshooting
The presentation provides examples and demonstrations of commands for tasks like analyzing queries, improving performance, recovering data, and managing database metadata.
This document discusses database object dependencies in Oracle. It describes how different types of objects can reference other objects, creating dependencies. It defines direct and indirect dependencies. It also covers local dependencies within a database and remote dependencies that can occur between databases in a distributed system. The document discusses how Oracle tracks and manages dependencies and recompiles objects when dependencies change.
Oracle Flashback Query allows users to recover data to a previous point in time using the System Change Number (SCN) or timestamp. Setting up Flashback Query involves determining the undo retention period, creating an undo tablespace, and granting privileges to users. The DBMS_FLASHBACK package implements Flashback Query procedures like ENABLE_AT_TIME and DISABLE. DBMS_RESUMABLE allows long-running operations to suspend and resume if errors occur. The AFTER SUSPEND trigger notifies DBAs of suspended operations. Export/Import now supports Flashback Query parameters and resuming space allocation operations.
DBA Brasil 1.0 - DBA Commands and Concepts That Every Developer Should KnowAlex Zaballa
This document summarizes a presentation on DBA commands and concepts that every developer should know. The presentation covers topics such as parallel processing, explain plans, flashback queries, pending statistics, virtual columns, and online table redefinition. It demonstrates several commands and concepts to help developers better understand database administration tasks.
Oracle Data Redaction is a new feature in Oracle Database 12c that enables protection of data shown to users in real time without requiring application changes. It redacts data using methods like full, partial, random, or regular expression redaction and was backported to Oracle Database 11.2.0.4. The feature is part of the Advanced Security option and helps securely redact sensitive data for different user groups.
Oracle’ın parallel execution yetenekleri ve performansEmrah METE
This document summarizes Oracle's parallel execution capabilities and provides an overview of key concepts. It discusses why parallel execution is used (for improved performance on large tasks), when it should be used, and Oracle's parallel execution features including parallel query, parallel DML, parallel DDL, and procedural parallelism. New features in Oracle 11g like automatic degree of parallelism, parallel statement queue, and DBMS_PARALLEL_EXECUTE are also covered. References for further reading on Oracle parallel execution and architecture are provided.
The document discusses Oracle's Flashback technology which allows recovering data to earlier points in time. It describes Flashback Database which rolls back the entire database, Flashback Table which rolls back a specific table, and Flashback Drop which recovers accidentally dropped tables. It also discusses Flashback Query to view data as of a past time, Flashback Versions Query to see row versions over time, and Flashback Transaction Query to view transaction history. The key benefits of Flashback are that it is fast, only restores changed data, and uses easy commands compared to traditional recovery techniques.
This document discusses managing data and concurrency in Oracle databases. It covers using SQL to manipulate data, administering PL/SQL objects, triggers and triggering events, and monitoring and resolving locking conflicts. Key topics include the INSERT, UPDATE, DELETE commands; PL/SQL functions, procedures and packages; trigger events; locking mechanisms like row-level locks; detecting and resolving lock conflicts; and avoiding deadlocks. The goal is to teach database administrators how to work with these concepts.
Oracle Architecture document discusses:
1. The cost of an Oracle Enterprise Edition license is $47,500 per processor.
2. It provides an overview of key Oracle components like the instance, database, listener and cost based optimizer.
3. It demonstrates how to start an Oracle instance, check active processes, mount and open a database, and query it locally and remotely after starting the listener.
This document summarizes Cesar Hernandez's presentation on Apache Tomcat, TomEE, and tFactory. Cesar is a software architect who works with Java EE technologies and is involved with several technical communities in Guatemala. The presentation covers how Apache Tomcat is commonly used, its technology and commercial aspects, and how tFactory can be used to easily manage multiple Tomcat instances over a network. tFactory provides features like remote server management, instance monitoring and configuration, and template-based instance deployment. The architecture and a demo of tFactory are also presented.
The document discusses Oracle databases in the cloud. It begins with definitions of cloud computing models like IaaS, PaaS, SaaS and DBaaS. It then examines options for running Oracle databases on cloud platforms like AWS, Microsoft Azure, Oracle Cloud, and vCloud Air. Key considerations in choosing a cloud platform are discussed, such as licensing, costs, performance and migration challenges. The document provides tips for managing databases in the cloud and concludes that determining if a cloud option is suitable requires a case-by-case analysis.
This document discusses the benefits of upgrading an Oracle database to version 12c. It highlights features like improved provisioning, in-memory processing, consolidation, high availability, easy upgrades and migrations, predictive tasks, and cost savings. It also notes that Oracle support for 11gR2 will end in 2018, making 12c the supported version. The presentation is by Deiby Gomez, an Oracle ACE director who works with Nuvola, S.A. to provide Oracle consulting, support and training services.
This document provides an overview of key considerations and new features for upgrading to Oracle Database 12c. It discusses checking and potentially updating initialization parameters, applying the latest bundle patches, enabling new authentication protocols for client connections, using the new SQLCL tool instead of SQL*Plus, and configuring the free Oracle Enterprise Manager Express product for database management and monitoring. It also mentions new features for the Oracle Automatic Storage Management cluster and the introduction of a management repository for storing cluster metrics.
Este documento describe el proceso de integración continua para aplicaciones Oracle ADF. Explica cómo utilizar Git para control de versiones, Maven para gestión de dependencias, JUnit y Selenium para pruebas automatizadas, y Jenkins para orquestar de forma automatizada el proceso de compilación, pruebas y despliegue.
Este documento presenta información sobre Julio César Ayapán y su compañía Nuvola S.A., expertos en soluciones Oracle. Detalla las certificaciones y experiencia del equipo de Nuvola, así como los servicios de soporte y consultoría que ofrecen relacionados a bases de datos Oracle, Exadata, middleware y cursos de administración de Oracle. Luego resume las características principales de Oracle Clusterware 12c, incluyendo requisitos de instalación, Grid Naming Services, arquitectura Flex Cluster, administración de nodos y alta disponibil
Este documento presenta una sesión sobre la comparación entre Integración Cloud Service (ICS) y Service Oriented Architecture (SOA). Explica brevemente los conceptos de cloud computing, los modelos de servicios en la nube, e introduce ICS y SOA. Luego, compara ICS y SOA en términos de sus objetivos, tipos de integraciones, complejidad y cuándo usar cada uno. Finalmente, incluye una demostración de ICS.
Este documento resume las características y capacidades de Oracle Application Development Framework (ADF). Explica que ADF es un framework de desarrollo basado en Java EE que permite crear interfaces de usuario modernas e implementar patrones de diseño como MVC. También describe cómo ADF 12c puede generar APIs RESTful a partir de modelos de datos, con características como paginación, filtros y versionamiento de APIs. Finalmente, incluye un ejemplo demostrativo de cómo crear una API REST para recursos de regiones y países.
The document provides an overview of new features in Oracle Database 12c for developers and DBAs. It begins with introductions and background about the presenter, Alex Zaballa. The presentation then covers many new 12c features such as pluggable databases, data redaction, JSON support, and improved availability, security, and manageability capabilities. Code examples and demos are provided to illustrate several of the new features.
Oracle Database 12c - The Best Oracle Database 12c Tuning Features for Develo...Alex Zaballa
Oracle Database 12c includes many new tuning features for developers and DBAs. Some key features include:
- Multitenant architecture allows multiple pluggable databases to consolidate workloads on a single database instance for improved utilization and administration.
- In-memory column store enables real-time analytics on frequently accessed data held entirely in memory for faster performance.
- New SQL syntax like FETCH FIRST for row limiting and offsetting provides more readable and intuitive replacements for previous techniques.
- Adaptive query optimization allows queries to utilize different execution plans like switching between nested loops and hash joins based on runtime statistics for improved performance.
This document provides an introduction and overview of using Java stored procedures in Oracle databases. It discusses the advantages of using Java over PL/SQL, how to create and load Java classes into the database, how to define call specifications for Java methods, debugging and resolving issues, and using tools like Loadjava and Toad. The document is intended to educate developers on Oracle's Java stored procedure capabilities.
The Amazing and Elegant PL/SQL Function Result CacheSteven Feuerstein
The Function Result Cache, introduced in Oracle Database 11g, offers a very elegant way to cache cross-session data and make it available via PL/SQL functions. It can have a dramatic performance impact on fetching static data (even static for just a period of time) - and it's managed automatically by Oracle Database for you!
OOW16 - Oracle Database 12c - The Best Oracle Database 12c New Features for D...Alex Zaballa
Oracle Database 12c introduces many new features for developers and DBAs. These include native support for JSON, data redaction capabilities, improved SQL query functionality using row limits and offsets, and new PL/SQL features like calling functions from SQL. The presentation provides demonstrations of these new features.
Exploring plsql new features best practices september 2013Andrejs Vorobjovs
The document discusses exploring new features and best practices in PL/SQL for better performance. It covers topics like parsing time, bulk binding, PL/SQL function result cache, subprogram inlining, finer grained dependencies, and new features in Oracle Database 12c. The presentation provides an overview of Oracle SQL Developer and guidelines for writing efficient and readable PL/SQL code.
Oracle 11G introduces several new features including Flashback Data Archive for extended data recovery, Database Replay for testing system changes, SQL Performance Analyzer for comparing SQL statement performance before and after changes, and Automatic Diagnostic Repository for proactive health checking and problem resolution. Other new features include online patching, simplified memory management with a single MEMORY_TARGET parameter, enhanced SQL Access Advisor, virtual columns, invisible indexes, and transparent tablespace encryption.
PL/SQL is Oracle's procedural language extension to SQL that allows developers to define stored procedures and functions. Stored procedures are PL/SQL blocks that are stored in the database and can be called by name from applications. Packages are groups of related procedures and functions that provide better organization, encapsulation, and performance. Embedded SQL allows SQL statements to be placed within host programs written in languages like C/C++ to access and manipulate an Oracle database.
Oracle Database 12c - New Features for Developers and DBAsAlex Zaballa
Oracle Database 12c includes over 500 new features designed to support cloud computing, big data, security, and availability. Key features include support for up to 4096 pluggable databases, hot cloning without placing the source database in read-only mode, sharding capabilities, in-memory column storage, application containers, improved resource management isolation, and AWR support on Active Data Guard databases. Other notable features include enhanced JSON support, data redaction for security, row limits and offsets for queries, invisible columns, SQL text expansion, PL/SQL from SQL, session-level sequences, extended data types up to 32K, multiple indexes on the same columns, READ privileges without row locking ability, session private statistics for global temporary tables,
Oracle Database 12c - New Features for Developers and DBAsAlex Zaballa
This document summarizes a presentation about new features in Oracle Database 12c for developers and DBAs. It introduces JSON support, data redaction, SQL query row limits and offsets, invisible columns, extended data types, session level sequences, and more. Demo sections are included to illustrate several of the new features.
The document discusses using Statspack and AWR (Automatic Workload Repository) to analyze SQL performance and identify poorly performing queries. It provides examples of Statspack reports and how to interpret them to find SQL statements that are doing full table scans, experiencing buffer cache misses, or are inefficient due to lack of bind variables. The document also discusses how to identify SQL statements that are causing excessive sorting.
This document provides interview questions for an experienced 3+ year Oracle DBA divided into 5 sections with increasing difficulty. The sections cover basic Oracle knowledge, moderate daily tasks, advanced topics, RAC-specific questions, and very specialized questions. Example questions address topics like Oracle documentation resources, database startup/shutdown modes, data dictionary views, and RAC components. Separate documents further describe common DBA tasks and default Oracle passwords.
The document discusses harnessing the power of SQL Server columnstore indexes and Analysis Services ROLAP. It finds that combining clustered columnstore indexes with ROLAP in Analysis Services provides very fast performance for aggregates and distinct counts on large datasets of over 1 billion records, returning results within seconds. It recommends settings like enabling ROLAP distinct counts at the data source and maintaining statistics to optimize query plans when using this solution.
View the companion webinar at: http://embt.co/1xcLFjJ
If you’ve ever wanted to code or understand more about PL/SQL code, this 2-part series is for you.
Join Oracle ACE Director, Dan Hotka and Solutions Consultant Director, Scott Walz as they present and demo the fundamentals of PL/SQL and much more.
Watch the webinar to learn about:
+ PL/SQL variable types and naming convention
+ How to code PL-SQL
+ When to use IF-THEN-ELSE or CASE
+ Profiling and debugging PL/SQL
This document discusses advanced PL/SQL capabilities that can improve application performance and add new functionality to databases. It focuses on bulk binding, which allows fetching and inserting multiple rows in a single operation instead of one by one. This reduces processing overhead. It also covers SQL and PL/SQL data types, and how collections like nested tables and varrays allow treating local PL/SQL variables like database tables using SQL operations.
This document provides a list of interview questions for an Oracle DBA with 3+ years of experience. It covers basic, moderate, advanced, and master level questions. The basic section includes questions about default passwords, connecting to Oracle, and using clients like SQL*Plus. The moderate section covers topics like PFILE vs SPFILE and Data Pump. The advanced section includes questions about background processes, views, and shutdown modes. The master section contains very specific questions even an experienced DBA may struggle with.
Turbocharge SQL Performance in PL/SQL with Bulk ProcessingSteven Feuerstein
Is your Oracle Database application running slower than you'd like? One of the first things to check is row-by-row processing: non-query DML (insert, update, delete) within a loop. And the fix? Bulk processing, either with smarter SQL or with FORALL and BULK COLLECT in PL/SQL.
SQL Server 2016 introduces new capabilities to help improve performance, security, and analytics:
- Operational analytics allows running analytics queries concurrently with OLTP workloads using the same schema. This provides minimal impact on OLTP and best performance.
- In-Memory OLTP enhancements include greater Transact-SQL coverage, improved scaling, and tooling improvements.
- The new Query Store feature acts as a "flight data recorder" for databases, enabling quick performance issue identification and resolution.
This document provides instructions for replicating data from an Oracle multitenant container database (CDB) to another CDB using Oracle GoldenGate. It outlines prerequisites, tasks to prepare the databases and environment, and steps for initial load and ongoing replication of data changes in near real-time. Key steps include creating GoldenGate users, adding supplemental logging, configuring Extract and Replicat processes, and monitoring replication status. The goal is to familiarize the reader with setting up a basic Oracle to Oracle replication setup using GoldenGate in a multitenant environment.
Steven Feuerstein provided a summary of new features in PL/SQL introduced in Oracle Database 18c. Key highlights included: qualified expressions for collections and records, whitelisting access with the ACCESSIBLE_BY clause, allowing more PL/SQL-only data types to interface with SQL, optimizing function execution directly in SQL with WITH FUNCTION, improved error handling with the UTL_CALL_STACK package, and marking elements for deprecation. The presentation described these features and provided example code.
Similar to Improving the Performance of PL/SQL function calls from SQL (20)
This document provides a high-level summary of 12 new features in Oracle Database 12c, including:
1. Data redaction for masking sensitive data.
2. Temporal validity for querying data that was valid during a specific time period.
3. SQL text expansion for programmatically expanding SQL statements.
4. Increased size limits for VARCHAR2, NVARCHAR2 and RAW data types up to 32KB.
5. Easy top-N and pagination queries using new row limiting clauses.
This document outlines new capabilities in Oracle's 12c optimizer. It discusses adaptive query optimization, which allows the optimizer to adapt join methods and parallel distribution methods at runtime based on statistics collected during query execution. It also discusses enhancements to optimizer statistics, including new types of histograms, online statistics gathering, and automatic detection of column groups.
Understanding Query Optimization with ‘regular’ and ‘Exadata’ OracleGuatemala User Group
The document discusses query optimization with regular Oracle databases and Exadata databases. It explains what happens when a SQL statement is issued, including parsing, optimization, and execution. It describes what an execution plan is and how it can be generated and displayed. It discusses how operations can be offloaded to storage cells on Exadata and factors the optimizer considers for determining a good execution plan.
Grupo de Usuarios Oracle de Guatemala
Conferencista: Juan Ramón España
Juan Ramón tiene 9 años de experiencia como Especialista, Ingeniero de Implementaciones y Soporte de plataformas de mensajería unificada de Alcatel-Lucent que funcionan sobre RedHat Linux Enterprise y Windows Server, plataforma de virtualización VMWare ESXi, plataformas de contact center Genesys con especialización en diseño de estrategias ruteo de llamadas / reporteria y SBCs de AudioCodes. Previamente se ha desempeñado como Ingeniero de Soporte y Administrador de Sistemas Operativos Linux, HP-UX, Servidores HP y Bases de Datos Oracle, también como administrador de Sistemas Operativos Windows (NT, 2000 y 2003) / Unix (Tru64, Solaris y SCO), Linux, Bases de Datos Oracle de la versión 7 a la 9i, apoyó en migración entre releases de Oracle bajo plataformas Unix / análisis de performace de servidores, configuración / administración de Storage Area Networks de HP, soluciones de respaldo, recuperación de desastres y desarrollo de scripts.
Grupo de Usuarios Oracle de Guatemala
Conferencista: Jacob Noj.
Jacob Noj es un Ingeniero en Ciencias y Sistemas de la Universidad de San Carlos de Guatemala con 4 años de experiencias en el ámbito de las redes de computadoras, ha trabajado en implementaciones de Routing y Switching/ Seguridad Perimetral, como Diseñador y ejecutor alrededor de Guatemala, Honduras, Belice, USA y Canadá. Manejando Tecnologías Cisco, Fortinet Juniper, HP entre otros.. esto en el ámbito de los Contact Center, Apoyo también en la estructuración de procesos para NOC así como implementaciones de monitoreo de Red para otorgar soluciones practicas en el diagnostico de problemas de Red, agilizando los procesos de troubleshooting, toma de decisiones, realización de capacity planning. También esta acreditado por las Certificaciones Cisco en CCNA R&S, CCDA, CCNA Security. Actualmente Trabaja como Network Security Engineer en Xoom Corporation y Paypal Service en Guatemala.
- Sobre interRel is a leading provider of Oracle EPM and BI consulting, education, and support services.
- It has won awards including Oracle Solution EPM & BI of the Year and has authored over 10 bestselling books on Hyperion and Essbase.
- Founded in 1997, it has the most experience with Oracle EPM/BI solutions worldwide.
Este documento describe la gestión de grandes volúmenes de información por Gerber Bautista desde 2010 hasta 2015. El tamaño de las bases de datos creció aceleradamente de 3TB en 2010 a 97TB en 2015 debido a la necesidad de mayor información para sistemas de negocio, BI, marketing y finanzas. El documento también discute el uso de Oracle Exadata para satisfacer las necesidades de infraestructura de la empresa y mejorar el rendimiento de consultas en comparación con otras opciones.
This document provides an introduction and overview of Oracle Linux and its suitability for running Oracle databases. It discusses the Unbreakable Enterprise Kernel, installation of Oracle Linux, directory structure considerations, useful Linux commands for Oracle DBAs, file system options like OCFS2 and BTRFS, and demonstrates cloning a database using OCFS2 snapshot capabilities. The presenter has extensive experience with Oracle databases and various Oracle Linux versions.
Re-Think Mobile… Beyond Mobile‐First: Oracle Mobile Strategy and OverviewGuatemala User Group
This document discusses Oracle's mobile strategy and solution. It begins with an overview of enterprise mobile challenges like lack of integration and security. It then outlines Oracle's strategy to build engaging mobile apps that securely connect to backend systems and provide analytics. Oracle's mobile cloud service is presented as a way to simplify enterprise mobility by providing developer, security, integration and management services for custom and packaged mobile apps.
Building Better Mobile Backends with Oracle Mobile Cloud Service Guatemala User Group
The document discusses Oracle Mobile Cloud Service (MCS), which aims to address challenges in developing enterprise mobile applications. MCS provides a platform that extends and connects pre-built mobile services, APIs from backend systems, and client development tools to simplify building secure, scalable mobile solutions. It offers components like an API catalog, connectors to integrate mobile apps with backend systems, storage for caching data on devices, and user management across applications.
zkStudyClub - LatticeFold: A Lattice-based Folding Scheme and its Application...Alex Pruden
Folding is a recent technique for building efficient recursive SNARKs. Several elegant folding protocols have been proposed, such as Nova, Supernova, Hypernova, Protostar, and others. However, all of them rely on an additively homomorphic commitment scheme based on discrete log, and are therefore not post-quantum secure. In this work we present LatticeFold, the first lattice-based folding protocol based on the Module SIS problem. This folding protocol naturally leads to an efficient recursive lattice-based SNARK and an efficient PCD scheme. LatticeFold supports folding low-degree relations, such as R1CS, as well as high-degree relations, such as CCS. The key challenge is to construct a secure folding protocol that works with the Ajtai commitment scheme. The difficulty, is ensuring that extracted witnesses are low norm through many rounds of folding. We present a novel technique using the sumcheck protocol to ensure that extracted witnesses are always low norm no matter how many rounds of folding are used. Our evaluation of the final proof system suggests that it is as performant as Hypernova, while providing post-quantum security.
Paper Link: https://eprint.iacr.org/2024/257
Connector Corner: Seamlessly power UiPath Apps, GenAI with prebuilt connectorsDianaGray10
Join us to learn how UiPath Apps can directly and easily interact with prebuilt connectors via Integration Service--including Salesforce, ServiceNow, Open GenAI, and more.
The best part is you can achieve this without building a custom workflow! Say goodbye to the hassle of using separate automations to call APIs. By seamlessly integrating within App Studio, you can now easily streamline your workflow, while gaining direct access to our Connector Catalog of popular applications.
We’ll discuss and demo the benefits of UiPath Apps and connectors including:
Creating a compelling user experience for any software, without the limitations of APIs.
Accelerating the app creation process, saving time and effort
Enjoying high-performance CRUD (create, read, update, delete) operations, for
seamless data management.
Speakers:
Russell Alfeche, Technology Leader, RPA at qBotic and UiPath MVP
Charlie Greenberg, host
Skybuffer SAM4U tool for SAP license adoptionTatiana Kojar
Manage and optimize your license adoption and consumption with SAM4U, an SAP free customer software asset management tool.
SAM4U, an SAP complimentary software asset management tool for customers, delivers a detailed and well-structured overview of license inventory and usage with a user-friendly interface. We offer a hosted, cost-effective, and performance-optimized SAM4U setup in the Skybuffer Cloud environment. You retain ownership of the system and data, while we manage the ABAP 7.58 infrastructure, ensuring fixed Total Cost of Ownership (TCO) and exceptional services through the SAP Fiori interface.
For the full video of this presentation, please visit: https://www.edge-ai-vision.com/2024/06/temporal-event-neural-networks-a-more-efficient-alternative-to-the-transformer-a-presentation-from-brainchip/
Chris Jones, Director of Product Management at BrainChip , presents the “Temporal Event Neural Networks: A More Efficient Alternative to the Transformer” tutorial at the May 2024 Embedded Vision Summit.
The expansion of AI services necessitates enhanced computational capabilities on edge devices. Temporal Event Neural Networks (TENNs), developed by BrainChip, represent a novel and highly efficient state-space network. TENNs demonstrate exceptional proficiency in handling multi-dimensional streaming data, facilitating advancements in object detection, action recognition, speech enhancement and language model/sequence generation. Through the utilization of polynomial-based continuous convolutions, TENNs streamline models, expedite training processes and significantly diminish memory requirements, achieving notable reductions of up to 50x in parameters and 5,000x in energy consumption compared to prevailing methodologies like transformers.
Integration with BrainChip’s Akida neuromorphic hardware IP further enhances TENNs’ capabilities, enabling the realization of highly capable, portable and passively cooled edge devices. This presentation delves into the technical innovations underlying TENNs, presents real-world benchmarks, and elucidates how this cutting-edge approach is positioned to revolutionize edge AI across diverse applications.
Digital Banking in the Cloud: How Citizens Bank Unlocked Their MainframePrecisely
Inconsistent user experience and siloed data, high costs, and changing customer expectations – Citizens Bank was experiencing these challenges while it was attempting to deliver a superior digital banking experience for its clients. Its core banking applications run on the mainframe and Citizens was using legacy utilities to get the critical mainframe data to feed customer-facing channels, like call centers, web, and mobile. Ultimately, this led to higher operating costs (MIPS), delayed response times, and longer time to market.
Ever-changing customer expectations demand more modern digital experiences, and the bank needed to find a solution that could provide real-time data to its customer channels with low latency and operating costs. Join this session to learn how Citizens is leveraging Precisely to replicate mainframe data to its customer channels and deliver on their “modern digital bank” experiences.
Conversational agents, or chatbots, are increasingly used to access all sorts of services using natural language. While open-domain chatbots - like ChatGPT - can converse on any topic, task-oriented chatbots - the focus of this paper - are designed for specific tasks, like booking a flight, obtaining customer support, or setting an appointment. Like any other software, task-oriented chatbots need to be properly tested, usually by defining and executing test scenarios (i.e., sequences of user-chatbot interactions). However, there is currently a lack of methods to quantify the completeness and strength of such test scenarios, which can lead to low-quality tests, and hence to buggy chatbots.
To fill this gap, we propose adapting mutation testing (MuT) for task-oriented chatbots. To this end, we introduce a set of mutation operators that emulate faults in chatbot designs, an architecture that enables MuT on chatbots built using heterogeneous technologies, and a practical realisation as an Eclipse plugin. Moreover, we evaluate the applicability, effectiveness and efficiency of our approach on open-source chatbots, with promising results.
What is an RPA CoE? Session 1 – CoE VisionDianaGray10
In the first session, we will review the organization's vision and how this has an impact on the COE Structure.
Topics covered:
• The role of a steering committee
• How do the organization’s priorities determine CoE Structure?
Speaker:
Chris Bolin, Senior Intelligent Automation Architect Anika Systems
Monitoring and Managing Anomaly Detection on OpenShift.pdfTosin Akinosho
Monitoring and Managing Anomaly Detection on OpenShift
Overview
Dive into the world of anomaly detection on edge devices with our comprehensive hands-on tutorial. This SlideShare presentation will guide you through the entire process, from data collection and model training to edge deployment and real-time monitoring. Perfect for those looking to implement robust anomaly detection systems on resource-constrained IoT/edge devices.
Key Topics Covered
1. Introduction to Anomaly Detection
- Understand the fundamentals of anomaly detection and its importance in identifying unusual behavior or failures in systems.
2. Understanding Edge (IoT)
- Learn about edge computing and IoT, and how they enable real-time data processing and decision-making at the source.
3. What is ArgoCD?
- Discover ArgoCD, a declarative, GitOps continuous delivery tool for Kubernetes, and its role in deploying applications on edge devices.
4. Deployment Using ArgoCD for Edge Devices
- Step-by-step guide on deploying anomaly detection models on edge devices using ArgoCD.
5. Introduction to Apache Kafka and S3
- Explore Apache Kafka for real-time data streaming and Amazon S3 for scalable storage solutions.
6. Viewing Kafka Messages in the Data Lake
- Learn how to view and analyze Kafka messages stored in a data lake for better insights.
7. What is Prometheus?
- Get to know Prometheus, an open-source monitoring and alerting toolkit, and its application in monitoring edge devices.
8. Monitoring Application Metrics with Prometheus
- Detailed instructions on setting up Prometheus to monitor the performance and health of your anomaly detection system.
9. What is Camel K?
- Introduction to Camel K, a lightweight integration framework built on Apache Camel, designed for Kubernetes.
10. Configuring Camel K Integrations for Data Pipelines
- Learn how to configure Camel K for seamless data pipeline integrations in your anomaly detection workflow.
11. What is a Jupyter Notebook?
- Overview of Jupyter Notebooks, an open-source web application for creating and sharing documents with live code, equations, visualizations, and narrative text.
12. Jupyter Notebooks with Code Examples
- Hands-on examples and code snippets in Jupyter Notebooks to help you implement and test anomaly detection models.
"Choosing proper type of scaling", Olena SyrotaFwdays
Imagine an IoT processing system that is already quite mature and production-ready and for which client coverage is growing and scaling and performance aspects are life and death questions. The system has Redis, MongoDB, and stream processing based on ksqldb. In this talk, firstly, we will analyze scaling approaches and then select the proper ones for our system.
Introduction of Cybersecurity with OSS at Code Europe 2024Hiroshi SHIBATA
I develop the Ruby programming language, RubyGems, and Bundler, which are package managers for Ruby. Today, I will introduce how to enhance the security of your application using open-source software (OSS) examples from Ruby and RubyGems.
The first topic is CVE (Common Vulnerabilities and Exposures). I have published CVEs many times. But what exactly is a CVE? I'll provide a basic understanding of CVEs and explain how to detect and handle vulnerabilities in OSS.
Next, let's discuss package managers. Package managers play a critical role in the OSS ecosystem. I'll explain how to manage library dependencies in your application.
I'll share insights into how the Ruby and RubyGems core team works to keep our ecosystem safe. By the end of this talk, you'll have a better understanding of how to safeguard your code.
Discover top-tier mobile app development services, offering innovative solutions for iOS and Android. Enhance your business with custom, user-friendly mobile applications.
The Microsoft 365 Migration Tutorial For Beginner.pptxoperationspcvita
This presentation will help you understand the power of Microsoft 365. However, we have mentioned every productivity app included in Office 365. Additionally, we have suggested the migration situation related to Office 365 and how we can help you.
You can also read: https://www.systoolsgroup.com/updates/office-365-tenant-to-tenant-migration-step-by-step-complete-guide/
Main news related to the CCS TSI 2023 (2023/1695)Jakub Marek
An English 🇬🇧 translation of a presentation to the speech I gave about the main changes brought by CCS TSI 2023 at the biggest Czech conference on Communications and signalling systems on Railways, which was held in Clarion Hotel Olomouc from 7th to 9th November 2023 (konferenceszt.cz). Attended by around 500 participants and 200 on-line followers.
The original Czech 🇨🇿 version of the presentation can be found here: https://www.slideshare.net/slideshow/hlavni-novinky-souvisejici-s-ccs-tsi-2023-2023-1695/269688092 .
The videorecording (in Czech) from the presentation is available here: https://youtu.be/WzjJWm4IyPk?si=SImb06tuXGb30BEH .
Your One-Stop Shop for Python Success: Top 10 US Python Development Providersakankshawande
Simplify your search for a reliable Python development partner! This list presents the top 10 trusted US providers offering comprehensive Python development services, ensuring your project's success from conception to completion.
Dandelion Hashtable: beyond billion requests per second on a commodity serverAntonios Katsarakis
This slide deck presents DLHT, a concurrent in-memory hashtable. Despite efforts to optimize hashtables, that go as far as sacrificing core functionality, state-of-the-art designs still incur multiple memory accesses per request and block request processing in three cases. First, most hashtables block while waiting for data to be retrieved from memory. Second, open-addressing designs, which represent the current state-of-the-art, either cannot free index slots on deletes or must block all requests to do so. Third, index resizes block every request until all objects are copied to the new index. Defying folklore wisdom, DLHT forgoes open-addressing and adopts a fully-featured and memory-aware closed-addressing design based on bounded cache-line-chaining. This design offers lock-free index operations and deletes that free slots instantly, (2) completes most requests with a single memory access, (3) utilizes software prefetching to hide memory latencies, and (4) employs a novel non-blocking and parallel resizing. In a commodity server and a memory-resident workload, DLHT surpasses 1.6B requests per second and provides 3.5x (12x) the throughput of the state-of-the-art closed-addressing (open-addressing) resizable hashtable on Gets (Deletes).
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAUpanagenda
Webinar Recording: https://www.panagenda.com/webinars/hcl-notes-und-domino-lizenzkostenreduzierung-in-der-welt-von-dlau/
DLAU und die Lizenzen nach dem CCB- und CCX-Modell sind für viele in der HCL-Community seit letztem Jahr ein heißes Thema. Als Notes- oder Domino-Kunde haben Sie vielleicht mit unerwartet hohen Benutzerzahlen und Lizenzgebühren zu kämpfen. Sie fragen sich vielleicht, wie diese neue Art der Lizenzierung funktioniert und welchen Nutzen sie Ihnen bringt. Vor allem wollen Sie sicherlich Ihr Budget einhalten und Kosten sparen, wo immer möglich. Das verstehen wir und wir möchten Ihnen dabei helfen!
Wir erklären Ihnen, wie Sie häufige Konfigurationsprobleme lösen können, die dazu führen können, dass mehr Benutzer gezählt werden als nötig, und wie Sie überflüssige oder ungenutzte Konten identifizieren und entfernen können, um Geld zu sparen. Es gibt auch einige Ansätze, die zu unnötigen Ausgaben führen können, z. B. wenn ein Personendokument anstelle eines Mail-Ins für geteilte Mailboxen verwendet wird. Wir zeigen Ihnen solche Fälle und deren Lösungen. Und natürlich erklären wir Ihnen das neue Lizenzmodell.
Nehmen Sie an diesem Webinar teil, bei dem HCL-Ambassador Marc Thomas und Gastredner Franz Walder Ihnen diese neue Welt näherbringen. Es vermittelt Ihnen die Tools und das Know-how, um den Überblick zu bewahren. Sie werden in der Lage sein, Ihre Kosten durch eine optimierte Domino-Konfiguration zu reduzieren und auch in Zukunft gering zu halten.
Diese Themen werden behandelt
- Reduzierung der Lizenzkosten durch Auffinden und Beheben von Fehlkonfigurationen und überflüssigen Konten
- Wie funktionieren CCB- und CCX-Lizenzen wirklich?
- Verstehen des DLAU-Tools und wie man es am besten nutzt
- Tipps für häufige Problembereiche, wie z. B. Team-Postfächer, Funktions-/Testbenutzer usw.
- Praxisbeispiele und Best Practices zum sofortigen Umsetzen
HCL Notes und Domino Lizenzkostenreduzierung in der Welt von DLAU
Improving the Performance of PL/SQL function calls from SQL
1. http://www.oracle-base.com
Improving the Performance of PL/SQL Function
Calls from SQL
Tim Hall
Oracle ACE Director
Oracle ACE of the Year 2006
OakTable Network
OCP DBA (7, 8, 8i, 9i, 10g, 11g)
OCP Advanced PL/SQL Developer
Oracle Database: SQL Certified Expert
http://www.oracle-base.com
Books
Oracle PL/SQL Tuning
Oracle Job Scheduling
2. http://www.oracle-base.com
What’s the problem?
We sometimes need to call PL/SQL functions in the select list of
queries.
By default, the function may be called for each row returned.
If the function is called repeatedly with the same input parameters, this
can represent a massive waste of resources.
Sometimes we are able to change the query, but not the
function. Sometimes we can change the function, but
not the query.
(setup.sql)
3. http://www.oracle-base.com
Scalar Subquery Caching
Rewriting function calls as scalar subqueries allows Oracle to
cache the results.
SELECT (SELECT slow_function(id) FROM dual)
FROM func_test;
Oracle sets up an in-memory hash table to cache results of scalar
subqueries.
The cache only last for the lifetime of the query.
The cached values are not reusable in the current
session or in other sessions.
(scalar.sql)
4. http://www.oracle-base.com
DETERMINISTIC Hint
The DETERMINISTIC hint has been available for a long time, but didn’t
seem to do much until 10g.
Oracle will optimize calls to functions marked as DETERMINISTIC to
improve query performance.
The caching is based on the array size of fetch, so mileage can vary.
Cached return values only last for the lifetime of the call.
The cached values are not reusable in the current session
or in other sessions.
(deterministic.sql)
5. http://www.oracle-base.com
11g Result Cache
11g introduced two new caching features.
Both share the same pool of memory in the SGA, controlled using:
RESULT_CACHE_% parameters.
DBMS_RESULT_CACHE package.
V$RESULT_CACHE_% views.
(result_cache.sql)
The Query Result Cache improves performance of complex queries that
return small number of rows. (query_result_cache.sql)
The Cross-Session PL/SQL Function Result Cache improves
performance of function calls by caching the return values.
(plsql_result_cache.sql)
Cached results can be reused in the same session and
in other sessions.
6. http://www.oracle-base.com
Manual Caching Using PL/SQL Collections
Caching of function calls is nothing new.
Caching using PL/SQL collections has been done for many years.
Collections are session-specific, but cached values can be reused in
multiple queries.
(collection.sql)
Manually caching can cause problems for volatile data.
Remember, collections use memory. Don’t go nuts!
7. http://www.oracle-base.com
Manual Caching Using Contexts
Manual caching using contexts is similar to using collections.
It shares many of the same drawbacks, but can allow a shared cache
between sessions.
(context.sql)
8. http://www.oracle-base.com
Scalar Subquery Caching (Revisited)
Q: Do other caching methods make scalar subquery caching irrelevant?
A: No. Alternative caching mechanisms don’t reduce context switching
between SQL and PL/SQL.
(plsql_result_cache_2.sql)
You should always use scalar subquery caching, even
when using other caching mechanisms.
Scalar Subquery Caching reduces context switches,
but other methods have added benefits reuse
between queries and sessions.
9. http://www.oracle-base.com
Is there anything relevant in 12c?
Functions (and procedures) in the WITH clause. Reduces the context
switching associated with PL/SQL calls, which improves performance.
WITH
FUNCTION slow_function(p_id IN NUMBER) IS
BEGIN
RETURN p_id;
END slow_function;
SELECT slow_function(id)
FROM test_func;
10. http://www.oracle-base.com
What about the FROM and WHERE clause?
Function calls in the select list of an inline view follow the same rules as
for the main select list.
If you are using table functions, consider switching to pipelined table
functions.
Use Scalar Subquery Caching for functions in the WHERE clause if
possible.
Avoid functions on indexed columns, or consider
function-based indexes.
(fbi.sql)
11. http://www.oracle-base.com
What did we cover?
Scalar Subquery Caching
DETERMINISTIC Hint
Cross-Session PL/SQL Function Result Cache
Manual Caching Using PL/SQL Collections
Manual Caching Using Contexts
Function calls in the FROM and WHERE clause