Oracle Scratchpad

January 28, 2022

Transformations Catalogue

Filed under: Oracle — Jonathan Lewis @ 2:50 pm GMT Jan 28,2022

This is a list of all articles I’ve written about optimizer transformations. Many of these articles will have been listed in the Execution Plans catalogue and Optimizer Catalogue. Each entry has a date stamp and a short note of the contents. The articles are generally listed most-recent first, but there is a separate index to a series I have recently started writing for Simpletalk which lists the articles in the order they were written. I’ve also started adding articles from other authors – just one so far from Nigel Bayliss

I am currently working backwards through my entire blog adding articles to catalogues as I go, so any individual catalogue may grow very slowly.

  • Push Group By (Nov 2023): New to 23c, pushing a “group by” clauses inside a “union all” view.
  • Removing Subqueries (Oct 2023): notes on how the optimizer can use analytic (window) functions to remove some subqueries from your SQL – and why it may not be happening right now.
  • Losing OR-expansion (Jan 2023): an upgrade may block a concatenation plan but not replace it with Or-expansion.
  • Upgrade issues (July 2022): an example of how new transformations can change plans that had been hinted as completely as possible.
  • Join view delete (May 2022): ANSI expansion problems with deletes from join views
  • Ordered hint (Sept 2021) – An accidental example of two appearances of the “place group by” transformation in a single plan
  • Join Elimination bug (Mar 2021): inconsistent behaviour when combined with deferrable constraints.
  • Emulating Star transformations (April 2011): Starts with a description of the real thing.
  • Treating indexes as tables (May 2010): non-trivial query rewrites that can do wonders for performance.
  • Group by placement (Dec 2008): “aggregating early” and the place_group_by() hint – introduction
  • Filter Subqueries (Nov 2006): An early (but still relevant) explanation of the random performance impact of Scalar Subquery Caching

A list of articles written for Simpletalk (in order of publication)

Other Authors:

  • OR-expansion (Nigel Bayliss Jan 2020): an example of how new transformations can change plans that had been hinted as completely as possible.

2 Comments »

  1. […] Transformations catalogue […]

    Pingback by Catalog Catalogue | Oracle Scratchpad — January 28, 2022 @ 3:39 pm GMT Jan 28,2022 | Reply

  2. […] to catalogues as I go, so any individual catalogue may grow very slowly. I also have a separate “Transformations” catalogue available from the main […]

    Pingback by Optimizer catalogue | Oracle Scratchpad — October 27, 2022 @ 9:10 am BST Oct 27,2022 | Reply


RSS feed for comments on this post. TrackBack URI

Comments and related questions are welcome.

This site uses Akismet to reduce spam. Learn how your comment data is processed.

Website Powered by WordPress.com.