Several Tables or 1 Table ?

G

Gwen

Hello Everyone,

I need to store data for these fields.
phrase
search
results
date

phrase searches results date
thing 100 1000 jan 1, 2005
some thing 20 250 jan 1, 2005
other thing 17 289 jan 1, 2005
another thing 1000 1000 jan 1, 2005

I need to calculate % change on the phrase searches and results on each data
set.
The data set will ran on a daily, weekly or monthly basis.

My idea is to store the data in a separate tables by date.

Do you think this is the best table design?

Thanks

Gwen
 
R

rolaaus

If you are storing each individual search for an item, then you don't need to
store the summary information at all, unless the summary data is being
queried so often that it will degrade the performance of the db, otherwise
just setup some total queries and total them by week, month, etc.
 
R

rolaaus

If you are storing each individual search for an item, then you don't need to
store the summary information at all, unless the summary data is being
queried so often that it will degrade the performance of the db, otherwise
just setup some total queries and total them by week, month, etc.
 
G

Gwen

Thanks
rolaaus said:
If you are storing each individual search for an item, then you don't need
to
store the summary information at all, unless the summary data is being
queried so often that it will degrade the performance of the db, otherwise
just setup some total queries and total them by week, month, etc.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top