In my mind, logfiles should be lean, simple and fast. no thought, just
entry. Write only. Just the facts, ma'am

Once the data goes in, reporting from it is a different matter.
queries, olap apps, and any rolled up or calculated data happen during
a different process.

Thoughts?
Jerry

On 8/23/07, Robert Harrison <[EMAIL PROTECTED]> wrote:
> Create two data tables, one for terms (have an term_ID and search_term
> field) and one for search date/time (have a term_ID and date/time field).
>
> In the terms table check to see if the term is there. If it is get the
> term_ID and update the time table with the term_ID and date. If it is new,
> add the term, return the ID, then update add the date/time and term_id to
> the date table.
>
> Now you have two tables: one with unique terms; another with date/time of
> each search... linked using the term_id as a key. I think this is the most
> flexible way you can do it. Do it this way and you should be able to write
> queries and reports to analyze that data pretty much every way possible.
>
> Is this explanation understandable?

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
ColdFusion is delivering applications solutions at at top companies 
around the world in government.  Find out how and where now
http://www.adobe.com/cfusion/showcase/index.cfm?event=finder&productID=1522&loc=en_us

Archive: 
http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:287004
Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4

Reply via email to