Call now: 252-767-6166  
Oracle Training Oracle Support Development Oracle Apps

 
 Home
 E-mail Us
 Oracle Articles
New Oracle Articles


 Oracle Training
 Oracle Tips

 Oracle Forum
 Class Catalog


 Remote DBA
 Oracle Tuning
 Emergency 911
 RAC Support
 Apps Support
 Analysis
 Design
 Implementation
 Oracle Support


 SQL Tuning
 Security

 Oracle UNIX
 Oracle Linux
 Monitoring
 Remote s
upport
 Remote plans
 Remote
services
 Application Server

 Applications
 Oracle Forms
 Oracle Portal
 App Upgrades
 SQL Server
 Oracle Concepts
 Software Support

 Remote S
upport  
 Development  

 Implementation


 Consulting Staff
 Consulting Prices
 Help Wanted!

 


 Oracle Posters
 Oracle Books

 Oracle Scripts
 Ion
 Excel-DB  

Don Burleson Blog 


 

 

 


 

 

 
 

Detect Partitioning used and installed

Oracle Database Tips by Donald BurlesonConsulting

June 14, 2016

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!

Oracle training
 
 


  Oracle consulting and training

 

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.


                    









Burleson Consulting

The Oracle of Database Support

Oracle Performance Tuning

Remote DBA Services


 

Copyright © 1996 -  2016

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.


 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster