José Valerio Oracle Technology

Archive for the ‘Performance’ Category

DBMS_RESOURCE_MANAGER.CALIBRATE_IO – 11g R2

05.30.2010 · Posted in 11g R1, 11g R2, Feature, Performance, RDBMS

This utility was introduced in Oracle 11.1, it is an excellent tool to understand if your actual workload is overloading your disks or file systems. I/O is very important  in an Oracle database so I really recommend to all DBAs the use of this great utility to  know the actual capacity of your hardware. Below ...

Comments Off

RAC LMS processes

05.25.2010 · Posted in Internals, Performance, RAC

Background Processes From 10g and over, Real Application Cluster databases has two new background processes: LMON – The Global Enqueue Service Monitor monitors the entire cluster to manage the global enqueues and the cluster resources. LMON manages instance and process failures and the associated recovery for the Global Cache Service (GCS) and Global Enqueue Service ...

Comments Off

RAC Interconnect Performance

05.19.2010 · Posted in Internals, Performance, RAC

The contention in blocks can be measured by using the block transfer statistic. The first step is to determine block transfer time examining  the gv$sysstat view: global cache cr block receive time global cache cr blocks received. The time is determined by calculating the ratio of global cache cr block receive time to global cache ...

Comments Off

Performance Advantages of using PL/SQL

05.16.2010 · Posted in Performance, Technology, Tip

PL/SQL can often add to program functionality and programmer efficiency, and there are certainly many cases in which a procedural language such as PL/SQL can do things that a nonprocedural language such as SQL cannot. For a number of reasons, a PL/SQL approach might offer great performance improvements over a traditional SQL approach. Why to ...

Comments Off

AWR – Examples of how to get top resources and other information

04.05.2010 · Posted in Performance, RDBMS, Scripts, Tip

Some useful awr queries, change according your needs. Top 10 queries by resource usage across all executions SELECT * FROM   (SELECT   SQL_ID, SUM(disk_reads_delta) AS “Disk Reads” FROM     DBA_HIST_SQLSTAT S WHERE    SNAP_ID > 209 AND SNAP_ID <= 210 AND S.MODULE = ‘ClaimCenter’ GROUP BY SQL_ID HAVING   SUM(disk_reads_delta) >= 0 ORDER BY 2 DESC) DERIVED_TABLE WHERE  ROWNUM ...

Comments Off

Understanding “The Oracle Query Processing”

03.24.2010 · Posted in 10g R1, 10g R2, 11g R1, 11g R2, Performance, RDBMS

The Query Processing category includes the statistics used to calculate the hit ratio for the database. In this post are just explained the most important.  This information is related to the dynamic statistic table v$sysstat. The main purpose of this post is to add basic knowledge when trying to tune queries in oracle database environments ...

Comments Off

GC Waits – Global cache waits

02.16.2010 · Posted in 10g R1, 10g R2, 11g R1, 11g R2, Performance, RAC, Tip

UPDATE 02-JUL-2010 :  Please read my white paper here. The effect of accessing blocks in the global cache and maintaining coherency is represented by “The Global Cache Service” statistics for current and cr blocks, for example, gc current blocks received, gc cr blocks received, and so on Much of these GC waits are blamed on ...

Comments Off

Tracing with trcsess

07.24.2009 · Posted in 10g R1, 10g R2, Performance, RDBMS

Worried about how to trace shared connections?, relax, Oracle provides the trcsess command-line utility that consolidates tracing information based on specific criteria, trcsess is useful for consolidating the tracing of a particular session for performance or debugging purposes. The syntax for the trcsess utility is: trcsess [output=output_file_name] [session=session_Id] [clientid=client_Id] [service=service_name] [action=action_name] [module=module_name] [trace_files] where: output ...

Comments Off

RAC wait events: gc cr request gc current block busy and gc buffer busy

07.08.2009 · Posted in Performance, RAC

Updates Added on Jun 30, 2010: Global Cache Waits  http://jose-valerio.com.ar/blog/?p=790 Added on March 23, 2010: If you have doubts about the “Oracle Query Processing” please take a look to my post http://jose-valerio.com.ar/blog/?p=502 . In this post you will find information about sysstat view to understand what is going on in your database on the fly, ...

Comments Off

Reducing Consistent Reads Response times in RAC

07.08.2009 · Posted in Performance, RAC

How to ? 1. If it is possible, avoid reading uncommitted blocks on the remotes nodes. 2. Increase the number of LMS processes(depends of Oracle version) 3. Minimizing the transactions sizes on the remote node. …more ? ok, tuning the hardware can help you. 4. Try to reduce the interconnect latency 5. Change your disks, ...

Comments Off
Copy Protected by Chetan's WP-CopyProtect.