Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Mike Lewis on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How to troubleshoot a partitioned table 1

Status
Not open for further replies.

rogers42

Technical User
Mar 30, 2007
64
CA
Hi Folks,

Given a "Range" or a "List" partitioned table, how can I find out if the data really ended up in the correct partition ? Put another way, how can I get a dump of a specific partition ?

The solution that I have come up is to

1, create a table with "List" partition
2, populate table with test data to ensure that all partitions are populated
3, Observe any changes in data while truncating one partition at a time

But, is there a more elegant solution ?

Thanks in advance

rogers42
 
I think a simpler solution might be to specify the partition name in a query e.g.

select * from table
partition (xxxxxxx)

You can then see what data is in it.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top