Posts

Showing posts from 2026

Automated Idle Session Termination in Oracle 10g Using PL/SQL

Image
Managing inactive database sessions is a critical responsibility for Database Administrators (DBAs). In Oracle 10g environments, long-idle sessions can consume server resources, hold locks unintentionally, exhaust process limits, and impact overall database performance. Problem Statement Idle sessions accumulate due to application connection leaks, improper connection pool configuration, users closing applications without logging out, or network interruptions. Manual termination is inefficient in production systems. Identifying Idle Sessions Example query to identify idle sessions older than 15 minutes: SELECT sid,        serial#,        username,        trunc(last_call_et/3600,2)||' hr' last_call_et FROM   v$session WHERE  status='INACTIVE' AND    wait_class='Idle' AND    last_call_et > 900 AND    username IS NOT NULL; Sol...

Enabling Transparent Data Encryption (TDE) in Oracle RAC on ODA with Data Guard – The Correct and Secure Approach

Image
Transparent Data Encryption (TDE) is a critical security feature in Oracle Database that protects sensitive data at rest by encrypting datafiles, tablespaces, or specific columns. In modern enterprise environments especially Oracle RAC deployments on Oracle Database Appliance (ODA) with Data Guard TDE implementation must be done carefully to avoid service disruption, Data Guard lag, or wallet inconsistencies. This article walks through the correct, production-safe method to enable TDE with Auto-Login Wallet while ensuring: ·                No exposure of sensitive credentials ·                Consistency across RAC nodes ·                Seamless synchronization with the physical standby   ⚠️ Important: This guide assumes Oracle Database 19c on ODA, RAC Primary, ...