Posts Tagged ‘Performance Tips’

Rollback Segment Size in Oracle

Monday, February 25th, 2008

Rollback segment size refers to needing an accurate minimum number of bytes required by the rollback segment for any single given transaction or for the most important of these. There are differences between the kind of transactions (INSERTS,UPDATES and DELETES). For example the INSERTS generates less UNDO than deleting records because while rolling back an insert only requires deleting the row, rolling back a delete requires reinserting that row. It would take less bytes to store a rowid than to store information to reconstruct the actual row itself.

(more…)

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…)