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.