Best practices for optimizing query performance in Oracle databases

Our services

Let's talk
Tags: Banking
Share

Table of contents

In core banking, a slow or unavailable platform is not an IT inconvenience: it means stopped transactions, delayed end-of-day processing and unhappy customers. Many cores, including Oracle FLEXCUBE, run on Oracle WebLogic and Oracle Database with RAC. Monitoring both layers together is how operations teams detect problems before customers do.

What to monitor in WebLogic

  • Server health: state of admin and managed servers, restarts and stuck threads.
  • JVM: heap usage, garbage collection pauses and memory leaks.
  • Thread pools and work managers: queue lengths and hogging threads.
  • JDBC data sources: active connections, waits for connections and connection leaks.
  • Applications: response times and error rates for key screens and services.

What to monitor in Oracle Database and RAC

  • Instance and node health: availability of each RAC node and services.
  • Wait events and sessions: top waits, blocking sessions and long-running queries.
  • Interconnect: global cache waits and interconnect latency between nodes.
  • Storage and redo: tablespace usage, ASM disk groups, redo and archive log generation.
  • Batch windows: duration of end-of-day and beginning-of-day jobs compared with their baseline.

An observability stack with Prometheus and Grafana

A common open approach is to expose WebLogic and Oracle Database metrics through exporters, collect them with Prometheus and build dashboards and alerts in Grafana. This complements Oracle's own tools such as Enterprise Manager and AWR, and gives operations a single view across the application server, database and infrastructure.

  • WebLogic metrics through the WebLogic Monitoring Exporter.
  • Oracle Database metrics through an Oracle DB exporter with custom queries for banking KPIs.
  • Infrastructure metrics from hosts, containers or OCI.
  • Dashboards by audience: operations, DBAs and business owners of the core.

Alerts that matter

Too many alerts are as bad as none. Focus on alerts tied to customer impact and batch risk: stuck threads, JDBC pool exhaustion, RAC node evictions, blocking sessions, tablespaces close to full and batch jobs running beyond their normal window. Each alert should have an owner and a runbook.

From monitoring to improvement

Monitoring data feeds performance tuning and safer releases. Compare metrics before and after each deployment, track batch duration trends and use the evidence to prioritize SQL tuning, partitioning or archiving. See FLEXCUBE query performance and DevOps for Oracle FLEXCUBE.

How Rootstack helps

Rootstack's specialists design and operate monitoring for core banking platforms on WebLogic and Oracle RAC, including dashboards, alerts and runbooks. Learn more about our Oracle FLEXCUBE core banking services.

FAQ

Does Prometheus replace Oracle Enterprise Manager?

Not necessarily. Many teams use both: Oracle's tools for deep diagnostics and Prometheus and Grafana for a unified, cross-layer view and alerting.

What is the most important metric for core banking?

There is no single one, but batch duration against its baseline and JDBC connection waits are early signs of most problems.

Can this run on OCI?

Yes. The same approach works on premises, on Oracle Cloud Infrastructure or in hybrid setups.