Question: What can
I do to see if I have partitioning used and installed?
Answer: To see if partitioning is
used and installed, you can run these queries:
prompt
-- *******************************************************
-- This script will detect if partitioning is
-- installed and used
-- *******************************************************
col c1 heading 'Partitioning|Installed?' format a20
select
decode(count(*), 0, 'No', 'Yes') c1
from ( select 1
from
dba_part_tables
where owner not in ('SYSMAN', 'SH', 'SYS', 'SYSTEM')
and rownum = 1 );
col c1 heading 'Partitioning|Used' format a20
select
decode(count(*), 0, 'No', 'Yes') c1
from
dba_tables
where
partitioned = 'YES'
and
owner not in ('SYS','SYSTEM','AUDSYS');
set feedback on
prompt
prompt *******************************************************
prompt This script will detect partitioning usage
prompt *******************************************************
col name format A30
col detected_usages format 999,999
select
u1.name,
u1.detected_usages,
u1.currently_used,
u1.version
from
dba_feature_usage_statistics u1
where
u1.version = (
select
MAX(u2.version)
from
dba_feature_usage_statistics u2
where
u2.name = u1.name)
and
u1.detected_usages > 0
and
u1.dbid = (SELECT dbid FROM v$database)
and
lower(u1.name) like '%partitioning%'
and
lower(u1.name) not like '%system%'
group by
u1.name,
u1.detected_usages,
u1.currently_used,
u1.version
order by
name;
|
|
|
Oracle Training from Don Burleson
The best on site
"Oracle
training classes" are just a phone call away! You can get personalized Oracle training by Donald Burleson, right at your shop!

|
|
|

|
|
Burleson is the American Team

Note:
This Oracle
documentation was created as a support and Oracle training reference for use by our
DBA performance tuning consulting professionals.
Feel free to ask questions on our
Oracle forum.
Verify
experience!
Anyone
considering using the services of an Oracle support expert should
independently investigate their credentials and experience, and not rely on
advertisements and self-proclaimed expertise. All legitimate Oracle experts
publish
their Oracle
qualifications.
Errata?
Oracle technology is changing and we
strive to update our BC Oracle support information. If you find an error
or have a suggestion for improving our content, we would appreciate your
feedback. Just
e-mail:
and include the URL for the page.
Copyright © 1996 - 2020
All rights reserved by
Burleson
Oracle ®
is the registered trademark of Oracle Corporation.
|
|