Trivadis Navigator
Trivadis BlogStart
Leistungsangebot
Kompetenzen
Training
News & PR
Events
Über Trivadis
Login
Join
Sign in
Archives
Archives
Mai 2013
(1)
März 2013
(1)
November 2012
(1)
Oktober 2012
(2)
September 2012
(1)
August 2012
(1)
Juni 2012
(2)
April 2012
(1)
März 2012
(1)
Februar 2012
(1)
Dezember 2011
(3)
November 2011
(1)
Oktober 2011
(2)
September 2011
(2)
Juni 2011
(1)
Mai 2011
(1)
April 2011
(2)
März 2011
(1)
Februar 2011
(1)
Dezember 2010
(1)
November 2010
(2)
Oktober 2010
(5)
September 2010
(4)
August 2010
(4)
Juli 2010
(1)
Juni 2010
(3)
Mai 2010
(6)
April 2010
(4)
März 2010
(1)
Februar 2010
(1)
Januar 2010
(4)
Dezember 2009
(2)
November 2009
(2)
Oktober 2009
(2)
September 2009
(3)
August 2009
(3)
Juli 2009
(3)
Mai 2009
(2)
April 2009
(1)
März 2009
(2)
Februar 2009
(4)
Januar 2009
(2)
Dezember 2008
(3)
November 2008
(4)
Oktober 2008
(4)
September 2008
(7)
August 2008
(3)
Juli 2008
(3)
Juni 2008
(1)
Mai 2008
(1)
Home
»
Striving for Optimal Performance (Christian Antognini)
»
All Tags
»
10gR2
Tags
10gR1
11gR1
11gR2
9iR2
Bug
Direct Path
Documentation
Execution Plan
Indexes
LogMiner
Object Statistics
Parallel Processing
Partitioning
Query Optimizer
SQL Trace
TOP
Tagged Content List
Blog Post:
ITL Deadlocks (script)
Chris Antognini
A reader of this blog, VijayS, asked me to share the script I use to demo ITL deadlocks that I mentioned in this comment. Since other readers might be interested, here is the script. SET TERMOUT ON FEEDBACK ON VERIFY OFF SCAN ON ECHO ON @connect SELECT * FROM v$version WHERE rownum = 1; REM [...]
on
Mi, Mai 1 2013
Blog Post:
Display System Activity without Enterprise Manager
Chris Antognini
I regularly use the system-level activity chart available in Enterprise Manager. In my opinion it is a simple and effective way to know how much a specific database is loaded at a specific time. This is for example an interesting way for observing how a specific load is processed (see this post for an...
on
Mi, Jun 6 2012
Blog Post:
COMMIT_WAIT and COMMIT_LOGGING
Chris Antognini
Recently I used the COMMIT_WAIT and COMMIT_LOGGING parameters for solving (or, better, working around) a problem I faced while optimizing a specific task for one of my customers. Since it was the first time I used them in a production system, I thought to write this post not only to shortly explain the...
on
Do, Apr 5 2012
Blog Post:
Analysing Row Lock Contention with LogMiner
Chris Antognini
Recently I had to analyse a row lock contention problem that can be illustrated by the following test case: A session (let’s call it #1) creates a table and inserts a row into it (note that “n” is the primary key of the table): SQL> CREATE TABLE t (n NUMBER PRIMARY KEY); SQL> VARIABLE n NUMBER...
on
Mo, Mrz 12 2012
Blog Post:
Index Scan with Filter Predicate Based on a Subquery
Chris Antognini
Most execution plans can be interpreted by following few basic rules (in TOP, Chapter 6, I provide such a list of rules). Nevertheless, there are some special cases. One of them is when an index scan, in addition to the access predicate, has a filter predicate applying a subquery. The following execution...
on
Mo, Feb 6 2012
Blog Post:
SQL Trace and Oracle Portal
Chris Antognini
Recently I was involved in a project where I had to trace the database calls of an application based on Oracle Portal 10.1.4. The basic requirements were the following: Tracing takes place in the production environment Tracing has to be enable for a single user only Instrumentation code cannot be added...
on
Di, Nov 29 2011
Blog Post:
optimizer_secure_view_merging and VPD
Chris Antognini
At page 189 of TOP I wrote the following piece of text: In summary, with the initialization parameter optimizer_secure_view_merging set to TRUE, the query optimizer checks whether view merging could lead to security issues. If this is the case, no view merging will be performed, and performance could...
on
So, Sep 11 2011
Blog Post:
ITL Waits – Changes in Recent Releases (script)
status
A reader of this blog, Paresh, asked me how I was able to find out the logic behind ITL waits without having access to Oracle code. My reply was: I wrote a test case that reproduce ITL waits and a piece of code that monitors them. Since other readers might be interested, here is the [...]
on
Mo, Jun 20 2011
Blog Post:
ITL Waits – Changes in Recent Releases
status
In recent releases Oracle has silently changed the behavior of ITL waits. The aim of this post it to describe what has changed and why. But, first of all, let’s review some essential concepts about ITLs and ITL waits. Interested Transaction List The Oracle database engine locks the data modified by...
on
Mi, Apr 13 2011
Blog Post:
Scripts to Download Documentation
status
In this post I pointed out that I like to have a copy of the documentation in PDF format on my notebook. In the same post, and its comments, I also described how I generate the scripts I use to download the files. Recently I updated the scripts and, as a result, I thought to [...]
on
Fr, Apr 1 2011
Blog Post:
IS NULL Conditions and B-tree Indexes
status
At page 383 of my book I wrote the following sentence (BTW, the same information is also provided by Table 9-3 at page 381): With B-tree indexes, IS NULL conditions can be applied only through composite B-tree indexes when several SQL conditions are applied and at least one of them is not based on IS...
on
Do, Feb 17 2011
Blog Post:
Parallel Full Table Scans Do Not Always Perform Direct Reads
status
Even though in general parallel full table scans performs direct reads, some exceptions exist. The aim of this post is to show such an exception. For test purposes I build in my own schema a copy of the SH.SALES table (the one distributed by Oracle with the demo schemas…). On that table I build an ...
on
So, Sep 12 2010
Blog Post:
Partition-Wise Join of List-Partitioned Tables
status
When two tables are equi-partitioned on their join keys, the query optimizer is able to take advantage of partition-wise joins. To make sure that the tables are equi-partitioned, as of Oracle Database 11g reference partitioning can be used. In fact, per definition, with reference partitioning all “related...
on
Mo, Aug 2 2010
Blog Post:
Optimizer Mode Mismatch Does Not Prevent Sharing of Child Cursor!?!?
status
The aim of this post is to describe a strange (buggy) situation that I observed recently. But before doing that, I shortly summarize what a parent cursor and a child cursor are as well as when they can be shared. By the way, I borrowed this description from the pages 20/21 of my book. Hence, [...]
on
Do, Jun 3 2010
Blog Post:
Native Full Outer Join Officially Available in 10.2.0.5
status
Today I installed for the first time the patchset 10.2.0.5. While reading the README file, I noticed the following piece of information. To enable a new native full outer join implementation in the database, a user has to set the following underscore parameter: _optimizer_native_full_outer_join =force...
on
Di, Mai 4 2010
Blog Post:
Bind Variable Peeking: Bane or Boon?
status
Almost one year ago Iggy Fernandez asked me to write a short text for the Ask the Oracles column of the NoCOUG Journal. The topic was “Bind Variable Peeking: Bane or Boon?”. My text along with the ones of Wolfgang Breitling, Dan Tow and Jonathan Lewis were published in the August issue. For some (unknown...
on
Do, Apr 29 2010
Blog Post:
Inserts Experiencing an Increasing CPU Consumption
status
Last week I had to analyze a strange performance problem. Since the cause/solution was somehow surprising, at least for me, I thought to share it with you. Let me start by quickly describing the setup and what was done to reproduce the problem: Database version: Oracle Database 11g Enterprise Edition...
on
Mo, Mrz 8 2010
Blog Post:
Tracing VPD Predicates
status
Even though a number of articles and blog posts have already been written on this topic (e.g. on Pete Finnigan’s site I found references dating back from 2003), from time to time I’m still asked “How to trace predicates generated by VPD?”. Hence, here’s yet another blog post about this topic… Let’s setup...
on
So, Feb 28 2010
Blog Post:
Does the Query Optimizer Cost PX Distribution Methods?
status
The short answer to this question is “yes”, it does. Unfortunately, the distribution costs are not externalized through the execution plans and, as a result, this limitation (yes, it is really a limitation in the current implementation, not a bug) confuses everyone that carefully look at...
on
Di, Jan 26 2010
Blog Post:
Join Elimination
status
In some specific situations the query optimizer is able to completely avoid executing a join even if a SQL statement explicitly calls for it. Two are the cases currently covered by this optimization technique, which is called join elimination. The first one was introduced in Oracle Database 10g Release...
on
Mo, Jan 11 2010
Blog Post:
Does CREATE INDEX Gather Global Statistics?
status
You can add the COMPUTE STATISTICS clause to the CREATE INDEX statement. It instructs the SQL statement to gather and store index statistics in the data dictionary, while creating the index. This is useful because the overhead associated with the gathering of statistics while executing this SQL statement...
on
Do, Dez 17 2009
Blog Post:
Hints for Direct-path Insert Statements
status
Up to Oracle Database 10g Release 2, direct-path inserts are supported only by INSERT INTO … SELECT … statements (including multitable inserts), MERGE statements (for the part inserting data), and applications using the OCI direct-path interface (for example, the SQL*Loader utility). At the statement...
on
Fr, Okt 23 2009
Blog Post:
A-Rows and DML Statements – Part 2
status
In the first post about this topic I wrote: “What I don’t like about the column “A-Rows” (or the underlying columns LAST_OUTPUT_ROWS in the V$ views), is that for the operations modifying a table 0 is shown. By the way, according to the documentation it is not a bug.” What I forgot to mention is [....
on
Mo, Aug 3 2009
Blog Post:
A-Rows and DML Statements
status
Today’s post is dedicated to the Metalink SR identified by the number 6468252.994. I know, this number says noting to you. For me, however, it’s a very well known number. The reason is quite simple… Even if I open this SR almost two years ago (to be precise, September 5, 2007), it was closed few...
on
Fr, Jul 31 2009
Blog Post:
Wrong Information about Temporary Space Usage in V$SQL_PLAN_STATISTICS_ALL and DBMS_XPLAN Output
status
As you can read in the documentation, the columns MAX_TEMPSEG_SIZE and LAST_TEMPSEG_SIZE in the dynamic performance view V$SQL_WORKAREA provide information about the size of the temporary segment used for a specific workarea. The values are given in bytes. Let’s perform a test to check this information…...
on
Di, Mai 5 2009
Page 1 of 2 (30 items)
1
2