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
»
11gR1
Tags
10gR1
10gR2
11gR2
9iR2
Bug
Direct Path
Documentation
Exadata
Execution Plan
Indexes
Java
LogMiner
Object Statistics
Parallel Processing
Partitioning
Query Optimizer
Speaking
SQL Trace
System Statistics
TKPROF
TOP
TVD$XTAT
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:
Event 10046 – Full List of Levels
Chris Antognini
Extended SQL trace (a.k.a. debugging event 10046 at a level higher than 1) is one of the key features provided by Oracle to troubleshoot applications using Oracle Database. For many years the available levels were always the same (4, 8 and 12). In fact, since I wrote my first paper about it in May 2000...
on
Fr, Aug 10 2012
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:
Challenges and Chances of the 11g Query Optimizer
Chris Antognini
Challenges and Chances of the 11g Query Optimizer is the name of a presentation I gave at several events (e.g. Trivadis Performance Days, Oracle OpenWorld, DOAG Konferenz, UKOUG Conference) throughout 2011. Its abstract is the following: With every new release, the query optimizer is enhanced. Oracle...
on
Mo, Dez 12 2011
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:
Debugging PL/SQL and Java Stored Procedures with JPDA
Chris Antognini
In 2003 I published a paper entitled Debugging PL/SQL and Java Stored Procedures with JPDA. Its aim was to describe how to debug PL/SQL and Java code deployed into the database with JDeveloper 9i. Two weeks ago a reader of my blog, Pradip Kumar Pathy, contacted me because he tried, without success, to...
on
Mi, Okt 19 2011
Blog Post:
Ad: Der Oracle DBA – Handbuch für die Administration der Oracle Database 11gR2
Chris Antognini
The book Der Oracle DBA (Hanser, 2011), which was written in German, is at last available! I say “at last” because the authors worked on this project for not less than two years. Who are the authors? Several colleagues of mine at Trivadis (Mirko Hotzy, Konrad Häfeli, Daniel Steiger, Sven Vetter, Peter...
on
Fr, Okt 14 2011
Blog Post:
Impact of STATISTICS_LEVEL on Cardinality Feedback and Adaptive Cursor Sharing
Chris Antognini
The STATISTICS_LEVEL parameter controls a bunch of features. In addition to the documentation, also the V$STATISTICS_LEVEL view provides a list of the ones it controls. SQL> SELECT statistics_name, description, activation_level 2 FROM v$statistics_level 3 ORDER BY 3 DESC, 1; STATISTICS_NAME [...
on
Mo, Sep 19 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:
TKPROF New Features in 11gR2 – Release 11.2.0.1
status
While writing a post about the TKPROF new features in 11.2.0.2 I noticed that I didn’t write one about an important change introduced in 11.2.0.1. So, before finishing the other one, let’s have a look to what changed in 11.2.0.1. One problem with TKPROF up to 11gR1 is that when the AGGREGATE parameter...
on
Di, Okt 12 2010
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:
Evolution of a SQL Plan Baseline Based on a DELETE Statement
status
During an evolution the database engine compares the performance of two execution plans. The aim is to find out which one provides the better performance. For that purpose it has to run the SQL statement on which the SQL plan baseline is based and compare some execution statistics. The following output...
on
Mo, Jun 7 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:
Exadata Storage Server and the Query Optimizer – Part 3
status
In the first and second post of this series I shared with you some basics about smart scan and gave some details about projection and restriction. The aim of this post is to cover the third basic technique: join filtering. Join filtering is not something specific to the Exadata Storage Server. In fact...
on
Mi, Mai 5 2010
Blog Post:
Exadata Storage Server and the Query Optimizer – Part 2
status
In the first post of this series I shared with you some basics about smart scan and gave some details about projection. The aim of this post is to cover the second basic technique: restriction. Simply put, the aim of this technique is to offload to a cell the processing of predicates found in the [....
on
Mo, Mai 3 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:
Exadata Storage Server and the Query Optimizer – Part 1
status
Even though the utilization of an Exadata Storage Server should be transparent for the query optimizer, when you look at execution plans generated in an environment using it you might notice slight differences. The purpose of this series of post is to summarize the differences I was able to observe....
on
Mi, Apr 28 2010
Page 1 of 3 (51 items)
1
2
3