Statistics Gathering / Stats Collection -- Generic Solution

Database

Statistics Gathering / Stats Collection -- Generic Solution

Hello,

I've been looking at a generic way of controling stats gathering.

Something along the lines of a table that holds all the stats we want to gather:

     TABLE_NAME     :     GATHER_TYPE     :     COLUMN/INDEX NAME(S)     :     FREQUENCY

Followed by a script that translates the rows in COLLECT statements.

This seems like something that will already have been solved.  I did a few google searches by perhaps I'm using the wrong terminology.

Does anyone know of any existing solutions to this?

Thanks :)