Querying Standard Profitability Model Statistics
After a model is built, it may be useful to determine the number and usage of certain components, such as stages or POVs and their dimensions, assignments, and drivers.
The SQL-based query, modelstats.sql
, enables users to generate specific statistics for their models. These read-only queries can be used to view model characteristics and performance statistics, or to evaluate the impact of changes. The statistics can also be used to diagnose problems with models and performance.
In order to use the new query, you must have existing database views:
-
Stages (HPM_EXP_STAGE)
-
POVs (HPM_EXP_POV)
-
Driver Selections (HPM_EXP_DRIVER_SEL)
-
Assignments (HPM_EXP_ASSIGNMENT)
-
Assignment Rule Selections (HPM_EXP_ASGN_RULE_SELECTION)
Note:
The Drivers view (HPM_EXP_DRIVER) is not used with model statistics.
You must have proper access to the selected database and database views. For information on creating database views, see Appendix B, in the Oracle Hyperion Profitability and Cost Management Administrator's Guide.
After installation, the SQL script, modelstats.sql
, is included in the application folder. The query is database neutral and can be run against MS SQL or Oracle databases. If the model contains errors, they are not reported in the query results, and the existing statistics are still generated.
Oracle recommends that you run the query for any application before you make significant changes and then save the queries and capture the output for comparison with later results. This snapshot provides you with baseline statistics for the application, against which you can compare subsequent changes or view information to evaluate the potential impact of proposed changes. For example, if an assignment rule is used thousands of times, any modification to that rule may have a much larger effect than originally expected.
To run the modelstats.sql
query: