Archive for the ‘Oracle’ Category

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

Auto Undo Management in Oracle

Monday, February 25th, 2008

Oracle 9 introduced a new way to manage rollback / undo data – an Undo Tablespace. To utilize Automatic Undo Management, create a tablespace in the database of type UNDO:

(more…)

Redo Log File in Oracle

Monday, February 25th, 2008

The redo log file holds transaction information. Each Commit causes a flush to the log. You have multiple log files defined – one is “active” or “online”, the others are “offline”. Oracle rotates through these files as each gets full. Switching active files has overhead so the suggestion is that each file can hold roughly 30 minutes or transactions.

(more…)