Rule application - Overview
Does customer belong to a clique? If yes, switch to it
Does the customer clique satisfy all pre-query rules? (e.g., Session_Start, Stat_Only, Queries_Per_session)
Do the columns and tables belong to a segment?
Does the query satisfy all pre-query rules? (e.g., valid segments)
Does query need re-phrasing or augmentation? (e.g., Stat_Only to detailed Select)
Send Query to appropriate Database (or mediator)
Does query result satisfy all post-query rules? (e.g. Min_Rows_Retrieved, Secure_Keyword_Clique)
Apply any result transformation rules (e.g. random falsification of data, aggregation)
Update log and internal statistics
Gio Wiederhold TIHI Oct96 *