New Index enhancement in Oracle 12c Part 1 – Multiple indexes on the same set of columns

New Index enhancement in Oracle 12c Part 1 – Multiple indexes on the same set of columns

 

In the article you will have a look at the following new index feature in oracle 12c ‘Multiple indexes on the same set of columns’. Staring with Oracle 12c you are enabled to create multiple indexes on the same set of columns. The following different indexes can be created on the same set of columns.

  1. Index of (more...)

In database row archiving in Oracle 12c

 

In the article you will have a look at the new Oracle 12c feature called in database row archiving available since Oracle 12c. In Oracle versions prior to 12c all table data was an active visible set of data, that is subject to DML performed by the application. In Oracle 12c the In database row archiving feature enable us to have two sets of table data an active visible set of data that coexists (more...)

Using PL/SQL to run the SQL tuning Advisor in 11gR2

Using PL/SQL to run the SQL tuning Advisor in 11gR2

In the article we will have a look at the steps to invoke and run the SQL Tuning Advisor using the interface of the PL/SQL packages provided by Oracle. The SQL Tuning Advisor can be run in an alternative way using the OEM 12c Cloud Control interface. We will not cover the OEM 12c CC interface.

The approach is simple we run a single SQL (more...)

Star Transformation in 11gR2

Star Transformation in 11gR2

 In the article we will review the prerequisites for the CBO to perform a star query transformation. We will use the SH samples schema. We will look at two cases with and without a bit map join index.

  1. Star transformation without a bitmap join index.
  2. Star transformation with a bitmap join index.

The prerequisites are as follows.

 

  1. Make sure that the primary and foreign keys are enabled.

 

 

(more...)

Using the SQL ACCESS Advisor PL/SQL interface

Using the SQL ACCESS Advisor PL/SQL interface

In the article you will have a look at an example of using the SQL Access Advisor PL/SQL interface to obtain the access path and object structures change recommendations.

Let’s look at the SQL query example:

SELECT /*+ monitor */ /* test SQL Tuning */

p.prod_category,

p.prod_subcategory,

t.calendar_year,

SUM( s.quantity_sold ) AS total_quantity_sold,

SUM( s.amount_sold ) AS total_amount_sold

FROM

sh.sales s, sh. (more...)

Configuring Fast Start Failover

Configuring Fast Start Failover

In the article you will have a look at an example of configuring Fast Start Failover (FSFO). Oracle 11gR2 has been used. The configuration is based on server zeus running the PRA database and server Apollo running the STBY2 database. The STBY2 is the standby database.

  1. Initial data guard configuration.

    DGMGRL> show database verbose stby2

    Database – stby2

    Role: PHYSICAL STANDBY

    Intended State: APPLY-ON

    Transport Lag: 0 seconds

    Apply Lag: 0 (more...)

Session failover using Data Guard 11gR2

Session failover using Data Guard 11gR2

 

In the article we will see the session failover using an Oracle 11gR2 Data Guard. The feature is available since Oracle 11gr2 when the services become a CRS resource. The software used is Oracle RDBMS 11gR2. There are two nodes zeus running the PRA primary database and a STBY1 standby database and apollo running the STBY” standby instance. We will demonstrate a connection failover of a connection to (more...)

Packt’s $5 eBonanza returns

Packt’s $5 eBonanza returns

Following the success of last year’s festive offer, Packt Publishing will be celebrating the holiday season with an even bigger $5 offer.

From Thursday 18th December, every eBook and video will be available on the publisher’s website for just $5. Customers are invited to purchase as many as they like before the offer ends on Tuesday January 6th, making it the perfect opportunity to try something new or (more...)

2014 in review

The WordPress.com stats helper monkeys prepared a 2014 annual report for this blog.

Here’s an excerpt:

The Louvre Museum has 8.5 million visitors per year. This blog was viewed about 120,000 times in 2014. If it were an exhibit at the Louvre Museum, it would take about 5 days for that many people to see it.

Click here to see the complete report.


Filed under: oracle

The best deals from Packt Publishing

This month marks 10 years since Packt Publishing embarked on its mission to deliver effective learning and information services to IT professionals.

To celebrate this huge milestone, Packt is offering all of its eBooks and Videos at just $10 each for 10 days – this promotion covers every title and customers can stock up on as many copies as they like until July 5th. Please visit Packt Publishing here.


Filed under: oracle