Notice: Undefined index: wordpress_logged_in_a484f74dd21f6e4ac041bc631f1f67eb in /home/dbascrip/public_html/wp-content/plugins/sg-cachepress/class-sg-cachepress.php on line 252

Warning: Cannot modify header information - headers already sent by (output started at /home/dbascrip/public_html/wp-content/plugins/sg-cachepress/class-sg-cachepress.php:252) in /home/dbascrip/public_html/wp-content/plugins/sg-cachepress/class-sg-cachepress.php on line 258
Oracle DBA Scripts and Articles (Montreal) http://www.dba-scripts.com This blog is intended to share my knowledge on Oracle and various scripts that I use as an oracle DBA. Tue, 25 Nov 2014 15:46:43 +0000 en-US hourly 1 http://wordpress.org/?v=4.0.1 Top 5 wait events from v$active_session_history http://www.dba-scripts.com/scripts/diagnostic-and-tuning/active-session-history/top-5-wait-events-vactive_session_history/ http://www.dba-scripts.com/scripts/diagnostic-and-tuning/active-session-history/top-5-wait-events-vactive_session_history/#comments Mon, 24 Nov 2014 15:30:57 +0000 http://www.dba-scripts.com/?p=627 This query returns the top 5 wait events for the last hour from v$active_session_history view. Be careful, this view is part of the diagnostic pack, you should not query this view if you don’t have license for it. Top 5 wait events from v$active_session_history [crayon-54755dca8a4d7815226794/] This is obviously an approximation, because v$active_session_history contains only 1 second samples, […]

The post Top 5 wait events from v$active_session_history appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/scripts/diagnostic-and-tuning/active-session-history/top-5-wait-events-vactive_session_history/feed/ 0
OCP 12C – Oracle Data Redaction http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-oracle-data-redaction/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-oracle-data-redaction/#comments Mon, 27 Oct 2014 13:00:34 +0000 http://www.dba-scripts.com/?p=586 What is Oracle Data Redaction ? Oracle Data Redaction is meant to mask (redact) sensitive data returned from application queries. Oracle Data Redaction doesn’t make change to data on disk, the sensitive data is redacted on the fly before it is returned to the application. You can redact column data by using one of the following methods: Full […]

The post OCP 12C – Oracle Data Redaction appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-oracle-data-redaction/feed/ 0
OCP 12C – Resource Manager and Performance Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-resource-manager-performance-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-resource-manager-performance-enhancements/#comments Fri, 24 Oct 2014 13:16:43 +0000 http://www.dba-scripts.com/?p=694 Use Resource Manager for a CDB and a PDB Managing Resources between PDBs The Resource Manager uses Shares ans Utilization limit to manage resources allocated to PDBs. The more “Shares” you allocate to a PDB, the more resource it will have. Shares are allocated through DBMS_RESOURCE_MANAGER.CREATE_CDB_PLAN_DIRECTIVE. One directive can only concern one PDB and you can’t […]

The post OCP 12C – Resource Manager and Performance Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-resource-manager-performance-enhancements/feed/ 0
OCP 12C – SQL Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-enhancements/#comments Thu, 23 Oct 2014 14:20:53 +0000 http://www.dba-scripts.com/?p=685 Extended Character Data Type Columns In this release Oracle changed the maximum sixe of three data types  In Oracle 12c if you set a VARCHAR2 to 4000 bytes or less it is stored inline, if you set it to more than 4000 bytes then it is transformed in extended character data type and stored out […]

The post OCP 12C – SQL Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-enhancements/feed/ 0
OCP 12C – DataPump, SQL*Loader, External Tables Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-datapump-sqlloader-external-tables-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-datapump-sqlloader-external-tables-enhancements/#comments Wed, 22 Oct 2014 19:57:58 +0000 http://www.dba-scripts.com/?p=663 Oracle DataPump Enhancements Full Transportable Export and Import of Data In Oracle 12c you now have the possibility to create full transportable exports and imports. A full transportable export contains all objects and data needed to create a copy of the database. To create a fully transportable export of your database you need to specify […]

The post OCP 12C – DataPump, SQL*Loader, External Tables Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-datapump-sqlloader-external-tables-enhancements/feed/ 0
OCP 12C – Partitioning Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-partitioning-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-partitioning-enhancements/#comments Wed, 22 Oct 2014 15:13:36 +0000 http://www.dba-scripts.com/?p=671 Online Partition operations Table Partitions and subpartitions can now be moved online. [crayon-54755dca8d122583710127/] Compression options can also be added during an online partition move. [crayon-54755dca8d132125201186/] Reference Partitioning Enhancements Truncate or Exchange Partition with Cascade option With Oracle 12c, it is now possible to use the CASCADE option to cascade operations to a child-referenced table when […]

The post OCP 12C – Partitioning Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-partitioning-enhancements/feed/ 0
OCP 12C – Index and Table Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-index-table-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-index-table-enhancements/#comments Tue, 21 Oct 2014 13:16:04 +0000 http://www.dba-scripts.com/?p=652 Table Enhancements Oracle 12c offers you to create invisible columns, these columns are not visible until you explicitly mention their names in the SQL statement. This functionnality allows developpers to make change to the database without conflicting with the existing application. To create an invisible column: [crayon-54755dca8dbd4910541728/]  You can’t create invisible columns on : External […]

The post OCP 12C – Index and Table Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-index-table-enhancements/feed/ 0
OCP 12C – ADR and Network Enhancements http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-adr-network-enhancements/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-adr-network-enhancements/#comments Mon, 20 Oct 2014 17:59:03 +0000 http://www.dba-scripts.com/?p=647 ADR enhancements In oracle 12c the Automatic Diagnostic Repository contains a new log directory with 2 subdirectories : DDL Debug The DDL log When you active the DDL logging in Oracle 12c using enable_ddl_logging=true, Oracle writes all DDL operations into the specific DDL log instead of writting it to the alert log. The DDL logging feature […]

The post OCP 12C – ADR and Network Enhancements appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-adr-network-enhancements/feed/ 0
OCP 12C – Emergency Monitoring, Real-Time ADDM http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-emergency-monitoring-real-time-addm/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-emergency-monitoring-real-time-addm/#comments Mon, 20 Oct 2014 17:48:50 +0000 http://www.dba-scripts.com/?p=629 Emergency Monitoring Emergency monitoring is meant for extreme circumstances where it’s impossible for you to connect to the database because the database is hung. Emergency monitoring allows you to connect to the database in diagnostic mode and run a lightweight analysis to see what’s happening. You can access real-time performance data from ASH and access […]

The post OCP 12C – Emergency Monitoring, Real-Time ADDM appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-emergency-monitoring-real-time-addm/feed/ 0
OCP 12C – SQL Tuning http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-tuning/ http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-tuning/#comments Fri, 10 Oct 2014 18:23:20 +0000 http://www.dba-scripts.com/?p=607 What’s new ? Oracle 12c introduces a major update called Adaptive Query Optimization which is based on : Adaptive execution plans Adaptive Statistics These two functionnalities are used to improve execution plans by using dynamic statistics gathered during the first part of the SQL execution. This allow to create more efficient plans that those using […]

The post OCP 12C – SQL Tuning appeared first on Oracle DBA Scripts and Articles (Montreal).

]]>
http://www.dba-scripts.com/articles/ocp-flashcards/ocp-12c-sql-tuning/feed/ 0