How To Check If Data File Is Empty Or Not? (Doc ID 1586239.1)

Last updated on DECEMBER 06, 2016

Applies to:

Oracle Database - Enterprise Edition - Version 10.2.0.5 and later
Information in this document applies to any platform.

Goal

How to check if datafile 68 is empty although dba_segments returns 0 rows?

select count(*) from dba_segments where header_file=68;

COUNT(*)
----------
 0

Solution

Sign In with your My Oracle Support account

Don't have a My Oracle Support account? Click to get started

My Oracle Support provides customers with access to over a
Million Knowledge Articles and hundreds of Community platforms