Quantcast
Channel: Oracle – Oracle Diagnostician
Browsing latest articles
Browse All 19 View Live

Image may be NSFW.
Clik here to view.

Global Hints

Occasionally I encounter a situation when I need to affect a part of the plan that corresponds to a view, e.g.: select * from ( select v.x, x.y from v ) q where q.x = 1 Such situations are resolved...

View Article


Image may be NSFW.
Clik here to view.

Read consistency overhead

SQL performance can degrade for many reasons, some of most common are: - plan changes - data skewness - low caching efficiency - data growth - contention. All these factors are relatively well known. A...

View Article


Image may be NSFW.
Clik here to view.

Querying trace files

SQL trace file provide the highest level of detail possible about SQL execution. The problem with that information is converting it to a convenient format for further analysis. One very good solution...

View Article

Image may be NSFW.
Clik here to view.

Piggyback commits

Not every commit results in a redo write. This is because there are multiple optimizations (some controlled by the user e.g. with COMMIT_LOGGING parameter, some automatic) that aim at reducing the...

View Article

Image may be NSFW.
Clik here to view.

CPU-starved LGWR

In my recent post I showed how log file sync (LFS) and log file parallel write (LFPW) look for normal systems. I think it would also be interesting to compare that to the situation when LGWR does not...

View Article


Image may be NSFW.
Clik here to view.

Lies, damned lies and non production-like performance testing

Chasing cost efficiency, business often cuts back on money spent on UAT boxes used for performance testing. More often than not, this is a bad-decision, because the only thing worse than not having a...

View Article

Image may be NSFW.
Clik here to view.

Log buffer space

Introduction Log buffer space is a simple, yet frequently misunderstood wait event. The main reason for that is probably its name. It sounds as if it points immediately to the answer: if space in the...

View Article

Image may be NSFW.
Clik here to view.

Nested loop internals

Nested loop join appears like the simplest thing there could be — you go through one table, and as you go, per each row found you probe the second table to see if you find any matching rows. But thanks...

View Article


Image may be NSFW.
Clik here to view.

Query tuning by waste minimization: a real-life example

Today I’d like to share another tuning example from a recent case at work, which in my opinion is good for illustrating typical steps involved in SQL optimization process. I was handed a poorly...

View Article


Image may be NSFW.
Clik here to view.

Business rules, common sense and query performance

Very often, significant performance benefits can be obtained by using some very basic knowledge of the application, its data and business rules. Sometimes even less than that: even if you are not...

View Article
Browsing latest articles
Browse All 19 View Live