Oracle Table High Water Mark (HWM) Release Methods

1. Overview of the High Water Mark (HWM): The HWM is a point in a data segment that indicates the boundary between used and unused data blocks. When querying table data, all data blocks below the HWM are scanned (including blocks that previously contained data but are now empty).Generally, the HWM only increases and does not decrease. To check ...

Posted on Thu, 05 Nov 2026 16:49:41 +0000 by sayma

Diagnosing and Resolving enq: SV – Contention Caused by Sequence Usage in Oracle RAC

In an Oracle 11.2.0.4 RAC environment, a spike in database sessions—reaching approximately 80—was observed between 08:45 and 08:55 on December 23. The root cause was traced to the SQL statement: SELECT TIMEKEYID.NEXTVAL FROM DUAL; AWR reports from the same hour revealed this query executed over 510,000 times. The associated sequence was define ...

Posted on Mon, 02 Nov 2026 16:31:59 +0000 by papapax

Comprehensive Guide to Python and Oracle Database Interaction

Interacting with an Oracle database using Python is a crucial skill in data processing and automation, primarily achieved through the cx_Oracle library and Oracle Instant Client. This guide provides a detailed walkthrough of setting up a Python 2.7 environment on Windows to connect to an Oracle 11g database, covering essential topics such as en ...

Posted on Sat, 31 Oct 2026 16:51:50 +0000 by hrosas

Using Oracle PIVOT for Cross-Tabulation and ADD_MONTHS for Date Arithmetic

Transforming row-oriented query results into a cross-tabular layout often makes data analysis more intuitive. Oracle’s PIVOT operator provides a concise way to acheive this, while ADD_MONTHS simplifies month‑based date calculations. PIVOT: Row‑to‑Column Transformation Consider a portfolio table that stores investment holdings: SELECT account_id ...

Posted on Sun, 18 Oct 2026 16:19:55 +0000 by allexx_d

Silent Installation of Oracle 19c on CentOS 7.9 - Detailed Guide

Prerequisites Operating System: CentOS 7.9 Memory: 8 GB CPU: 4 cores Disk: 100 GB Download Installation Packages 1. Download Oracle 19c Database Software https://www.oracle.com/database/technologies/oracle-database-software-downloads.html#19c 2. Download Oracle 19c Pre-install RPM http://yum.oracle.com/repo/OracleLinux/OL7/latest/x86_64/getP ...

Posted on Sat, 17 Oct 2026 16:15:26 +0000 by joozt

Managing Oracle Database Data Files: Relocation and Renaming Techniques

Querying Data Files col name format a60 set pagesize 9999 select ts#,file#,name,status from v$datafile d where d.status!='ONLINE' ; select * from v$tablespace; Important Considerations When relocating or renaming data files for SYSTEM, SYSAUX, and UNDO tablespaces, it is highly recommended to perform these operations with the database shut d ...

Posted on Thu, 15 Oct 2026 16:53:21 +0000 by rpupkin77

Exporting Specific Tables Under SYS Schema Using Oracle expdp

When working with Oracle Data Pump (expdp), you may encounter issues exporting specific tables under the SYS schema. Below is a step-by-step example and explanation of why this happens. Creating a Test Table First, create a test table under the SYS schema to demonstrate the problem: D:\app\product\11.1.0\db_1>sqlplus "/as sysdba" ...

Posted on Thu, 01 Oct 2026 16:40:01 +0000 by JohnnyBlaze

Detecting and Analyzing High Water Marks in Oracle Tables

The Concept of High Water Mark In Oracle databases, the High Water Mark (HWM) defines the boundary betwean used and unused space within a segment. Frequent data modifications, specifically repeated insertions followed by deletions, often cause the HWM to rise significantly. While logical rows are removed during deletion, the underlying physical ...

Posted on Tue, 29 Sep 2026 16:36:36 +0000 by cybercrypt13

Changing IP Addresses in Oracle 11g RAC Environments

IP Address Types in Oracle 11g RAC Oracle 11g RAC utilizes several distinct IP address categories: Public IP: Used for normal cluster operations and client connections Virtual IP (VIP): Provides failover capabilities for application connections Single Client Access Name (SCAN) VIP: Allows clients to connect using a single name regardless of cl ...

Posted on Mon, 28 Sep 2026 16:47:44 +0000 by wisewood

RMAN Full Backup Cross-Platform Recovery

SQL*Plus: Release 11.2.0.1.0 Production on Sun Feb 8 18:14:09 2015 Copyright (c) 1982, 2009, Oracle. All rights reserved. Connected to: Oracle Database 11g Enterprise Edition Release 11.2.0.1.0 - 64bit Production With the Partitioning, OLAP, Data Mining and Real Application Testing options SQL> exit Disconnected from Oracle Database 11g Ent ...

Posted on Sat, 26 Sep 2026 16:07:16 +0000 by tallberg