Oracle Partitioned Tables Report

Displays information about all partitioned tables in the database. Useful for identifying partitioned objects and reviewing partitioning strategies across schemas.

oraclesqlstorage-tablespacesv1.0.0
0 stars0 downloads13 views0 comments
By OracleDba • Created

Code

(13 lines)
1
2
3
4
5
6
7
8
9
10
11
12
13
-- -----------------------------------------------------------------------------------
-- File Name    : https://oracle-base.com/dba/monitoring/part_tables.sql
-- Author       : Tim Hall
-- Description  : Displays information about all partitioned tables.
-- Requirements : Access to the DBA views.
-- Call Syntax  : @part_tables
-- Last Modified: 21/12/2004
-- -----------------------------------------------------------------------------------

SELECT owner, table_name, partitioning_type, partition_count
FROM   dba_part_tables
WHERE  owner NOT IN ('SYS', 'SYSTEM')
ORDER BY owner, table_name;

General Comments(0)

Tip: Click on a line number in the code to add a line-specific comment

No general comments yet. Be the first to comment!