A lot of developers use embedded SQL, or other tools to access their data. If a query is not optimized it can cause problems.
Archive for the ‘Oracle’ Category
Query Access Plan in Oracle
Monday, February 25th, 2008Simplified Memory Management in Oracle
Monday, February 25th, 2008In 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.
Sorts Tuning in Oracle
Monday, February 25th, 2008Oracle 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.
Auto Undo Management in Oracle
Monday, February 25th, 2008Oracle 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:
Redo Log File in Oracle
Monday, February 25th, 2008The 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.
