Viewing entries in
2013

Comment

2013-05 – SQL Access Advisor

SQL Access Advisor allows DBAs and developers to analyze individual SQL statements, SQL tuning sets or the entire system and recommend materialize views, partitioning and indexes on tables. There are two interfaces of SQL Access Advisor: Oracle Enterprise Manager and DBMS_ADVISOR package. The Oracle Enterprise Manager interface is easy and user-friendly, but DBMS_ADVISOR package provides the same recommendations from SQL*Plus, which is useful in environments that do not have OEM installed. SQL Access Advisor is a part of the Oracle Tuning Pack, which also requires the Diagnostic Pack.

Comment

Comment

2013-04 – Bit-Flipping SQL

A customer had an interesting problem recently involving selective bit-flipping. The real scenario was a bit more complicated, but it came down to the following scenario: the client has a large number of members. Each member visits multiple times. They want to switch the value between X2 and NULL every time a ‘true’ event occurs.

Comment

Comment

2013-03 – Result Cache Feature

A great feature introduced in the Oracle 11g database is the SQL query ‘Result Cache’. A result cache is an area of memory that stores the results of a database query or query block for reuse. The cached rows are shared across SQL statements and sessions unless they become stale. The caching mechanism is efficient and easy to use, and it relieves you of designing and developing your own legacy cache procedures and cache-management policies.

Comment

Comment

2013-02 – Using DBMS_PROFILER

This package enables the collection of data for performance improvement or for determining code coverage for PL/SQL applications. Application developers can use code coverage data to focus their incremental testing efforts. This blog provides DBAs, developers, support analysts, and consultants with PL/SQL tuning hints and tips using profiling.

Comment