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 


 

 

 


 

 

 

 
 

Oracle Data Mining Sample Views

Data warehouse tips by Burleson Consulting

This is an excerpt from Dr. Ham's premier book "Oracle Data Mining: Mining Gold from your Warehouse".

The current release of ODMr includes sample views describing the purchasing habits of customers in a pilot marketing campaign.  These views are:

  • MINING_DATA_BUILD_V

  • MINING_DATA_TEST_V

  • MINING_DATA_APPLY_V

  • MARKET_BASKET_V

The process of installing these views is outlined in Appendix A. 

In addition, we will be using the example tables in the SH schema of Oracle database to illustrate joining data fields from various tables. 

Let?s take a look at the view MINING_DATA_BUILD_V.  After logging onto ODMr, expand data sources and the corresponding user name, in this case DMUSER

After choosing MINING_DATA_BUILD_V view, the right panel of ODMr shows three tabs:  Structure, Data, and View Lineage

The structure tab depicts all attributes of the view, including primary key (PK), column name (Name), format of the data (Type), size of the field (Size), Scale and whether NULL is allowed.   If any comments were added when the view was created, these will be seen here too. 

The ODM Data Tab

The data tab queries the view and shows data for 100 rows.  Fetch Next brings in an additional 100 rows, and so on for every time you click Fetch Next.  Refresh re-runs the query. 

Only views will have the View Lineage tab, and using this you can see where the data was derived.  

You can see that the MINING_DATA_BUILD_Vview was built using three tables from the SH schema in the Oracle database. 

Exploring Data Detail

Now that we?ve seen how the data was generated in the view, we?ll begin to explore the data in more detail.  Right click MINING_DATA_BUILD_V in the navigator window and select Show Summary Single-Record.  Because each customer is contained on only one row of the data set, we select Single-Record rather than Multi-Record.  

A new window opens up titled Data Summarization viewer.  Note that in this instance the sample count is 999 records.  Keep in mind that you can change the sample count by going to Tools, Preferences, and choosing the Sampling tab.  You might like to try this now, and change the setting to 2000.   Next time you view the Data Summarization viewer, you?ll notice that now the sample count is 1500, which is the entire data set.  If you are reporting the summary statistics shown in the viewer, you?ll sometimes want the entire data set.   If you need to report on the average age of your clientele, you can say that the average age is 38.89 years, ranging from 17 to 90 with a statistical variance of 185.95.


 
For more tips and tricks for Oracle data warehouse analysis, see Dr. Ham's premier book "Oracle Data Mining: Mining Gold from your Warehouse"

You can buy it direct from the publisher for 30%-off:

http://www.rampant-books.com/book_2006_1_oracle_data_mining.htm


 

 

��  
 
 
Oracle Training at Sea
 
 
 
 
oracle dba poster
 

 
Follow us on Twitter 
 
Oracle performance tuning software 
 
Oracle Linux poster
 
 
 

 

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 -  2017

All rights reserved by Burleson

Oracle ® is the registered trademark of Oracle Corporation.

Remote Emergency Support provided by Conversational