Hi,
My requirement is to collect metrics from database/ datawarehouse environment and publish it.
A master table with the below structure will hold the required information:
Metrics Master
==============
Metrics Id
Metrics Name
Query
The query will contain the select query which would be executed dynamically by a procedure and collect the resultant.
The query & the number of columns would vary from metrics to metrics...
Now require help in designing transaction table which would hold the data collected by dynamically executing the query...
Metrics Transaction
====================
Metrics Transaction Id
Metrics ID
Col1_value
Col2_value
:
:
Coln_value
Where 'n' would be the maximum no of columns available in all of the designed metrics
I found that this design is not so good. Does anyone have any better suggestion or any other alternative design to suit
Thanks,
Shantha.
My requirement is to collect metrics from database/ datawarehouse environment and publish it.
A master table with the below structure will hold the required information:
Metrics Master
==============
Metrics Id
Metrics Name
Query
The query will contain the select query which would be executed dynamically by a procedure and collect the resultant.
The query & the number of columns would vary from metrics to metrics...
Now require help in designing transaction table which would hold the data collected by dynamically executing the query...
Metrics Transaction
====================
Metrics Transaction Id
Metrics ID
Col1_value
Col2_value
:
:
Coln_value
Where 'n' would be the maximum no of columns available in all of the designed metrics
I found that this design is not so good. Does anyone have any better suggestion or any other alternative design to suit
Thanks,
Shantha.