David Holmberg Posted December 20, 2004 Posted December 20, 2004 What's the best way of producing stats of my data Data: 10000 records changing daily 10 different users Important to get immediate update of the stats 1. Statistic summary field in db1 - showing on layout with db2 through user relationship 2. Calculation in db2 - sum(db1::time)
David Holmberg Posted December 22, 2004 Author Posted December 22, 2004 I'll try to answer the question myself then... I'm almost sure that the sum(relationship::field) is the best one, but it's a bit slow, are there a better one? Could a sum field made in DB1 and shown in DB2 be faster?
-Queue- Posted December 22, 2004 Posted December 22, 2004 Unless you script the update to set a static related field with the Sum result whenever a time field is changed, Sum(rel::field) is your best option.
Recommended Posts
This topic is 7345 days old. Please don't post here. Open a new topic instead.
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now