Home » RDBMS Server » Server Administration » To check tables located in which datafiles (10.2.0.4.0 HP-UX)
To check tables located in which datafiles [message #469873] Fri, 06 August 2010 03:43 Go to next message
*Jess*
Messages: 48
Registered: December 2005
Location: Penang, Malaysia
Member

Hi all, would want to check which tables located in which datafiles.

Tried with this command:
select B.FILE_NAME from dba_segments a, dba_data_files b
where a.header_file=b.file_ID and segment_name='TABLE_NAME'

Seems like it only shows 1 datafile. Some tables are large and i suppose it's resided in more than 1 datafile.

Pls help. Thanks!
Re: To check tables located in which datafiles [message #469876 is a reply to message #469873] Fri, 06 August 2010 03:54 Go to previous message
Michel Cadot
Messages: 68718
Registered: March 2007
Location: Saint-Maur, France, https...
Senior Member
Account Moderator
Query DBA_EXTENTS instead.

Regards
Michel
Previous Topic: how to delete files in incident folder?
Next Topic: Why archive should be turned ON before turning on flashback (2 threads merged by bb)
Goto Forum:
  


Current Time: Sun Dec 01 13:22:27 CST 2024