Archive for February, 2008

Results Cache in Oracle

Monday, February 25th, 2008

Oracle 11g has a new hint telling data to persist in cache for x number of minutes. The syntax is:

(more…)

Database Object Fragmentation in Oracle

Monday, February 25th, 2008

If a table or index becomes fragmented (not continuous on disk) performance can decrease. You can see which objects have over 10 extents with:

(more…)

Query Access Plan in Oracle

Monday, February 25th, 2008

A lot of developers use embedded SQL, or other tools to access their data. If a query is not optimized it can cause problems.

(more…)

Simplified Memory Management in Oracle

Monday, February 25th, 2008

In Oracle 11g we have the memory_max_target parameter which governs the total maximum RAM for both the PGA and SGA regions and the new memory_target parameter which governs the existing sizes. This allows RAM to be de-allocated from the SGA and transferred to the PGA.

(more…)

Sorts Tuning in Oracle

Monday, February 25th, 2008

Oracle will do sorting when executing queries that use ORDER BY, GROUP BY, when a Index is created, and when MERGE SORT is invoked by the SQL optimizer.

(more…)